Home
%3CLINGO-SUB%20id%3D%22lingo-sub-465096%22%20slang%3D%22en-US%22%3ESAP%20NetWeaver%20Licensing%20Mechanism%20in%20Microsoft%20Azure%20Cloud%20-%20Part%201%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-465096%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20an%20SAP%20administrator%2C%20you%20surely%20faced%20situations%20where%20suddenly%20a%20valid%20SAP%20license%20becomes%20invalid%20for%20no%20obvious%20reason.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EFor%20an%20SAP%20ABAP%20system%2C%20the%20system%20will%20automatically%20generate%20a%20temporary%2028%20days%20license%20and%20users%20will%20get%20a%20popup%20that%20the%20license%20is%20expiring%20in%2028%20days.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20432px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109268i94AA035B05491EE8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22License%20expiration.png%22%20title%3D%22License%20expiration.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20case%20of%20an%20SAP%20Java%20system%2C%20the%20system%20will%20shut%20down%20after%2030%20minutes!%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3ESuch%20issues%20are%20not%20pleasant%20for%20SAP%20users%20or%20administrators.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThey%20can%20become%20even%20more%20frequent%20in%20an%20Azure%20cloud%20environment%2C%20due%20to%20the%20ability%20to%20dynamically%20provision%20a%20new%20computer%20infrastructure%20on%20demand.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20increase%20the%20stability%20of%20the%20SAP%20license%20mechanism%2C%20SAP%20updated%20the%20licensing%20mechanism%20with%20the%20Azure%20cloud%20specific%20functionality.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EIn%20this%20blog%2C%20we%E2%80%99ll%20explain%20what%20is%20new%20in%20the%20SAP%20licensing%20mechanism%20for%20Azure%20and%20how%20it%20is%20different%20to%20the%20on-premises%20environment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3ERole%20of%20an%20SAP%20Hardware%20(HW)%20Key%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEvery%20SAP%20NetWeaver%20ABAP%20or%20Java%20system%20needs%20a%20valid%20SAP%20license.%20Customers%20will%20generate%20an%20SAP%20license%20on%20SAP%20Service%20Marketplace%2C%20by%20providing%20different%20input%20values%20like%20the%20SAP%20product%20name%2C%20SAP%20SID%2C%20DBMS%20and%20last%20but%20%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Enot%20least%2C%20an%20%3CSTRONG%3ESAP%20Hardware%20(HW)%20key%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20872px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109269iDA1F022B945E5822%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SAP%20SWMP%20Create%20New%20License%201.png%22%20title%3D%22SAP%20SWMP%20Create%20New%20License%201.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20864px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109270iF94A258C613C46D4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SAP%20SWMP%20Create%20New%20License%202.png%22%20title%3D%22SAP%20SWMP%20Create%20New%20License%202.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAn%20SAP%20hardware%20key%20is%20generated%20on%20an%20operating%20system%20host%20where%20SAP%20%3CSTRONG%3Emessage%20server%20process%20%3C%2FSTRONG%3Eis%20running.%20%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20SAP%20HW%20key%20by%20running%20command%20line%20program%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3Esaplicense%20-get%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20an%20%3CSTRONG%3ESAP%20ABAP%3C%2FSTRONG%3E-based%20system%2C%20SAP%20message%20server%20is%20part%20of%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ESAP%20ASCS%3C%2FSTRONG%3E%20instance%20(ABAP%20Central%20Services)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ESAP%20DVEB%3CU%3EM%3C%2FU%3EGS%20instance%20(%3C%2FSTRONG%3Eso-called%20central%20instance)%3CBR%20%2F%3EAs%20newer%20SAP%20installations%20do%20not%20install%20the%20DVEBMGS%20instance%20anymore%2C%20there%20is%20a%20small%20chance%20that%20you%20will%20run%20into%20this%20kind%20of%20setup.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20%3CSTRONG%3ESAP%20Java%3C%2FSTRONG%3E%20based%20systems%2C%20the%20SAP%20message%20server%20is%20part%20of%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ESAP%20SCS%20instance%3C%2FSTRONG%3E%20(Java%20Central%20Services)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3ESAP%20Hardware%20Key%20Input%20Parameters%20in%20an%20On-Premises%20Environment%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20%3CSTRONG%3Ephysical%3C%2FSTRONG%3E%20and%20%3CSTRONG%3Evirtual%3C%2FSTRONG%3E%20environments%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%2C%20the%20SAP%20hardware%20key%20is%20using%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%20the%20following%20input%20parameters%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EOn%20Windows%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EWindows%20Computer%20SID%3C%2FSTRONG%3E%3CSTRONG%3E%20(Secure%20ID)%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3E(%3CSTRONG%3Elocal%3C%2FSTRONG%3E)%20%3CSTRONG%3Ehostname%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EOn%20Linux%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EThe%20MAC%20address%20of%20the%20first%20valid%20network%20card%20%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EIt%20is%20important%20to%20mention%20that%20%3CSTRONG%3Eany%20change%20of%20HW%20key%20input%20parameters%20will%20cause%20an%20existing%20valid%20SAP%20license%20to%20become%20invalid%3C%2FSTRONG%3E.%20%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20example%2C%20a%20valid%20license%20will%20become%20invalid%20if%20you%20change%20Windows%20local%20host%20name%2C%20or%20you%20do%20a%20sysprep%20(which%20will%20generate%20new%20Windows%20computer%20SID)%20where%20your%20SAP%20ASCS%2FSCS%20instance%20is%20running.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESimilarly%2C%20the%20same%20will%20happen%20on%20Linux%20if%20you%20exchange%20the%20network%20card%2C%20or%20you%20change%20the%20order%20of%20multiple%20network%20cards.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3ESAP%20Hardware%20Key%20Input%20Parameters%20in%20an%20Azure%20Cloud%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20the%20SAP%20systems%20in%20Azure%2C%20input%20parameters%20used%20for%20calculation%20of%20the%20hardware%20key%20is%20changed%20in%20the%20following%20way%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EOn%20Windows%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWindows%20Computer%20SID%3C%2FLI%3E%0A%3CLI%3E(local)%20hostname%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EAzure%20VM%20Unique%20ID%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EOn%20Linux%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EAzure%20VM%20Unique%20ID%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOn%20Windows%2C%20we%20got%20a%20new%20input%20parameter%20(%3CSTRONG%3EAzure%20VM%20Unique%20ID%3C%2FSTRONG%3E)%2C%20in%20addition%20to%20two%20existing%20ones%20e.g.%20%3CSTRONG%3EWindows%20Computer%20SID%3C%2FSTRONG%3E%20and%20%3CSTRONG%3Ehostname%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20Linux%2C%20the%20%3CSTRONG%3Efirst%20valid%20NIC%20MAC%20address%3C%2FSTRONG%3E%20is%20replaced%20with%20%3CSTRONG%3EAzure%20VM%20Unique%20ID%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20change%20is%20introduced%20in%20the%20following%20SAP%20kernel%20versions%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20%3CSTRONG%3EWindows%3C%2FSTRONG%3E%20starting%20with%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESAP%20kernel%207.21%20PL%20%23332%20or%20higher%3C%2FLI%3E%0A%3CLI%3ESAP%20kernel%207.38%20PL%20%2372%20or%20higher%3C%2FLI%3E%0A%3CLI%3ESAP%20kernel%207.41%20PL%20%23210%26nbsp%3Bor%20higher%3C%2FLI%3E%0A%3CLI%3ESAP%20kernel%207.42%20PL%20%2331%20or%20higher%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20%3CSTRONG%3ELinux%3C%2FSTRONG%3E%20starting%20with%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20style%3D%22font-weight%3A%20400%3B%22%3ESAP%20kernel%207.21%20EXT%20PL%20%23622%20or%20higher%3C%2FLI%3E%0A%3CLI%20style%3D%22font-weight%3A%20400%3B%22%3ESAP%20kernel%207.22%20EXT%20PL%20%23112%20or%20higher%3C%2FLI%3E%0A%3CLI%20style%3D%22font-weight%3A%20400%3B%22%3ESAP%20kernel%207.42%20PL%20%23324%20or%20higher%3C%2FLI%3E%0A%3CLI%20style%3D%22font-weight%3A%20400%3B%22%3ESAP%20kernel%207.45%20PL%20%23111%20or%20higher%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EAzure%20VM%20Unique%20ID%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20VM%20Unique%20ID%20is%20a%20128bits%20identifier%20that%20is%20encoded%20and%20stored%20in%20all%20Azure%20IaaS%20VM%E2%80%99%20SMBIOS%20and%20can%20be%20read%20using%20platform%20BIOS%20commands.%20It%20can%20also%20be%20read%20%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eusing%20Azure%20PowerShell%20or%20Azure%20CLI.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECheck%20the%20blog%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Faccessing-and-using-azure-vm-unique-id%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAccessing%20and%20Using%20Azure%20VM%20Unique%20ID.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEvery%20newly%20%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecreated%20VM%20will%20have%20unique%20Azure%20VM%20ID.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20act%20of%20recreating%20an%20existing%20VM%20means%20deleting%20act%20of%20recreate%20of%20an%20existing%20VM%2C%20which%20means%20you%20delete%20the%20definition%20of%20an%20existing%20VM%20(without%20disk%20deletion)%2C%20and%20create%20it%20again%20using%20%3CSTRONG%3Eexisting%3C%2FSTRONG%3E%20disk%2C%20will%20generate%20a%20new%20Azure%20VM%20Unique%20ID.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20VM%20recreate%2C%20everything%20except%20the%20Azure%20VM%20Unique%20ID%20will%20stay%20the%20same%20on%20OS%20level%20-%20hostname%2C%20all%20OS%20settings%2C%20parameters%2C%20etc.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20Unique%20VM%20ID%20won%20%E2%80%99t%20change%20in%20case%20of%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EVM%20Reboot%3C%2FLI%3E%0A%3CLI%3EVM%20shutdown%20(either%20planned%20or%20unplanned)%2C%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EVM%20start%2Fstop%20de-allocate%2C%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EVM%20service%20healing%20or%20restore%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3ERedeploy%20(move%20VM%20to%20another%20Azure%20host)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EGetting%20input%20parameters%20for%20SAP%20HW%20Key%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20get%20the%20details%20on%20exact%20input%20parameters%20for%20SAP%20%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EHW%20key%20calculation%2C%20by%20running%20%3CSTRONG%3Esaplicense%3C%2FSTRONG%3E%20command%20tool%20with%20TRACE%3D2%20option%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3Esaplicense%20%E2%80%93get%20TRACE%3D2%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20new%20file%20%3CSTRONG%3Edev_slic%3C%2FSTRONG%3E%20will%20be%20created.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EInside%20of%20this%20file%2C%20you%20will%20get%20detailed%20information%20of%20the%20%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Einput%20parameters%20as%20well%20as%20generated%20HW%20key.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20%3CSTRONG%3EWindows%3C%2FSTRONG%3E%2C%20you%20will%20see%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%E2%80%A6..%0ASlicGetHwId%3A%20VM%20Instance%20ID%3A%208ac7ebca-0a2a-ee42-b84d-2f54f4d3ecde%0ASlicGetHwId%3A%20ID%20%26gt%3B%3CSTRONG%3ES-21-1940833746--186857679-1893085103-gor-sap1-8ac7ebca-0a2a-ee42-b84d-2f54f4d3ecde%3C%2FSTRONG%3E%26lt%3B%0ASlicGetHwId%3A%20CUSTOMER%20KEY%3A%20%26gt%3BT1746343904%26lt%3B%0A%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%E2%80%99ll%20notice%20that%20you%20have%203%20input%20parameters%20on%20Windows.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109273iE22731818ED09D10%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SAP%20LiKey%20Input%20Parameters%20Windows.png%22%20title%3D%22SAP%20LiKey%20Input%20Parameters%20Windows.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EOn%20%3CSTRONG%3ELinux%3C%2FSTRONG%3E%2C%20you%20will%20see%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3ESlicGetFullHwId%3A%20hwid%20'AZURE_3B924F79-3F43-5744-AFFD-70A9EDFFBCDC'%20found%0ASlicGetHwId%3A%20ID%20%26gt%3BAZURE_%3CSTRONG%3E3B924F79-3F43-5744-AFFD-70A9EDFFBCDC%3C%2FSTRONG%3E%26lt%3B%0ASlicGetHwId%3A%20CUSTOMER%20KEY%3A%20%26gt%3BY0348768522%26lt%3B%0A%3C%2FPRE%3E%0A%3CP%3E%3CBR%20%2F%3Ee.g.%20only%20one%20input%20parameter%20is%20used%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20694px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109274iC474659FADD4BD69%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SAP%20LiKey%20Input%20Parameters%20Linux.png%22%20title%3D%22SAP%20LiKey%20Input%20Parameters%20Linux.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20use%20also%20Azure%20PowerShell%20to%20get%20Azure%20Unique%20VM%20ID%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CPRE%3E(Get-AzureRmVM%20-ResourceGroupName%20%26lt%3BResourceGroup%26gt%3B%20-Name%20%26lt%3BVMName%26gt%3B).VmId%3C%2FPRE%3E%0A%3CP%3E%3CBR%20%2F%3EThe%20Azure%20VM%20ID%20from%20PowerShell%20looks%20a%20bit%20different%20from%20the%20one%20we%20got%20from%20dev_slic%20%2C%20for%20example%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E8ac7ebca-0a2a-ee42-b84d-2f54f4d3ecde%20-is%20the%20an%20example%20from%20dev_slic%20file%3C%2FLI%3E%0A%3CLI%3Ecaebc78a-2a0a-42ee-b84d-2f54f4d3ecde%20-%20is%20what%20you%20get%20from%20PowerShell%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThis%20is%20the%20same%20Azure%20VM%20ID%20number%2C%20only%20the%20formatting%20is%20different%20-%20the%20first%203%20sets%20are%20a%20bit%20rotated%2C%20and%20the%20last%202%20sets%20are%20the%20same.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20second%20part%20of%20this%20blog%2C%20we%E2%80%99ll%20cover%20some%20typical%20Azure%20scenarios%20where%20you%20can%20run%20into%20invalid%20SAP%20licenses.%20We%E2%80%99ll%20show%20you%20the%20way%20how%20to%20troubleshoot%20the%20SAP%20licensing%20issues%2C%20and%20proactively%20prevent%20them.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EUseful%20SAP%20Notes%20%26amp%3B%20Blogs%3CSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Flaunchpad.support.sap.com%2F%23%2Fnotes%2F2243692%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E2243692%20-%20Linux%20on%20Microsoft%20Azure%20(IaaS)%20VM%3A%20SAP%20license%20issues%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Flaunchpad.support.sap.com%2F%23%2Fnotes%2F2035875%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E2035875%20-%20Windows%20on%20Microsoft%20Azure%3A%20Adaption%20of%20your%20SAP%20License%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Flaunchpad.support.sap.com%2F%23%2Fnotes%2F2327159%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E2327159%20-%20SAP%20NetWeaver%20License%20Behavior%20in%20Virtual%20and%20Cloud%20Environments%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Flaunchpad.support.sap.com%2F%23%2Fnotes%2F174911%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E174911%26nbsp%3B%26nbsp%3B%20-%20Determining%20the%20hardware%20key%20(customer%20key)%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Flaunchpad.support.sap.com%2F%23%2Fnotes%2F1619879%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E1619879%20-%20licensing%20of%20HA%2FDR%2Fcluster%20-%26gt%3B%20invalid%20license%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Faccessing-and-using-azure-vm-unique-id%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Faccessing-and-using-azure-vm-unique-id%2F%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FhAfsnqakG0w%253Ffeature%253Doembed%26amp%3Burl%3Dhttp%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DhAfsnqakG0w%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FhAfsnqakG0w%252Fhqdefault.jpg%26amp%3Bkey%3Dfad07bfa4bd747d3bdea27e17b533c0e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22200%22%20height%3D%22112%22%20scrolling%3D%22no%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%20title%3D%22Video%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-465096%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2010.5pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Arial'%2Csans-serif%3B%20background%3A%20white%3B%22%3EAs%20an%20SAP%20administrator%2C%20you%20surely%20faced%20situations%20where%20suddenly%20a%20valid%20SAP%20license%20becomes%20invalid%20for%20no%20obvious%20reason.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2010.5pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Arial'%2Csans-serif%3B%20background%3A%20white%3B%22%3EIn%20this%20series%20of%20blogs%2C%20we%E2%80%99ll%20explain%20SAP%20licensing%20mechanism%20in%20on-premises%20environment%20%2C%20what%20is%20new%20in%20the%20SAP%20licensing%20mechanism%20for%20Azure%20and%20how%20it%20is%20different%20to%20the%20on-premises%20environment%2C%20typical%20scenarios%20in%20Azure%20that%20would%20lead%20you%20to%20invalid%20SAP%20license%2C%20and%20way%20how%20to%20troubleshoot%20them%20and%20actively%20prevent%20.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-615399%22%20slang%3D%22en-US%22%3ERe%3A%20SAP%20NetWeaver%20Licensing%20Mechanism%20in%20Microsoft%20Azure%20Cloud%20-%20Part%201%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-615399%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Goran%2C%20I%20am%20new%20to%20SAP%20we%20have%20a%20NetWeaver%20WIndows%20setup%2C%20but%20our%20DB%20is%20SLES%2C%20which%20server%20do%20I%20need%20to%20run%20the%20command%20you%20mentioned%20above%2C%20as%20we%20have%20a%20license%20expiry%20problem%20and%20think%20it%20maybe%20related%20to%20the%20Azure%20UUID%20not%20matching%20the%20SAP%20HW%20key%20when%20first%20generated%20so%20would%20like%20to%20check%20using%20the%20command%20you%20mentioned%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3Esaplicense%20%E2%80%93get%20TRACE%3D2%3C%2FPRE%3E%3CP%3EHow%20and%20were%20do%20I%20enter%20this%20command%2C%20I%20can%20SSH%20into%20the%20SAP%20DB%20vm%20but%20the%20command%20doesn't%20work.%26nbsp%3B%20Appreciate%20any%20help%20on%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-622908%22%20slang%3D%22en-US%22%3ERe%3A%20SAP%20NetWeaver%20Licensing%20Mechanism%20in%20Microsoft%20Azure%20Cloud%20-%20Part%201%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-622908%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20recheck%20the%20blog%20(or%20video)%2C%20it%20is%20stated%3C%2FP%3E%0A%3CP%3E%E2%80%9C%3C%2FP%3E%0A%3CP%3EAn%20SAP%20hardware%20key%20is%20generated%20on%20an%20operating%20system%20host%20where%20SAP%20%3CSTRONG%3Emessage%20server%20process%20%3C%2FSTRONG%3Eis%20running.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20an%20%3CSTRONG%3ESAP%20ABAP%3C%2FSTRONG%3E-based%20system%2C%20SAP%20message%20server%20is%20part%20of%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20style%3D%22font-weight%3A%20400%3B%22%3E%3CSTRONG%3ESAP%20ASCS%3C%2FSTRONG%3E%20instance%20(ABAP%20Central%20Services)%3C%2FLI%3E%0A%3CLI%20style%3D%22font-weight%3A%20400%3B%22%3E%3CSTRONG%3ESAP%20DVEB%3CU%3EM%3C%2FU%3EGS%20instance%20(%3C%2FSTRONG%3Eso-called%20central%20instance)%3CBR%20%2F%3EAs%20newer%20SAP%20installations%20do%20not%20install%20the%20DVEBMGS%20instance%20anymore%2C%20there%20is%20a%20small%20chance%20that%20you%20will%20run%20into%20this%20kind%20of%20setup.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20%3CSTRONG%3ESAP%20Java%3C%2FSTRONG%3E%20based%20systems%2C%20the%20SAP%20message%20server%20is%20part%20of%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20style%3D%22font-weight%3A%20400%3B%22%3E%3CSTRONG%3ESAP%20SCS%20instance%3C%2FSTRONG%3E%20(Java%20Central%20Services)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%E2%80%9C%3C%2FP%3E%0A%3CP%3ESo%20you%20have%20to%20run%20saplicense%20on%20the%20%3CSTRONG%3E%20SAP%20message%20server%20host%3C%2FSTRONG%3E%20(%3CSTRONG%3EASCS%2FSCS%3C%2FSTRONG%3E%20instance%20and%20maybe%20%3CSTRONG%3EDVEBMS%3C%2FSTRONG%3E%20instance)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20log%20as%20SAP%20OS%20admin%20%3CSID%3Eadm%20user%20%2C%20the%20environment%20path%20to%20saplicense%20should%20be%20predefined%20%2C%20so%20saplicense%20should%20work%20without%20specifying%20path%20to%20saplicense%20executable.%20This%20is%20demonstrated%20in%20the%20video%20where%20I%20was%20logged%20with%3CEM%3E%3CSTRONG%3E%20%3CSID%3Eadm%3C%2FSID%3E%3C%2FSTRONG%3E%20%3C%2FEM%3Euser%20%2C%20both%20on%20Windows%20and%20Linux%20OS.%3C%2FSID%3E%3C%2FP%3E%0A%3CP%3EWith%20other%20users%20which%20most%20probably%20do%20not%20have%20defined%20path%20environment%20point%20to%20saplicense%20executable%2C%20you%20need%20to%20specify%20the%20full%20path%20to%20saplicense%20.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20linux%20full%20path%20to%20saplicense%20can%20be%20%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%2Fusr%2Fsap%2F%3CSID%3E%2FSYS%2Fexe%2Fuc%2Flinuxx86_64%2Fsaplicense%3C%2FSID%3E%3C%2FP%3E%0A%3CP%3E%2Fusr%2Fsap%2F%3CSID%3E%2FSYS%2Fexe%2Frun%2Fsaplicense%3C%2FSID%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20windows%20could%20be%20something%20like%20this%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%5C%5C%3CGLOBALHOST%3E%5Csapmnt%5C%3CSID%3E%5CSYS%5Cexe%5Cuc%5CNTAMD64%5Csaplicense.exe%3C%2FSID%3E%3C%2FGLOBALHOST%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20find%20location%20of%20saplicense%20if%20you%20log%20on%20as%20%3CSID%3Eadm%20user%20and%20run%20command%3C%2FSID%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3Ewhere%20saplicense%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-881620%22%20slang%3D%22en-US%22%3ERe%3A%20SAP%20NetWeaver%20Licensing%20Mechanism%20in%20Microsoft%20Azure%20Cloud%20-%20Part%201%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-881620%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhere%20Is%20the%20second%20part%20of%20this%20continuation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20faced%20same%20issue%20hardware%20key%20changed%20while%20we%20upgrading%20SAP%20Netweaver%20java%20system%2C%20hence%20valid%20licence%20went%20invalid%20and%20then%20system%20was%20down.%20We%20are%20unable%20to%20up%20the%20system%20because%20execution%20phase%20were%20running.%20Could%20you%20please%20suggest%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

