在新节点上安装和配置 VCS
将 VCS 集群软件安装到 node03.
当要求配置它时,选择“否”。
安装完 vcs 软件后,从软件介质运行 installsf:
# cd /cdrom/VRTSvcs/ # installsf -addnode
输入集群现有节点之一的名称
Enter a node of SF cluster to which you want to add a node: node01
Checking communication on node01 .................. Done Checking release compatibility on node01 .......... Done
Following cluster information detected: Cluster Name: geekdiary Cluster ID: 3 Systems: node01 node02 Is this information correct? [y,n,q] (y)? y
Checking communication on node03 ................. Done Checking VCS running state on node01 ............. Done Checking VCS running state on node02 ............. Done Checking VCS running state on node03 ............. Done
Enter the system names separated by spaces to add to the cluster:? node03
Checking communication on node03.................. Done Checking release compatibility on node03.......... Done Do you want to add the system(s) node03 to the cluster geekdiary? [y,n,q] (y)? y
Checking installed product on cluster geekdiary ....... SF5.1 Checking installed product on node03 ............ SF5.1 Checking installed packages on node03 ........... Done
Discovering NICs on node03 ... Discovered nxge0 nxge1 nxge2 nxge3 To use aggregated interfaces for private heartbeat, enter the name of an aggregated interface. To use a NIC for private heartbeat, enter a NIC which is not part of an aggregated interface. Enter the NIC for the first private heartbeat link on node03: [b,q,?]? nxge2 Would you like to configure a second private heartbeat link? [y,n,q,b,?] (y)? y Enter the NIC for the second private heartbeat link on node03: [b,q,?]? nxge3 Would you like to configure a third private heartbeat link? [y,n,q,b,?] (n)? n Do you want to configure an additional low priority heartbeat link? [y,n,q,b,?] (n)? n Checking Media Speed for nxge2 on node03 ......... 1000 Checking Media Speed for nxge3 on node03 ......... 1000
Private Heartbeat NICs for train10: link1=nxge2 link2=nxge3 Is this information correct? [y,n,q] (y)? y
如果我们已配置虚拟集群 IP
Cluster Virtual IP is configured on the cluster geekdiary A public NIC device is required by following services on each of the newly added nodes: Cluster Virtual IP Active NIC devices discovered on node03: nxge0 nxge1 Enter the NIC for the VCS to use on node03: (nxge0) nxge0
可能需要向现有 VCS 集群添加新节点以增加集群容量。
另一种需要添加新节点的情况是节点的硬件升级。
在这篇文章中,我们将向现有的 2 节点集群添加第三个节点 (node03)。
on it road.com
检查确认
确认配置:在 node03 上运行这些命令
# lltstat -nvv # cat /etc/llttab # cat /etc/llthosts # gabconfig -a # cat /etc/gabtab # vxfenadm -d # cat /etc/vxfenmode # cat /etc/VRTSvcs/conf/config/main.cf (ClusterServices Sg should have node03)
- 如果以上所有设置都正确,则将内存中的 vcs 配置转储到 main.cf
# haconf -makerw
日期:2020-09-17 00:15:02 来源:oir作者:oir