正如“添加一个节点”任务图中所述,在将一部计算机添加到一个现有群集之前,确保该节点上已正确安装和配置所有需要的软件和 硬件,包括到一个专用群集互连的正确的物理连接。有关软件安装的详细信息,请 参阅 Sun Cluster 3.0 安装指南 和 scinstall(1M) 手册页。至于硬件安装,请参 考 Sun Cluster 3.0 Hardware Guide 或服务器附带的硬件文档。
成为一个当前群集成员节点上的超级用户。
执行 scsetup 公用程序。
# scsetup |
出现主菜单。
通过在 Main Menu 中输入 5 来访问 New Nodes Menu 选项。
在 New Nodes Menu 中通过输入 3(指定机器的名称)修改授权的列表。
指定可以添加它自身的机器的名称。
按照提示来添加群集节点。系统将询问您要添加的节点的名称。
检验该节点是否已添加到授权的列表中。
# scconf -p | grep "Cluster new node" |
以下示例展示如何将一个名为 phys-schost-3 的节点添加到一个现有群集中。
[Become a superuser.]
[Execute scsetup utility.]
# scsetup
*** Main Menu ***
Please select from one of the following options:
Option: 5
*** New Nodes Menu ***
Please select from one of the following options:
...
3) Specify the name of a machine which may add itself
...
Option: 3
>>> Specify a Machine which may Install itself into the Cluster <<<
...
Is it okay to continue (yes/no) [yes]? <Return>
Name of the host to add to the list of recognized machines? phys-schost-3
Is it okay to proceed with the update (yes/no) [yes]? <Return>
scconf -a -T node=phys-schost-3
Command completed successfully.
[Quit the scsetup New Nodes Menu and Main Menu:]
...
Option: q
[Verify the node has been added.]
# scconf -p | grep "Cluster new"
Cluster new node authentication: unix
Cluster new node list: phys-schost-3
|
Sun Cluster 3.0 安装指南: Installing and Configuring Sun Cluster Sofware.