As an SAP administrator, you surely faced situations where suddenly a valid SAP license becomes invalid for no obvious reason.


For an SAP ABAP system, the system will automatically generate a temporary 28 days license and users will get a popup that the license is expiring in 28 days.

 

License expiration.png

 

In case of an SAP Java system, the system will shut down after 30 minutes!


Such issues are not pleasant for SAP users or administrators.

 

They can become even more frequent in an Azure cloud environment, due to the ability to dynamically provision a new computer infrastructure on demand.

 

To increase the stability of the SAP license mechanism, SAP updated the licensing mechanism with the Azure cloud specific functionality.


In this blog, we’ll explain what is new in the SAP licensing mechanism for Azure and how it is different to the on-premises environment.

 

Role of an SAP Hardware (HW) Key

 

Every SAP NetWeaver ABAP or Java system needs a valid SAP license. Customers will generate an SAP license on SAP Service Marketplace, by providing different input values like the SAP product name, SAP SID, DBMS and last but  not least, an SAP Hardware (HW) key.

 

SAP SWMP Create New License 1.png

 

 

SAP SWMP Create New License 2.png

 

An SAP hardware key is generated on an operating system host where SAP message server process is running.

You can SAP HW key by running command line program:

 

saplicense -get

 

For an SAP ABAP-based system, SAP message server is part of:

  • SAP ASCS instance (ABAP Central Services)
  • SAP DVEBMGS instance (so-called central instance)
    As newer SAP installations do not install the DVEBMGS instance anymore, there is a small chance that you will run into this kind of setup.

 

