13 years ago
Setting up a 2 node cluster
Hi
Iam new to VCS .I have installed VCS Trial Version 6.0 on my 2 rhel05 Virtual Machine.
VCS is installed and running on both the Machine.But iam not able to create a 2 node cluster out of it. ...
- 13 years ago
To create a 2 node cluster, you should run vcsinstall -configure on one of the nodes and have passwordless ssh between the 2 servers (or rsh and use -rsh flag on vcsinstall). Have you tried this and if so what error did you get.
Your problem maybe you have not setup heartbeats in VMWare - you should create at least one, ideally 2 private (Host-only) networks in VMware for the heartbeats.
If vcsinstall in failing, you can install manually instead - on both nodes:
Create /etc/llthosts containing:
0 nodename1 1 nodename2
/etc/llttab containing:
set-node /etc/VRTSvcs/conf/sysname set-cluster ClusterId link link1 NicDevice1 - ether - - link link2 NicDevice2 - ether - -
/etc/VRTSvcs/conf/sysname containing:nodename
/etc/gabtab containing:/sbin/gabconfig -c -n 2
- Check contents of /etc/sysconfig/vcs for line that says ONENODE= to make sure this says no
- You may need to copy types.cf file from /etc/VRTSvcs/conf to /etc/VRTSvcs/conf/config
- Create a main.cf file on one of the nodes in /etc/VRTSvcs/conf to /etc/VRTSvcs/conf/config as follows:
include "types.cf"
cluster cluster_name (
)
system nodename1 ()
system nodename2 ()
- Start LLT - I think path is - /etc/rc2.d/S70llt start (both nodes)
- Start GAB - I think path is - /etc/rc2.d/S92gab start
- Start VCS on the node you created main.cf - /opt/VRTSvcs/bin/hastart
- Start VCS on the other node /opt/VRTSvcs/bin/hastart
- Run /opt/VRTSvcs/bin/hauser -add admin -priv Administrator
Mike