Home > Database, ESX, ESXi, Linux, Oracle, SLES, VMware > Oracle 10g RAC on ESXi3 using SLES9 SP5 – Part 4

Oracle 10g RAC on ESXi3 using SLES9 SP5 – Part 4

February 13th, 2009

Required UNIX groups and users. User environment and Shell Limits

1. Creating an oracle user, a dba and an oinstall group on each node.

# groupadd -g 500 oinstall
# groupadd -g 501 dba
# useradd -u 500 -d /home/oracle -g oinstall -G dba -m -s /bin/bash oracle

Reset the oracle user password to something you want

# passwd oracle
Changing password for oracle.
New password:
Re-enter new password:
Password changed

Check that the nobody user exists:

#grep nobody /etc/ passwd [I had to add space between the / and passwd since mod_security of this server would not allow me to post.. ]

2. The oralce user environment

Login as the oralce user you have created in the previous step.
Set the umask to 022.
Set the DISPLAY environment variable if required.
Set the ORACLE_BASE environment variable.
Set the TMP and TMPDIR environment variables if you would like.

Edit the /home/oracle/.bashrc file as the oracle user and add the following to it:

#environment variables for ORACLE RAC
umask 022
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
TMP=/u01/tmp; export TMP

As the root user create the /u01/tmp folder and change the permissions of the folder to 777

#mkdir /u01/tmp
#chmod 777 /u01/tmp

3. User shell limits

Add the following lines to your /etc/security/limits.conf file

#ORACLE User configuration
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

Check the file /etc/pam.d/login to see if you have the following line in it. If not just add it on both nodes.

session required pam_limits.so

Next we will configure the SSH communication between the hosts.

Categories: Database, ESX, ESXi, Linux, Oracle, SLES, VMware Tags: , , , ,
Comments are closed.