For SAP Java based systems, the SAP message server is part of:

  • SAP SCS instance (Java Central Services)

 

SAP Hardware Key Input Parameters in an On-Premises Environment

 

In the physical and virtual environments , the SAP hardware key is using  the following input parameters:

 

On Windows

  • Windows Computer SID (Secure ID)
  • (local) hostname

On Linux:

  • The MAC address of the first valid network card

It is important to mention that any change of HW key input parameters will cause an existing valid SAP license to become invalid.

For example, a valid license will become invalid if you change Windows local host name, or you do a sysprep (which will generate new Windows computer SID) where your SAP ASCS/SCS instance is running.

 

Similarly, the same will happen on Linux if you exchange the network card, or you change the order of multiple network cards.

 

SAP Hardware Key Input Parameters in an Azure Cloud

 

For the SAP systems in Azure, input parameters used for calculation of the hardware key is changed in the following way:

 

On Windows

  • Windows Computer SID
  • (local) hostname
  • Azure VM Unique ID

On Linux:

  • Azure VM Unique ID

 

On Windows, we got a new input parameter (Azure VM Unique ID), in addition to two existing ones e.g. Windows Computer SID and hostname.

 

On Linux, the first valid NIC MAC address is replaced with Azure VM Unique ID

 

This change is introduced in the following SAP kernel versions:

 

