免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3695 | 回复: 1
打印 上一主题 下一主题

[其他] 【紧急求助】关于VCS其中一个节点重新安装问题,在线等! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-03-26 21:39 |只看该作者 |倒序浏览
VCS中有两个节点(node1 node2),
其中一个节点node1因为系统根盘故障重新安装了,
现在需要把这个节点重新加入到原先的Cluster中,
请教大家应该怎么安装呢?
我在node1上按照初始安装进行,提示"对node2的升级失败",
应该不是这么安装了,
请大家帮忙解答一下!
万分感谢!

论坛徽章:
0
2 [报告]
发表于 2011-03-26 23:25 |只看该作者
自己在虚拟机下作了一个测试,快速建了一个两节点的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 ~]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP