8/23/2017

Oracle Linux install for SAP step by step guide - part 3

Oracle Linux install for SAP step by step  guide - part 2

Oracle Virtual Box Guest Additions installation.

Open the terminal, navigate to the root user. Execute commands:

# yum list
# yum -y install gcc
# yum -y install kernel-uek-devel-`uname -r` 




Click Host (Ctrl) + D and then mount the CD with the Virtual Box Guest Additions. Run the installation from under the user with root commands:


# cd /media/VBOXADDITIONS_4.2.22_91556/

# sh ./VBoxLinuxAdditions.run 




Restart the server

Note: When you install a new version of the kernel, you must reinstall the Virtual Box Guest Additions in the above procedure each time.

In order to mount an overall directory, follow the steps. Create a shared directory for the virtual machine.




From under the root user, open the/ect/rc.local file to edit and add the Mount line to the general view directory:

mount -t vboxsf -o uid=500,gid=500 distr /media/sf_distr

where uid=500,gid=500 

 the IDs Admin user that can be viewed in the file /etc/passwd. 



Create mount point with the command :
 
# mkdir /media/sf_distr 

Restart the server. After that, verify that the directory mounts from the principal server to the virtual machine (check for authority 777):

# ls -al /media/

According to SAP notes 1635808-Oracle Linux 6. x SAP Installation and Upgrade and 941735-SAP memory management for 64-bit Linux systems

From under the root user, add to the/etc/sysctl.conf file:

# SAP settings kernel.msgmni = 1024
kernel.sem = 1250 256000 100 1024
vm.max_map_count = 1000000 


Make sure that the following parameters are at least the values: kernel Shmmax = 23136829430

Kernel Shmall = 5242880

Add rows to the/etc/security/limits.conf file:

@ Sapsys Hard Nofile 32800

@ Sapsys Soft Nofile 32800

 Install additional packages for Oracle installer from underneath the root user:

# Yum-y install Libaio

# Yum-y install Libaio-devel

# Yum-y Install compat-libstdc + +-33

# Yum-y install elfutils-libelf-devel

# Yum-y install LIBGCC

# Yum-y install Libstdc ++

# Yum-y install UnixODBC

# Yum-y install UnixODBC-devel

# Yum-y Install Ksh

 Create an Oracle partition.

# mkdir +/Oracle

# chmod 777 +/Oracle

Change kernel settings for Oracle RDBMS G.
Under the root  user was added to the file/etc/sysctl.conf: kernel Shmmni = 4096

FILE-max = 6815744

NET IPv4 ip_local_port_range = 9000.0 65500.0

Rmem_default = 262144

Rmem_max = 4194304

Wmem_default = 262144

Wmem_max = 1048576

AIO-max-nr = 1048576

Add strings to the/etc/security/limits.conf file: 
Oraet4 soft Nproc 2047
Oraet4 hard Nproc 16384 oraet4 soft nofile 1024 oraet4 hard Nofile 65536
Oraet4 is the user of Ora <sid>.

Restart the server.

No comments:

Post a Comment

Popular Posts