On Windows starting with:

  • SAP kernel 7.21 PL #332 or higher
  • SAP kernel 7.38 PL #72 or higher
  • SAP kernel 7.41 PL #210 or higher
  • SAP kernel 7.42 PL #31 or higher

 

On Linux starting with:

  • SAP kernel 7.21 EXT PL #622 or higher
  • SAP kernel 7.22 EXT PL #112 or higher
  • SAP kernel 7.42 PL #324 or higher
  • SAP kernel 7.45 PL #111 or higher

 

Azure VM Unique ID

 

Azure VM Unique ID is a 128bits identifier that is encoded and stored in all Azure IaaS VM’ SMBIOS and can be read using platform BIOS commands. It can also be read  using Azure PowerShell or Azure CLI.

 

Check the blog Accessing and Using Azure VM Unique ID.

 

Every newly  created VM will have unique Azure VM ID.

 

The act of recreating an existing VM means deleting act of recreate of an existing VM, which means you delete the definition of an existing VM (without disk deletion), and create it again using existing disk, will generate a new Azure VM Unique ID.

 

After VM recreate, everything except the Azure VM Unique ID will stay the same on OS level - hostname, all OS settings, parameters, etc.

 

Azure Unique VM ID won ’t change in case of:

  • VM Reboot
  • VM shutdown (either planned or unplanned), 
  • VM start/stop de-allocate, 
  • VM service healing or restore 
  • Redeploy (move VM to another Azure host)

 

