Skip to Content
Technical Articles
Author's profile photo Satish Reddy

SAP OS Upgrade from AIX to Linux – Part3

In the first and second blog of this Series we have seen on how to export the existing Oracle DB running on AIX. Now let’s move onto how to install ascs, scs.



1.   Linux Admins created separate VMs piqascs00, piqscs00, piqdb00, piqapp01 and piqapp02.

2.   We know the root password for all the VMs.

3.   Downloaded SWPM for Linux and Uncarred onto a shared folder mounted across all hosts.

4.   Downloaded Kernel, HostAgent for Linux and uploaded onto a Shared folder.


Install ASCS:


1.   Copy SWPM from shared folder to piqascs00.


[root@piqascs00 /]# mkdir SWPM

[root@piqascs00 /]# cd /SWPM

[root@piqascs00 SWPM]# cp -R /sapsw/MOCK/SWPM/LINUX_SWPM/* .

[root@piqascs00 /]# ls –l

drwxrwxrwx.  47 root   root   4096 Aug 29 10:45 SWPM


2.   Once SWPM copied onto piqascs00 run the SWPM process.

[root@piqascs00 SWPM]# nohup /SWPM/sapinst -nogui &

Now opening SWPM from desktop will receive a popup like shown below. Login with hostname or IP:


Accept the certificate.



3.   Login with root.


4.   Now select SAP NetWeaver 7.4 Support Release 2 –> Oracle –> System Copy –> Target System –> Distributed System –> Based on AS ABAP and Java –> ASCS Instance.



5.   Select Custom.


6.   Specify SID and mount directory.



7.   Specify Domain Name.



8.   Specify master password.


9.   Specify userid and click on Next.


10.   Specify Kernel and Host Agent.


11.   Specify password for user sapadm.


12.   Specify instance number and hostname for ascs.


13.   Specify ABAP message server port.


14.   Uncheck Install SAP Web Dispatcher integrated in ASCS Instance.


15.   Check the parameters in Summary Screen and select Next.



16.   If we don’t encounter any issues ascs will be successfully installed.


17.  Now at OS level mount the profile directory and enable nfs server.

vi /etc/exports

/sapmnt/PIQ/exe *(rw,sync,no_root_squash)

/sapmnt/PIQ/global *(rw,sync,no_root_squash)

/sapmnt/PIQ/profile *(rw,sync,no_root_squash)

/SWPM *(rw,sync,no_root_squash)



[root@piqascs00 etc]# exportfs -r

[root@piqascs00 etc]# systemctl start nfs-server

[root@piqascs00 etc]# systemctl enable nfs-server

Created symlink from /etc/systemd/system/ to /usr/lib/systemd/system/nfs-server.service.


Install SCS:



1.   /sapmnt directory is mounted on piqscs00.

2.   ASCS Instance is successfully installed.


1.   Login into piqscs00 with root and goto root directory. Once we are in root create four directories like shown below. Once we create these directories we will add the mounts from ASCS in /etc/fstab. Given below are the screenshots.

[root@piqscs00 /]# pwd


[root@piqscs00 /]# mkdir -p /sapmnt/PIQ/exe /sapmnt/PIQ/global /sapmnt/PIQ/profile /SWPM

[root@piqscs00 /]# vi /etc/fstab


##Mount points from ASCS

piqascs00:/sapmnt/PIQ/exe       /sapmnt/PIQ/exe         nfs     defaults        0 0

piqascs00:/sapmnt/PIQ/profile   /sapmnt/PIQ/profile     nfs     defaults        0 0

piqascs00:/sapmnt/PIQ/global    /sapmnt/PIQ/global    nfs     defaults        0 0

piqascs00:/SWPM                      /SWPM                       nfs     defaults        0 0


2.  Once we added, mount it using command mount -a and check they are successfully mounted using df -k.

[root@piqscs00 /]# mount –a

[root@piqscs00 /]# df –k


3.  Run SWPM and login with root user and password and Accept the certificate.

[root@piqscs00 SWPM]# nohup /SWPM/sapinst -nogui &



4.   Login with root user and password.


5.   Select SCS from the below path.


6.   Select Custom.


7.   Specify the mount for Profile directory.


8.   Specify Master Password.


9.   Specify sidadm password.


10.   Specify Kernel and HostAgent Path.


11.   Specify password for user sapadm.


12.   Specify instance number and hostname.


13.   Specify Message Server Port for Java which is different than ASCS message server port.


14.   Check all the parameters in Summary screen and click next.


15.   Once successfully installed we will receive a pop up saying SCS successfully installed.


This concludes Part3 of the series where we have seen installing ASCS and SCS on Linux. In the next Part4 we will see how to import the AIX exported DB onto Linux.

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Roland Kramer
      Roland Kramer

      Hello Sathish
      Is there are particular reason to separate all SAP application instances to different VM's?

      this increases the maintenance to four different VM's, while everything can run on one VM easily.

      Best Regards Roland