For Oracle installations, you do not need X desktop running on the Linux Server at all times. Our objective is to allocate as much memory possible to Oracle. We will still need an X server installed as Oracle Universal Installer uses GUI to perform installations. For this we could simply use X11 forwarding feature in SSH and a proper windows X Client (Like Cygwin - You could download Cygwin from http://www.cygwin.com)
Download the ISO images for Linux. You could use these instead of CD ROM's on your VMWare. If you are using the config files provided then you might get a message like this. You could just select to create a new UUID for the VM


Click Next

Accept defaults Click Next

Accept Defaults and Click Next

Next

Select Automatically Partition on this Screen and Select Next

This is an important Screen. We have 6 drives (sda,sdb,sdc,sdd,sde,sdf as the drives ) but you should use only the 1st drive for the operating system.
Select "YES" only for "sda". You should select "NO" for the remaining drives

Select Remove all Partitions on the system and click Next

Select Yes here.

Your screen should look similar to the one above. Click Next

Accept Defaults. Click Next
| Node Name | Public Interface | Private Interface |
| Node1 | 192.168.56.101 | 10.0.0.101 |
| Node2 | 192.168.56.102 | 10.0.0.102 |
In this installation of VMWare my NAT 3rd octet is 56. It might be different for your installation. Check it by Going into Edit --> Virtual Network Preferences

Check both Network Interfaces to "Activate on Boot". Click Edit for eth0. This is connected to the NAT interface. So I chose the IP adress 192.168.56.101 (Since this is Node1, For Node2 it should be 192.168.56.102)

For the Private interconnect, I chose 10.0.0.101 as the IP address for Node1 and 10.0.0.102 for Node2

Set the Host Name to Node1, If you are installing Node2 set it to Node2. Also set the Gateway and Primary DNS Servers.

I chose No Firewall.


Accept defaults and Click Next

I live in Newyork!!

Choose a root password and click Next

Select Customize packages and Click Next




If you follow the instructions above the total size should be 1979 MB. Click Next


I skipped X configuration as i am not going to use the graphical desktop

Once Installation is done. the machine will be rebooted.
Start the virtual machine you just created and logon as root. Execute the command ntsysv
I chose to uncheck everything except
Now reboot the machine. This time the boot time should be reduced considerably.
Logon to the machine as root and edit the file /etc/sysctl.conf
Add the following lines
kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 |
The resulting file should look something like this
| Both nodes ( Location : /etc/sysctl.conf ) |
# Kernel sysctl configuration file for Red Hat Linux # Controls IP packet forwarding # Controls source route verification # Controls the System Request debugging functionality of the kernel # Controls whether core dumps will append the PID to the core filename. |
Logon to the machine as root and edit the file /etc/hosts. The file should look like the one below. You should perform this operation on both nodes
| Both nodes ( Location : /etc/hosts ) |
# Do not remove the following line, or various programs 192.168.107.101 node1 |
Oracle universal installer could use either rsh or ssh to copy the files (actually scp or rcp) across multiple nodes. We will use rsh instead of ssh just for simplicity sake. For rsh to work, you need to edit the file /etc/hosts.equiv . If this file does not exist just create it. You should perform this operation on both nodes.
| Both nodes ( Location : /etc/hosts.equiv ) |
+node1 |
Execute the following commands in that order to create oracle users and groups. You should perform this operation on both nodes.
groupadd oinstall |
The last command will set a password for Oracle.
Execute the following commands to create an Oracle base for software installation. You should perform this operation on both nodes.
mkdir -p /u01/app/oracle chown -R oracle.oinstall /u01 |
Logon to the machine as oracle and edit the file ~/.bash_profile. You should perform this operation on both nodes. The files should look like the ones below.On the second node make sure the ORACLE_SID is set to RACDB2
| Node 1 ( Location : /home/oracle/.bash_profile ) |
# .bash_profile # Get the aliases and functions # User specific environment and startup programs export ORACLE_BASE=/u01/app/oracle PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:$ORA_CRS_HOME/bin export PATH |
| Node 2 ( Location : /home/oracle/.bash_profile ) |
# .bash_profile # Get the aliases and functions # User specific environment and startup programs export ORACLE_BASE=/u01/app/oracle PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:$ORA_CRS_HOME/bin export PATH |
Logon to the machine as root and execute the following commands . The file should look like the one below. You should perform this operation on both nodes
raw /dev/raw/raw1 /dev/sdb |
Your /etc/sysconfig/rawdevices should look like this on both nodes
| Both nodes ( Location : /etc/sysconfig/rawdevices ) |
# raw device bindings |