Getting input parameters for SAP HW Key

 

You can get the details on exact input parameters for SAP  HW key calculation, by running saplicense command tool with TRACE=2 option

 

 

saplicense –get TRACE=2

 

A new file dev_slic will be created. 


Inside of this file, you will get detailed information of the  input parameters as well as generated HW key.

 

On Windows, you will see:

 

…..
SlicGetHwId: VM Instance ID: 8ac7ebca-0a2a-ee42-b84d-2f54f4d3ecde
SlicGetHwId: ID >S-21-1940833746--186857679-1893085103-gor-sap1-8ac7ebca-0a2a-ee42-b84d-2f54f4d3ecde<
SlicGetHwId: CUSTOMER KEY: >T1746343904<

 

You’ll notice that you have 3 input parameters on Windows.

 

 

SAP LiKey Input Parameters Windows.png

On Linux, you will see:

 

SlicGetFullHwId: hwid 'AZURE_3B924F79-3F43-5744-AFFD-70A9EDFFBCDC' found
SlicGetHwId: ID >AZURE_3B924F79-3F43-5744-AFFD-70A9EDFFBCDC<
SlicGetHwId: CUSTOMER KEY: >Y0348768522<


e.g. only one input parameter is used:

 

SAP LiKey Input Parameters Linux.png

 

