- 论坛徽章:
- 0
|
自己在虚拟机下作了一个测试,快速建了一个两节点的CLUSTER,然后把其中一个节点停了,new了一个新的系统,用下面的方法把新系统替换了之前的那个节点,测试下来基本没问题。
主要是参考vcs_install.pdf文档中的add node,中间出了一点问题,修复了。
Row install VCS package
1.precheck HardWare Enviroment
2.Install VCS package
cd /mnt/cdrom/dist_arch/cluster_server/rpms
Installing the Infrastructure RPMs
rpm -i VRTScpi-*.rpm
rpm -i VRTSjre-*.rpm
rpm -i VRTSperl-*.rpm
rpm -i VRTSvlic-*.rpm
rpm -i VRTSweb-*.rpm
Installing VCS RPMs
rpm -i VRTSllt-*.rpm
rpm -i VRTSgab-*.rpm
rpm -i VRTSvcs-*.rpm
rpm -i VRTSvcsmg-*.rpm
rpm -i VRTSvcsag-*.rpm
rpm -i VRTScutil-*.rpm
rpm -i VRTScscw-*.rpm
rpm -i VRTSvcsw-*.rpm
vcs pkg opt
rpm -i VRTSvxfen-*.rpm
rpm -i VRTSvcsmn-*.rpm
rpm -i VRTSvcsdc-*.rpm
rpm -i VRTSvcsdr-*.rpm
rpm -i VRTScssim-*.rpm
rpm -i VRTScscm-*.rpm
rpm -i VRTSvcsApache-*.rpm
reboot system
3.Adding a License Key
# cd /opt/VRTS/bin
# ./vxlicinst -k XXXX-XXXX-XXXX-XXXX-XXXX-XXX
4.Configuring LLT and GAB
Create the file /etc/llthosts as Exist System
0 north
1 south
Create the file /etc/llttab as Exist System
-----
set-node south
set-cluster 2
link eth1 eth1 - ether - -
link eth2 eth2 - ether - -
-----
Create the file /etc/gabtab on the new system south as Exist System
----
/sbin/gabconfig -c -n2
----
Create the file /etc/gabtab on the new system south as Exist System
5.restart South system to enable VCS deamon
If we are adding New system to Exists VCS Cluster,fllow 6-7 steps instead 5 step
6.On the new system, run the command: # /sbin/lltconfig -c
7.#North Exits system type
haconf -makerw
hasys -add east
haconf -dump -makero
#South
hastart
Error Information:
[root@linux1 etc]# lltconfig -c
LLT lltconfig ERROR V-14-2-15000 open /dev/llt failed: No such file or directory
After install the vcs rpm package, you must reboot system to enable module llt,otherwise
you will encounter this error,because /dev/llt has not be enabled in system.
[root@linux1 ~]# hastatus -sum
-- SYSTEM STATE
-- System State Frozen
A linux1 RUNNING 0
A linux2 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B ClusterService linux1 Y N ONLINE
B ClusterService linux2 Y N OFFLINE
B SG_test linux1 Y N OFFLINE
B SG_test linux2 Y N OFFLINE
[root@linux1 ~]#
[root@linux1 ~]# lltstat -n
LLT node information:
Node State Links
* 0 linux1 OPEN 2
1 linux2 OPEN 2
[root@linux1 ~]# gabconfig -a
GAB Port Memberships
===============================================================
Port a gen 103fa02 membership 01
Port h gen 103fa04 membership 01
[root@linux1 ~]# |
|