Install Sap License From Os
It is possible to install a license key for your AS Java system using telnet. This can be useful if you cannot get the system fully started before the 30 minute grace period elapses, or there is some error with access to the /nwa (e.g: in a upgrade scenario). The telnet licensing command also allows you to install a temporary key if required.
In this blog post I will explain the process and useful commands e.g: how to find hardware ID, system ID, install permanent or temporary keys etc. The Telnet licensing option was introduced under NetWeaver 7.1, and is available under the releases specified under SAP KBA: 2003564.
Getting Started
Jump to Step 5: Install SAP NetWeaver AS ABAP on Linux VM - You will now install the system in this Linux OS. The Sybase ASE Database license has.
- You will need access to the file system of the application server, as telnet only works via localhost connections (<sid>adm user login)
- You will need a Telnet Client installed under the OS, consult your Windows or Unix OS team for this request. Do not assume it is already installed
- You will need suitable permissions/role to access telnet. Easiest way to achieve this is to use the J2EE_ADMIN or Administrator users
Logon to Telnet console and add licensing menu
- You would like to install the SAP license but with limited permission on SAP GUI to execute TCODE: SLICENSE. The alternative solution is to install through OS level with the assumption of sufficient OS level access.
- The following error appears if i installing the license key: D: usr sap PRD. Hardware and OS installation. [sap-basis] Sap license installation error.
NB: Telnet service runs under port 08. E.g: to access telnet under Java engine you would use port 5XX08 (where XX is instance number)
- Open your command prompt/terminal depending on OS and connect to the SAP System via Telnet, e.g for a system with instance number 00 we would use:
telnet localhost 50008
- You will now see the option to logon to the telnet server, use your admin user to logon as below:
- When you logon to Telnet, you will need to ensure you are on cluster 0. Type > jump 0 to do this.
- Next add the licensing menu using command > add licensing.
The licensing menu is now activated, you can use the man command to view the list of available options:
Install a permanent or temporary license key
- Firstly, we need the hardware id and system id for the target system. Type > mshardwareid and mssystemid if the SID is not known. Resulting output will display as below:
- Request a license key via SMP: http://support.sap.com/licensekey and follow the process. Download the license key onto the server.
- Install the license key with command > install_license -file /usr/path/to/license/key.txt
- To install a temporary key, use the command > install_license -temp
- Validate the newly installed license key via command: > list_licenses
- You have now installed your AS Java license key via Telnet! 🙂
How to Install SAP HANA License. Data required for the license key request.How to request for SAP HANA License Key. Authorizations to apply SAP HANA License. How to get Hardware key and installation number. Apply HANA license.
You must request a license key in the following cases:
- The current license key is about to expire.
- You have changed the hardware. As a result, the hardware key has changed. Your database continues to run with a temporary license key that was generated automatically.
- There is a change of the main memory amount.
- A change of the system ID of your existing SAP HANA database is planned, for example, due to recovering, copying, and/or renaming. A valid license key for the new system ID must be available for the change to avoid a system standstill.
- If there is a change of the installation number due to the reassignment of a system.
To request a license key, you require an S user and the “Request License Key” authorization for the installation number or customer number you require. If you do not have the required authorization, or if you do not have an S user, create a message under XX-SER-SAPSMP-USR.
Important:
If your SAP system runs in combination with an SAP HANA database, note that you must create two systems and system IDs. Create one system ID (SID) for the SAP system as usual, and create the second SID for the SAP HANA database. Do not request the SAP HANA database license key for an existing system.Procedure:To request your license key, always access SAP Service Marketplace at http://service.sap.com/licensekey (this is a simple and safe way to request your license key).
1) Data required for the license key request:
->Installation number
->System ID
->System type
->SAP product
->Product version
->Hardware key
->Operating system
->Main memory amount in GB
Info: All the incoming requests are processed automatically within a few hours (maximum processing time: three working days).
2) Determining the hardware key and the SID You can get this information in SAP HANA studio from the Properties page of the system as below:
- In the SAP HANA studio, select your system in the navigator -> right click -> Properties -> License tab.
- In the navigation area, choose the option to display the license. Note that you require the system authorization LICENSE ADMIN to access this page.
3) License key requestProceed as described below to create a license key request on SAP Service Marketplace at service.sap.com/licensekey.
On the “Request license keys” tab page, choose either “Search an installation” or “select it from a list” and search for an ERP or an SAP NetWeaver installation.
In the installation list, you can enter the installation number directly in the blank field in the column for the installation.
Alternatively, you can also use the installation search. Here, the system displays all of the installation numbers for which you have to request the license key authorization.
4) License key request for a new SAP HANA database Choose “New system” option and enter all required data provide below.
Provide the below listed data.
->Provide the System ID
->Product type
->Product Version Program evidenta populatiei sibiu.
->Hostname of Server
->System Usage Type
->Operating System Type
To proceed to the hardware data, choose “Continue”.
->Enter your hardware key
->License Type
->Quantity (Amount of main memory in GB)
->Validity until
Choose “Save” to save your entries. Choose “Continue” to display all the system data again. Enter your e-mail address and choose “Send”.Info: You can also split your acquired SAP HANA license (total amount) over several instances (also over several installation numbers). For test and development systems, you can request license keys as required. These license keys are permanent and contain the licensed memory amount number for each request at the most.
5) Downloading the license keyLogin to SAP Market Place and Navigate to keys & Requests -> license Keys -> Select it from list
->From the SAP License Installation Overview screen select the respective installation.
->click the required system ID and Choose “Display System”
->In the next screen Choose “Continue” and select the relevant entry.
->Then choose “Display license script” and “Download to PC”.
Sap Os Command
->You can then choose “Open – File – Save as” to save the license key file directly to your host.
6) Installing the license key You can install a permanent license key received by e-mail or by means of a download in your SAP HANA database only by using the SAP HANA studio. The prerequisite for this is a database user with the system authorization LICENSE ADMIN. Carry out the following steps to do this:
- In the SAP HANA studio, navigate to the properties page of the relavant database for which you have requested the license key.
- On the properties page, choose the button for “installing the license key”.
- Navigate to your license file and select it.
- After a successful confirmation, the properties page of the system is updated with the new license information if this is valid for the database.
Another way of installing a license key is to use the SQL command line of the SAP HANA studio. In this case, you also require a database user with the system authorization LICENSE ADMIN, who can install a license key with the following SQL command:
SET SYSTEM LICENSE ”content of license file”
Note that you must use the complete content of the license file, including the line breaks, for this command.
If the specified license data is correct and corresponds to the database (hardware key, system ID), the license is updated in the database and you can verify it in the system view M_LICENSE.
Emergencies
If a production standstill occurs, you can create a message with priority 1 under component XX-SER-LIKEY to request atemporary license key that is valid for one week. The following data is required for the license key to be issued: System ID, hardware key, and installation number. The key is issued immediately. Request a permanent license key within this week.