You can use also Azure PowerShell to get Azure Unique VM ID

(Get-AzureRmVM -ResourceGroupName <ResourceGroup> -Name <VMName>).VmId


The Azure VM ID from PowerShell looks a bit different from the one we got from dev_slic , for example:

  • 8ac7ebca-0a2a-ee42-b84d-2f54f4d3ecde -is the an example from dev_slic file
  • caebc78a-2a0a-42ee-b84d-2f54f4d3ecde - is what you get from PowerShell

This is the same Azure VM ID number, only the formatting is different - the first 3 sets are a bit rotated, and the last 2 sets are the same.

 

In the second part of this blog, we’ll cover some typical Azure scenarios where you can run into invalid SAP licenses. We’ll show you the way how to troubleshoot the SAP licensing issues, and proactively prevent them.

 

Useful SAP Notes & Blogs

 

 

 

 

 

3 Comments
Regular Visitor

Hi Goran, I am new to SAP we have a NetWeaver WIndows setup, but our DB is SLES, which server do I need to run the command you mentioned above, as we have a license expiry problem and think it maybe related to the Azure UUID not matching the SAP HW key when first generated so would like to check using the command you mentioned 

 

saplicense –get TRACE=2

How and were do I enter this command, I can SSH into the SAP DB vm but the command doesn't work.  Appreciate any help on this.

