Veritas Clustering Configuration ================================ Heartbeat testing: ================== 1. Plumb up dummy IP address on each network port that you intend to use for heartbeat and try to ping each server through this dummy IP address. Result should be alive on each side. VCS Initial Setup: ================== 1. Set up /etc/llttab on each server. It should look something like this: set-cluster 1 <--- set cluster ID, just give any number from 0-254 set-node 1 <--- set node ID, each server should have different # link qfe0 /dev/qfe:0 <--- heartbeat net you're using link qfe1 /dev/qfe:1 <--- heratbeat net you're using start 2. Start LLt services on all systems. # /sbin/lltconfig -c 3. Ceck information on all ports using LLT. # /sbin/ttlconfig -a list 4. For a two-node cluster, an /etc/gabtab should have an entry like this: /sbin/gabconfig -c n2 Note: This automatically seeds the cluster by telling VCS that it needs at least 2 systems running to call it a cluster. This file is read upon boot up. 5. Manual load GAB services. # /sbin/gabconfig -c Note: There should be heartbeat activity on the private hub at this time. 6. Check GAB services if it's working. # /sbin/gabconfig -a Note: This should print a list of all systems active in cluster. 7. Seed the cluster manually on one system only. # /sbin/gabconfig -c -x Simple Cluster Configuration: ============================ 1. If running, stop cluster services on all systems. # /opt/VRTSvcs/bin/hastop -all 2. On one of the systems, do server_1# cd /et5c/VRTSvcs/conf 3. Make directory called config. server_1# mkdir config 4. Copy the types.cf file to config directory. server_1# cp types.cf config 5. go to config directory. server_1# cd /config 5.Create main.cf file and it should look something like this: include "types.cf" system server_1 <--- your first server name system server_2 <--- your second server name snmp mycluster <--- your cluster name (whatever name you want) 6. Verify the file syntax. server_1# /opt/VRTSvcs/bin hacf -verify . <-- don't forget the dot server_1# /opt/VRTSvcs/bin hacf -cftocmd . 7. Start VCS services on that system server_1# /opt/VRTSvcs/bin/hastart 8. Check status of VCS services. server_1# /opt/VRTSvcs/bin/hastatus -summary Note: You should see your system name RUNNING state. 9. Take note of main.cf file. server_1# cat main.cf ------------------------ 10. On the second system, start the VCS services. server_2# /opt/VRTSvcs/bin/hastart 11. Check system state. server_2# /opt/VRTSvcs/bin/hastatus -summary Note: Both systems should be in RUNNING state. 12. Now check VCS populated your config directory server_2# ls /etc/VRTSvcs/conf/config/config 13. Now we need to write the config from memory to disk. server_2# /opt/VRTSvcs/bin/haconf -makerw server_2# /opt/VRTSvcs/bin/haconf -dump -makero server_3# cat /etc/VRTSvcs/conf/config/main.cf Note: The main.cf file should be a little different.