Preinstalled SAP Sol. Manager 7.2SR1 ASE Suse (SAP License not included) #
Our team of consultants is continuously working on updating available AMIs and adding new products. In case you miss something, please let us know by sending an e-mail to product.support@linkeit.com
SAP Installation data #
During the SAP software installation in this AMI some options had to be chosen to complete the installation. Chosen options are detailed below.
- SAP Instances: This AMI includes two ASE databases instances (ABAP/Java), an ABAP SAP Central Services (ASCS) and primary Application Server (PAS). Also SCS and Java Primary application Servre
The following table shows the relevant information about the SAP software installation included in the AMI. Information such as SAP SID, Master Password, Instance number and software location in the server are shown here.
SAP Instance | Values |
---|---|
Hostname | sapsolman |
Domain | linkeit.local |
Master Password | Zaq12wsX |
SAP ABAP SID | LNK |
SYB ABAP SID | LNK |
Syb ABAP Admin User | syblnk |
ASCS ABAP Instance Number | 01 |
PAS ABAP Instance number | 10 |
SAP ABAP Software Owner | lnkadm |
SAP ABAP SID | LNJ |
SYB ABAP SID | LNJ |
Syb ABAP Admin User | syblnj |
ASCS ABAP Instance Number | 02 |
PAS ABAP Instance number | 20 |
SAP ABAP Software Owner | lnjadm |
PASSWORD CHANGE: It is mandatory to change the SAP and Database installation Master Passwords so that it remains private to you and meets all security requirements.
Important: SAP GUI is not installed in the AMI. You will need to install SAP GUI software in order to be able to connect and login into your SAP Instance.
Getting Started #
Part 1 - Create your own SAP instance on AWS #
Start your new SAP server by following the next steps.
-
Log on to Amazon Market Place: https://aws.amazon.com/marketplace/pp/B081QSL8L2 and click on Continue to Subscribe
-
Choose an Instance Type Select one of the AWS instance size from the available choices.
For more detailed information about SAP Business Suite Sizing and appropriate EC2 instance types, please refer to SAP documentation, SAP sizing tool and OSS Notes (S-User required): (http://service.sap.com/instguides) (http://service.sap.com/quicksizer) (http://service.sap.com/sap/support/notes/1656099)
-
Configure Instance Details. Configure and define a network and subnet. If you need to connect directly by internet you need to enable Auto-assign Public IP.
-
Add Storage. You can choose the EBS volume type, you can leave as default or use SSD / IOPS for best performance. In this point you can increase the size of the volumes to expand the filesystems. It depends on the size of the database you are going to use.
-
Add Tags. Next step is to tag the instance so you can identify it in the AWS Console.
-
Configure Security Group. You should adapt these settings to meet your specific security policies.
-
Review Instance Launch. Review the configuration and click on Launch when accepted.
-
The process will ask you to provide an existing Key Pair or to create a new one. If you choose to create a new one, do not forget to download the Key Pair file as this will be mandatory to access the EC2 instance through SSH.
-
After a few minutes, you can access your instance with SSH and do the final configuration steps.
Part 2 - Important SAP and Sybase ports #
You have to open the necessary ports in AWS security Group to allow the connection. This is the list of most important ports for SSH, SAP and Syb:
SAP External Ports: https://wiki.scn.sap.com/wiki/display/TCPIP/Application+Server+ABAP![]()
Part 3 – SSH connection to your SAP AWS instance #
-
In the EC2 console, navigate to
instances
. This will list all your instances in Amazon EC2. Make sure the SAP instance you want to connect to is in “running” state. If not, choose the instance, then click onInstance Actions
menu, and click onStart
in the pull down menu. -
Make a note of the IP address assigned to the instance. You will need it to connect to this SAP instance in AWS.
-
SSH to the instance with
ec2-user
and the key pair chosen at launch time. To access your instance: 1.Open an SSH client. (Recommended - find out how to connect using PuTTY) 2.Locate your private key file (.pem). 3.Connect to your instance using its IP: Example:
ssh -i "<keypair_location>/<keypair>.pem" ec2-user@<IP Addr>
``
-
The first time you start SAP may take longer (up to 1 hour) since the disks in AWS are still not stable. The successive starts will be immediate.
We recommend you run some pre-warming commands the first time you start the system to increase performance from the beginning. First time you launch an instance from an AMI, the process synchronizes the snapshots that compose this AMI with the EBS volumes of your instance. This can take a long time depending on the size of the disks and the instance type you have chosen. Depending on the instance, it can run out of storage credits and perform at its baseline (3 iops x gb), this situation becomes a bottleneck. The process can take up to 12 hours with a m4.4xlarge instance. This is the AWS document that explains these steps: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-initialize.html It will only be necessary to perform these actions once after the creation of the Instance In our case the commands to be executed are as follows, please note, it can take up to 12 hours for all these commands to execute successfully depending on EBS size and types chosen for your instance. If you do not execute these actions, the first time you run SAP it will take a long time to boot.
Part 4 – Configure Sybase #
Sybase doesn’t need further configuration, as the database will start at boot.
Part 5 – Configure SAP ABAP #

- Get the instance’s hardware key to obtain the license from the SAP Service Marketplace issuing the following command as the lnkadm (ABAP) user.
saplicense -get
- Go to https://support.sap.com/keys-systems-installations/keys.html and obtain a valid license key for your system (SID LNK and the hardware key obtained in the preceding step). Now you have a text file with the license.
- Start the SAP instace and database by executing the following command connected to a shell as
lnkadm
:
startsap
- Configure SAPGUI to access the SAP Server. Change the IP for the one obtained during instance launch.
- Logon to SAP with SAPGUI to Client 000, with user SAP* and Password
Zaq12wsX
(Case Sensitive). - To install the SAP license, go to transaction
SLICENSE
, click onNew Licenses
if needed, clickInstall
and insert the text file you received from SAP. - A succesfull message should be received.
Ready to work #
Now you are ready to start working with your SAP instance!!
PASSWORD CHANGE: Remember that it is mandatory to change the SAP and Database installation Master Password so that it remains private to you and meets all security requirements.
Part 6 – Configure SAP Java #

- Get the instance’s hardware key to obtain the license from the SAP Service Marketplace issuing the following command as the lnkadm user.
saplicense -get
-
Go to https://support.sap.com/keys-systems-installations/keys.html and obtain a valid license key for your system (SID LNK and the hardware key obtained in the preceding step). Now you have a text file with the license.
-
The SAP Instance is started at boot. Stop it to configure access to the SAP NW Administrator, executing the following command connected to a shell as
lnkadm
:
stopsap
-
Configure SAP Netweaver Administrator.
-
Start all processes to access SAP NW Administrator, executing the following command connected to a shell as
lnkadm
:
startsap
- Logon to the instance by web at port 22 and go to /sapmnt/LNK/global/security/data/ and editing the ``icm_filter_rules.txt``` file. You can configure access by setting rules or just comment the lines, like this:
# if %{REMOTE_ADDR} !stricmp 127.0.0.1 [AND]
# if %{REMOTE_ADDR} !stricmp ::1
# RegIRedirectUrl ^/webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd/.*$ /nwa/remote_access_error [QSA]

- Logon to SAP with web explorer to URL http://50000/nwa and Password
Zaq12wsX
(Case Sensitive).
PASSWORD CHANGE: Remember that it is mandatory to change the SAP and Database installation Master Password so that it remains private to you and meets all security requirements.

-
The system will force you to change the password.
-
To install the SAP license, go to Configuration, Infrastructure, Licenses click on
Install from file
, and insert the text file you received from SAP.

- A succesfull message should be received and the license should be installed
Ready to work #
Now you are ready to start working with your SAP instance!!
PASSWORD CHANGE: Remember that it is mandatory to change the SAP and Database installation Master Password so that it remains private to you and meets all security requirements.
Additional Information #
Start/Stop processes #
Start ALL #
Stop the SAP instace by executing the following commands connected to a shell as lnkadm
:
startsap
Start SAP NW752 ABAP on AWS instance #
In order to be able to connect to your Instance for starting SAP software you need to connect by ssh software as explained in previous Part.
Start DB #
Sybase instance should start automatically, but in case it fails it can be started connected to a shell with user lnkadm
:
startdb
Start SAP #
Start the SAP instace by executing the following commands connected to a shell as lnkadm
:
startsap
All-in-One with custom scripts #
Additionaly, Linke provider with a custom script located in the /etc/init.d
folder that can help you to start all the services in one step at boot. Execute this script connected to a shell as root
user:
/etc/init.d/startsap_syb start
Check that the instance is running by executing the following the command ps -fu lnkadm
. The output should be similar to this:
sapnw:~ # ps -fu lnkadm
UID PID PPID C STIME TTY TIME CMD
lnkadm 5870 1 0 16:11 ? 00:00:01 /usr/sap/LNK/ASCS01/exe/sapstartsrv pf=/usr/sap/LNK/SYS/profile/LNK_ASCS01_sapnw -D
lnkadm 6124 1 0 16:12 ? 00:00:00 sapstart pf=/usr/sap/LNK/SYS/profile/LNK_ASCS01_sapnw
lnkadm 6135 6124 0 16:12 ? 00:00:00 ms.sapLNK_ASCS01 pf=/usr/sap/LNK/SYS/profile/LNK_ASCS01_sapnw
lnkadm 6136 6124 0 16:12 ? 00:00:00 en.sapLNK_ASCS01 pf=/usr/sap/LNK/SYS/profile/LNK_ASCS01_sapnw
lnkadm 7274 1 0 16:12 ? 00:00:00 /usr/sap/LNK/D10/exe/sapstartsrv pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw -D
lnkadm 7530 1 0 16:12 ? 00:00:00 sapstart pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 7611 7530 0 16:12 ? 00:00:01 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 7612 7530 0 16:12 ? 00:00:00 ig.sapLNK_D10 -mode=profile pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 7613 7612 0 16:12 ? 00:00:00 /usr/sap/LNK/D10/exe/igsmux_mt -mode=profile -restartcount=0 -wdpid=7612 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 7614 7612 0 16:12 ? 00:00:00 /usr/sap/LNK/D10/exe/igspw_mt -mode=profile -no=0 -restartcount=0 -wdpid=7612 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 7615 7612 0 16:12 ? 00:00:00 /usr/sap/LNK/D10/exe/igspw_mt -mode=profile -no=1 -restartcount=0 -wdpid=7612 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8570 7611 0 16:12 ? 00:00:00 gwrd -dp pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8571 7611 0 16:12 ? 00:00:00 icman -attach pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8572 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8573 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8574 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8575 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8576 7611 0 16:12 ? 00:00:03 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8577 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8578 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8579 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8580 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8581 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8582 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8583 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8584 7611 0 16:12 ? 00:00:03 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8585 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8586 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
lnkadm 8587 7611 0 16:12 ? 00:00:02 dw.sapLNK_D10 pf=/usr/sap/LNK/SYS/profile/LNK_D10_sapnw
The script will start all the processes once the instance is launched or started.
Stop SAP NW752 on AWS instance #
Stop ALL #
Stop the SAP instace by executing the following commands connected to a shell as lnkadm
:
stopsap
Stop only SAP #
Stop the SAP instace by executing the following commands connected to a shell as lnkadm
:
sapcontrol -nr 10 -function Stop
sapcontrol -nr 01 -function Stop
Stop only Sybase #
To stop the Sybase server, execute the following command connected to a shell with user lnkadm
:
stopdb
All-in-One with custom scripts #
Additionaly, Linke provider with a custom script located in the /etc/init.d
folder that can help you to start all the services in one step. Execute this script connected to a shell as root
user:
/etc/init.d/startsap_syb stop