Microsoft

 

 

If you recheck the blog (or video), it is stated

An SAP hardware key is generated on an operating system host where SAP message server process is running.

 

For an SAP ABAP-based system, SAP message server is part of:

  • SAP ASCS instance (ABAP Central Services)
  • SAP DVEBMGS instance (so-called central instance)
    As newer SAP installations do not install the DVEBMGS instance anymore, there is a small chance that you will run into this kind of setup.

 

For SAP Java based systems, the SAP message server is part of:

  • SAP SCS instance (Java Central Services)

So you have to run saplicense on the SAP message server host (ASCS/SCS instance and maybe DVEBMS instance)

 

If you log as SAP OS admin <sid>adm user , the environment path to saplicense should be predefined , so saplicense should work without specifying path to saplicense executable. This is demonstrated in the video where I was logged with <sid>adm user , both on Windows and Linux OS.

With other users which most probably do not have defined path environment point to saplicense executable, you need to specify the full path to saplicense .

 

On linux full path to saplicense can be :

 

/usr/sap/<SID>/SYS/exe/uc/linuxx86_64/saplicense

/usr/sap/<SID>/SYS/exe/run/saplicense

 

On windows could be something like this:

 

\\<globalhost>\sapmnt\<SID>\SYS\exe\uc\NTAMD64\saplicense.exe

 

You can find location of saplicense if you log on as <sid>adm user and run command

 

where saplicense

Occasional Visitor

Hi,

 

Where Is the second part of this continuation.

 

We faced same issue hardware key changed while we upgrading SAP Netweaver java system, hence valid licence went invalid and then system was down. We are unable to up the system because execution phase were running. Could you please suggest