You are on page 1of 120

Configure the Hostname & IPaddress in /etc/hosts.

Edit Using VI Editor


Add the Hostname & IPaddress after the localhost line. Save and quit the file.
Display the /etc/hosts file with cat command and found the entries.
Set the Kernel Parameters in “/etc/sysctl.conf”. Edit using VI editor.
Add the following kernel parameters in /etc/sysctl.conf file.

Kernel Parameters are:

#increase system ip port limits


net.ipv4.ip_local_port_range = 1024 65535

#SAP Settings
kernel.msgmni = 1024
kernel.sem = 1250 256000 100 1024
vm.max_map_count = 1000000
kernel.shmmax = 23136829430
kernel.shmall = 5242880
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
Save and quit the file.
Activate these settings with the command "sysctl -p".
We need to increase Process resource limits for ORACLE & SAP Products using “/etc/security/limits.conf” file.

Edit Using VI Editor.


Add the following parameters given below in /etc/security/limits.conf file.

Parameters:

@sapsys hard nofile 32800


@sapsys soft nofile 32800
@dba hard nofile 32800
@dba soft nofile 32800

Save and quit the file.


tail -13 /etc/sysctl.conf

It will display the last 13th lines from the /etc/sysctl.conf file
tail -5 /etc/security/limits.conf

It will display the last 5 lines from the /etc/security/limits.conf file


Now create the groups, users and add the users to the groups.
Group Creation
groupadd –g 500 sapinst
groupadd –g 501 sapsys
groupadd –g 502 dba
groupadd –g 503 oper

User Creation
useradd –u 500 –c sapsystemadmin –d /home/b22adm –g sapsys –s /bin/csh b22adm
useradd –u 501 –c sapdatabaseadmin –d /oracle/b22 –g dba –s /bin/csh orab22

Add Users to Groups


gpasswd –M b22adm,orab22,root sapinst
gpasswd –M b22adm sapsys
gpasswd –M b22adm,orab22 dba
gpasswd –M b22adm,orab22 oper
Generate password for b22adm, orab22 users. Password: admin123. Please maintain the same password for all
users.

#passwd b22adm
#passwd orab22
Now go to sap dump directory /opt/sapdump/ and change the file permissions of j2sdk -1.4.2-03-linux-amd64.bin
file.
Using chmod command:
#chmod 755 j2sdk -1.4.2-03-linux-amd64.bin
and Execute the file j2sdk -1.4.2-03-linux-amd64.bin
#./ j2sdk -1.4.2-03-linux-amd64.bin
Accept the agreement by using Y key and java will be installed.
Go to SAP installation Master directory location and execute sapinst file.
#cd /opt/sadump/BS_2005_SR3_SAP_Installation_Master/IM_LINUX_X86_64/
#./sapinst
Navigate to SAP ERP 6.0 Support Release 3SAP SystemsOracleCentral SystemCentral System
Select the Typical and click on next.
Select the ECC, AS ABAP software units and click on next.
Select the jre directory (/opt/sadump/j2sdk1.4.2/jre) and click on ok and click on next.
Give the SAP System SID and click on next.
Give the master password and click on next.
Give the Database SID and click on next
Browse to the export1 directory and select the LABEL.ASC and click on next
Browse to the export 2 directory and select the LABEL.ASC and click on next.
Browse to the ORACLE RDBMS 10g directory and select the LABEL.ASC and click on next.
Browse to the SAP Kernel directory and select the LABEL.ASC and now browse to the ORACLE CLIENT OF LINUX 64bit
directory and select the LABEL.ASC and click on next.
Check the parameter summary and click on next
Give the solution manager key and click on next.
Do not click on OK. Until oracle is installed.
Open a new terminal tab and give the command

#xhost +
Switch to oracle user orab22

#su – orab22
Set the DISPLAY variable

>setenv DISPLAY :0.0


Check the DISPLAY variable and present shell

>echo $DISPLAY

>echo $SHELL
Go to /oracle/stage/102_64/database/SAP/ and run the runinstaller file.

#./runinstaller
Click on next
Click on next
After Passing the prerequisite checks, Click on next.
Click on install.
Execute the scripts in a new terminal window or tab. Login as root and run the scripts and click on ok.
Click on exit and click on yes.
To the oracle software, stop the isqlplus service.
Go to /oracle/B22/102_64/bin/ directory and stop the isqlplus service.

#cd /oracle/B22/102_64/bin/
#isqplusctl stop
Browse to the oracle patch directory and run the installer.

#cd /opt/sapdump/ORACLE_Patch_10.2.0.4_LINUX/LINUX_X86_64/p6810189_1024_Linux-x86-64.zip_FILES/Disk1/
#./runInstaller
Click on next
Click on next
After passing all the prerequisite checks , click on next.
Click on next
Click on install.
Login as “root” and run the scripts in terminal windows and click on ok.
Click on exit and click on yes.
Go to /oracle/B22/102_64/bin/ directory and start the isqlplusctl service.

#cd /oracle/B22/102_64/bin/
#isqlplusctl start
Now Click on OK
Installation is continued.
Click on OK after successfully completion of ECC6.0 SR3.
We need to stop and start the sap system and database system.
To stop sap system, login as b22adm

#su – b22adm

>stopsap
To stop the database, listener, and isqlplusctl services. Login as orab22

#su - orab22
>stopdb
>lsnrctl stop
>isqlplusctl stop
Now exit the entire logins and restart the system.

#init 6
Now start the sap services and database services.
Start the listener

>lsnrctl start
Start the isqlplusctl service
>isqlplusctl start
To start the SAP service, login as b22adm
>su - b22adm

>startsap

Installation SAP GUI


Browse to the Java SAPGUI directory to install.

#cd /opt/sapdump/NW_7.0_Presentation/PRES2/GUI/JAVA/

#java –jar PlatinumGUI720Linux_4.JAR


Click on Next.
Click on OK.
Click on OK.
Browse to SAP Clients Directory and run guilogon file

#cd /opt/SAPClients/SAPGUI/bin/

#./guilogon

And now the logon screen is launched.


In the SAPGUI for JAVA screen,

Click on New icon


or
GotoFileNew
Click on Advanced tab in Add New Connection dialog box.

Select the Export Mode.


Give Description and connection parameters in export mode text screen.

Description: ECC6
Connection Type: R/3
Connection Parameters: conn=/H/192.168.248.129/S/3200 (/H/IPADDRESS/S/Dispatcher +Instance Number)

Click on Save.
Select the ECC6 Connection and Click on connect.
Give Client ID, username & password to logon to SAP.

Client: 001
User: sap*
Password: admin123
User sap* logged on SAP System and now execute any Transaction Codes.
Transaction Code: ST07

It displays the Application Monitor of User Distribution across the system

You might also like