执行此过程向现有群集添加新节点。
在新的群集节点上安装硬件。
在新节点上安装主机适配器并检验所有现有群集互连是否可以支持此新节点。
请参阅 Sun Cluster Hardware Administration Manual for Solaris OS。
安装所有其它存储器。
请参阅 Sun Cluster 3.x Hardware Administration Collection 中的相应手册。
确保已安装了 Solaris 操作环境来支持 Sun Cluster 软件。
如果节点上已安装了 Solaris 软件,必须确保 Solaris 安装满足 Sun Cluster 软件和任何其它要在群集中安装的软件的要求。 有关安装 Solaris 软件需要满足 Sun Cluster 软件要求方面的信息,请参阅如何安装 Solaris 软件 。
确保节点上安装了 Sun Cluster 软件包。
请参阅如何安装 Sun Cluster 软件包 。
完成以下配置工作表。
表 2–9 已添加节点配置工作表
有关规划指南的信息,请参阅规划 Solaris 操作环境 和规划 Sun Cluster 环境。
是否要将此节点添加到单节点群集中?
确定现有群集节点中是否存在两个群集互连。
必须配置了至少两条电缆或两个适配器。
# scconf -p | grep cable # scconf -p | grep adapter |
配置新的群集互连。
在现有群集节点上,启动 scsetup(1M) 公用程序。
# scsetup |
选择“Cluster interconnect”。
选择“Add a transport cable”。
按照说明指定要添加到群集中的节点名称、传输适配器的名称,并指定是否使用传输结点。
如果需要,重复步骤 c 以配置第二个群集互连。
完成后,退出 scsetup 公用程序。
验证群集现在是否已配置两个群集互连。
# scconf -p | grep cable # scconf -p | grep adapter |
命令输出结果应该显示至少两个群集互连的配置信息。
向群集认证节点列表中添加新节点。
在所有活动群集成员上,启动 scsetup(1M) 公用程序。
# scsetup |
显示“Main Menu”。
选择“New nodes”。
选择“Specify the name of a machine which may add itself”。
按照提示操作,将节点名称添加到验证过的机器列表中。
检验任务是否已经成功。
如果无误地完成任务,scsetup 公用程序将输出消息 Command completed successfully。
退出 scsetup 公用程序。
成为要配置的群集节点上的超级用户。
启动 scinstall 公用程序。
# /usr/cluster/bin/scinstall |
按照以下指导信息使用交互式的 scinstall 公用程序:
交互式的 scinstall 使您可以提前键入。 因此,如果未立即出现下一个菜单屏幕,请不要多次按 Return 键。
除非另外指明,否则按 Control-D 键可返回到一系列相关问题的开始处或者返回到 “主菜单”。
缺省答案或以前会话的答案将显示在问题末尾的方括号 ([ ]) 中。 按 Return 键即可输入括号中的答复而无需键入。
从“Main Menu”中选择“Install a cluster or cluster node”。
*** Main Menu *** Please select from one of the following (*) options: * 1) Install a cluster or cluster node 2) Configure a cluster to be JumpStarted from this install server 3) Add support for new data services to this cluster node * 4) Print release information for this cluster node * ?) Help with menu options * q) Quit Option: 1 |
从“Install Menu”中选择“Add this machine as a node in an existing cluster”。
按照菜单提示将您的答案提供给 步骤 4 中完成的表 2–9。
scinstall 公用程序将配置节点并将节点引导到群集中。
在所有其它节点上重复此过程以将其添加到群集中,直到完全配置了这些节点。
# /usr/cluster/bin/scconf -a -T node=. |
添加
指定验证选项
指定将带点 (.) 的节点名称添加到认证列表中,以阻止任何其它节点将自身添加到群集中
或者,您可以使用 scsetup(1M) 公用程序。 有关步骤,请参阅《Sun Cluster 系统管理指南(适用于 Solaris OS)》中的“添加和删除群集节点”的“如何将群集节点添加到认证的节点列表中”。
SPARC: 是否要安装 VERITAS File System?
如果否,请设置名称服务查找顺序。 转到如何配置名称服务开关 。
以下示例显示执行的 scinstall 命令以及被公用程序记录为 scinstall 的消息如何在节点 phys-schost-3 上完成配置任务。 发起节点为 phys-schost-1。
>>> Confirmation <<< Your responses indicate the following options to scinstall: scinstall -ik \ -C sc-cluster \ -N phys-schost-1 \ -A trtype=dlpi,name=hme1 -A trtype=dlpi,name=hme3 \ -m endpoint=:hme1,endpoint=switch1 \ -m endpoint=:hme3,endpoint=switch2 Are these the options you want to use (yes/no) [yes]? Do you want to continue with the install (yes/no) [yes]? Checking device to use for global devices file system ... done Adding node "phys-schost-3" to the cluster configuration ... done Adding adapter "hme1" to the cluster configuration ... done Adding adapter "hme3" to the cluster configuration ... done Adding cable to the cluster configuration ... done Adding cable to the cluster configuration ... done Copying the config from "phys-schost-1" ... done Setting the node ID for "phys-schost-3" ... done (id=3) Verifying the major number for the "did" driver with "phys-schost-1" ...done Checking for global devices global file system ... done Updating vfstab ... done Verifying that NTP is configured ... done Installing a default NTP configuration ... done Please complete the NTP configuration after scinstall has finished. Verifying that "cluster" is set for "hosts" in nsswitch.conf ... done Adding the "cluster" switch to "hosts" in nsswitch.conf ... done Verifying that "cluster" is set for "netmasks" in nsswitch.conf ... done Adding the "cluster" switch to "netmasks" in nsswitch.conf ... done Verifying that power management is NOT configured ... done Unconfiguring power management ... done /etc/power.conf has been renamed to /etc/power.conf.61501001054 Power management is incompatible with the HA goals of the cluster. Please do not attempt to re-configure power management. Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ...done Ensure network routing is disabled ... done Network routing has been disabled on this node by creating /etc/notrouter. Having a cluster node act as a router is not supported by Sun Cluster. Please do not re-enable network routing. Log file - /var/cluster/logs/install/scinstall.log.9853 Rebooting ... |