[Oracle RAC 12.1 SHARED FILE SYSTEM Installation]: Checking cluster configuration before RAC installation
| Server: | rac1 |
Perhaps it’s better to 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
# cd /tmp/oracle/12.1/database/rpm
# rpm -Uvh cvuqdisk-1.0.9-1.rpm
# su - oracle12
$ cd /tmp/oracle/12.1/grid
$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -r 12.1
If errors occur, you can get a log with a more detailed report of the issues:
$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -r 12.1 -verbose > /tmp/log.log
Got an error:
Check: Swap space
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
rac2 4GB (4194300.0KB) 4.1026GB (4301836.0KB) failed
rac1 4GB (4194300.0KB) 4.1026GB (4301836.0KB) failed
Result: Swap space check failed
| Server: | rac1, rac2 |
# dd if=/dev/zero of=/root/swapfile count=1024 bs=4718592
# mkswap -f /root/swapfile
# swapon /root/swapfile
# swapon -s
Filename Type Size Used Priority
/dev/dm-1 partition 4194300 0 -1
/root/swapfile file 4301832 0 -2
# vi /etc/fstab
Comment out:
# /dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
Add:
/root/swapfile swap swap defaults 0 0
| Server: | rac1 |
# su - oracle12
$ cd /tmp/oracle/12.1/grid
$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -r 12.1
***
Pre-check for cluster services setup was successful.
Since I work with virtual machines, I think it’s necessary to save (create a snapshot).