Install Oracle RAC 11gR2 on Virtualbox

Problems and Solutions for installing Oracle RAC 11gR2 on Oracle Virtualbox:

Problem 1:  ssh user equivalence failed to check:  ssh port 22:  Not route to host

Solution:  check user equivalence setup steps, or you can ./runInstaller.sh.   It has the option to check ssh and also setup ssh.

Problem 2:  If you have ethernet interface with dhcp / airport, for example eth2, is enabled, network checkup could be failed during pre-installation phase.

Solution:  Run route –n to validate.  Then you need to disable dhcp (eth2) to  fix this issue.

Before:
-----------
[root@si01 ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.20.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 eth2
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth2
0.0.0.0         192.168.10.1    0.0.0.0         UG    0      0        0 eth2

After disable eth2 (dhcp)
----------------------
[root@si01 ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.20.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0


Problem 3:  During the pre-check (from the runInstaller.sh), oracle complained about ASM path is not valid.  It seems there was a bug associated with it. 


Solution:  oracleasm listdisk, scandisks, and changed ORACLEASM_GID = oinstall from /etc/sysconfig/oracleasm, then clicked on ignore and continue with the installation

Problem 4:  root.sh generate the below error and ohasd failed to start up.

>  CRS-4124: Oracle High Availability Services startup failed.
>  CRS-4000: Command Start failed, or completed with errors.

ohasd failed to start:  A specified file does not support the ioctl system cal.  

Solution:  Check and clean up /var/tmp/.oracle, /tmp/.oracle, /etc/oracle (check with specific location), then re-run root.sh





No comments:

Post a Comment