[Oracle RAC 11.2 Installation on Oracle Linux 5.8 x86_64]: Checking cluster configuration before RAC installation


Download the latest version of “Oracle Cluster Verification Utility” from the oracle website
http://www.oracle.com/technetwork/products/clustering/downloads/cvu-download-homepage-099973.html

Installing cvuqdisk-1.0.9-1.rpm

Server: node1,node2

The cvuqdisk-1.0.9-1.rpm package must be installed on all cluster nodes

Earlier, I copied this package to one of the linux servers.

Retrieve it with the following command:

# scp marley@192.168.1.5:/mnt/dsk2/_ISO/oracle/linux/cvupack_Linux_x86_64.zip /tmp/


# cd /tmp


# mkdir cvupack
# mv cvupack_Linux_x86_64.zip ./cvupack
# cd /tmp/cvupack
# unzip cvupack_Linux_x86_64.zip


# rpm -Uvh /tmp/cvupack/rpm/cvuqdisk-1.0.9-1.rpm


# chown -R oracle11:oinstall /tmp/cvupack

Checking the correctness of the prepared cluster nodes configuration

Server: node1
# su - oracle11


$ cd /tmp/cvupack/bin


$ ./cluvfy stage -pre crsinst -n node1,node2

If errors occur, you can get a log with a more detailed report of the issues:

$ ./cluvfy stage -pre crsinst -n node1,node2 -r 11gR2  -verbose > /tmp/log.log


***

Check: Membership of user "oracle11" in group "oinstall" [as Primary]
  Node Name         User Exists   Group Exists  User in Group  Primary       Status
  ----------------  ------------  ------------  ------------  ------------  ------------
  devsp038          yes           yes           yes           no            failed
  devsp037          yes           yes           yes           no            failed
Result: Membership check for user "oracle11" in group "oinstall" [as Primary] failed

***


$ id
uid=502(oracle11) gid=500(dba) groups=500(dba),1003(oinstall)


# usermod -g oinstall oracle11
# usermod -G dba oracle11


# su - oracle11
$ id
uid=502(oracle11) gid=1003(oinstall) groups=500(dba),1003(oinstall)

The check result should be the following message. Pre-check for cluster services setup was successful.

Interestingly, in the console itself, the primary group must be dba.

Therefore:

# usermod -g dba oracle11
# usermod -G oinstall oracle11