执行此过程,将新节点添加到现有群集。
确保新节点上已安装主机适配器。
请参见《Sun Cluster Hardware Administration Manual for Solaris OS》。
检验是否存在任何现有的群集互连可以支持新节点。
请参见《Sun Cluster Hardware Administration Manual for Solaris OS》。
确保已安装任何附加存储器。
请参见 Sun Cluster 3.x Hardware Administration Collection 中的相应手册。
确保已安装支持 Sun Cluster 软件的 Solaris OS。
如果节点上已安装了 Solaris 软件,必须确保 Solaris 安装满足 Sun Cluster 软件和任何其他要在群集中安装的软件的要求。有关安装 Solaris 软件需要满足 Sun Cluster 软件要求方面的信息,请参阅如何安装 Solaris 软件。
确保节点上安装了 Sun Cluster 软件包。
完成以下配置工作单。
表 2–8 已添加的节点配置工作单
有关规划指南的信息,请参见规划 Solaris OS和规划 Sun Cluster 环境。
如果要将此节点添加到单节点群集,请确定是否存在两个群集互连。
添加节点之前,必须具有已配置的至少两条电缆或两个适配器。
# scconf -p | grep cable # scconf -p | grep adapter |
如果输出显示两条电缆或两个适配器的配置信息,请继续执行步骤 6。
如果输出未显示电缆或适配器的配置信息,或者仅显示一条电缆或一个适配器的配置信息,请配置新的群集互连。
在现有群集节点上,启动 scsetup(1M) 实用程序。
# scsetup |
选择菜单项“群集互连”。
选择菜单项“添加传输电缆”。
按照说明指定要添加到群集中的节点名称、传输适配器的名称,并指定是否使用传输结点。
如果需要,重复步骤 c 以配置第二个群集互连。
完成后,退出 scsetup 实用程序。
验证群集现在是否已配置两个群集互连。
# scconf -p | grep cable # scconf -p | grep adapter |
命令输出结果应该显示至少两个群集互连的配置信息。
如果要将此节点添加到现有的群集,请将新节点添加到群集的授权节点列表。
在所有活动群集成员上,启动 scsetup(1M) 实用程序。
# scsetup |
显示“Main Menu”。
选择菜单项 “新建节点”。
选择菜单项,指定可能添加其自身的机器的名称。
按照提示操作,将节点名称添加到验证过的机器列表中。
如果无误地完成任务,scsetup 实用程序将输出消息 Command completed successfully。
退出 scsetup 实用程序。
成为要配置的群集节点上的超级用户。
安装 Sun Web Console 软件包。
Sun Cluster 软件需要这些软件包,即使您不使用 Sun Web Console。
如果要使用任何以下功能,请安装附加软件包。
远程共享内存应用程序编程接口 (RSMAPI)
用于互连传输的 SCI-PCI 适配器
RSMRDT 驱动程序
RSMRDT 驱动程序只能在运行已启用 RSM 的 Oracle9i 版本 2 SCI 配置的群集中使用。有关详细的安装和配置说明,请参阅 Oracle9i 版本 2 的用户文档。
确定哪些软件包必须安装。
下表列出了各功能所需的 Sun Cluster 3.1 9/04 软件包以及安装各组软件包时的必须遵循的顺序。scinstall 实用程序不会自动安装这些软件包。
功能 |
要安装的附加 Sun Cluster 3.1 9/04 软件包 |
---|---|
RSMAPI |
SUNWscrif |
SCI-PCI 适配器 |
SUNWsci SUNWscid SUNWscidx |
RSMRDT 驱动程序 |
SUNWscrdt |
确保已安装所有相关的 Solaris 软件包。
请参见如何安装 Solaris 软件中的步骤 8。
在 Sun Cluster 3.1 9/04 CD-ROM 上,转到 Solaris_arch/Product/sun_cluster/Solaris_ver/Packages/ 目录,其中 arch 为 sparc 或 x86,ver 为 8(对于 Solaris 8)或 9(对于 Solaris 9) 。
# cd /cdrom/cdrom0/Solaris_arch/Product/sun_cluster/Solaris_ver/Packages/ |
安装附加软件包。
# pkgadd -d . packages |
如果要将节点添加到单节点群集,请重复这些步骤,以向原群集节点添加相同的软件包。
在 Sun Cluster 3.1 9/04 CD-ROM 上,转到 Solaris_arch/Product/sun_cluster/Solaris_ver/Tools/ 目录,其中 arch 为 sparc 或 x86,其中 ver 为 8(对于 Solaris 8)或 9(对于 Solaris 9) 。
# cd /cdrom/cdrom0/Solaris_arch/Product/sun_cluster/Solaris_ver/Tools/ |
启动 scinstall 实用程序。
# /usr/cluster/bin/scinstall |
按照以下指导信息使用交互式的 scinstall 实用程序:
交互式 scinstall 使您可以提前键入。因此,如果未立即显示下一个菜单屏幕,请勿多次按 Return 键。
除非另外指明,否则按 Control-D 键可返回到一系列相关问题的开始处或者返回到 “主菜单”。
缺省答案或以前会话的答案将显示在问题末尾的方括号 ([ ]) 中。按 Return 键即可输入括号中的答复而无需键入。
从“主菜单”中选择菜单项“安装群集或群集节点”。
*** 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 4) Upgrade this cluster node * 5) Print release information for this cluster node * ?) Help with menu options * q) Quit Option: 1 |
从“安装菜单”中选择菜单项“以节点形式将此计算机添加到现有的群集”。
按照菜单提示进行操作以提供中的答案 (来自步骤 4 中完成的工作单)。
scinstall 实用程序将配置节点并将节点引导到群集中。
切换到非 CD-ROM 中的目录,然后弹出 CD-ROM。
# eject cdrom |
在所有其他节点上重复此过程以将其添加到群集中,直到完全配置了这些节点。
# /usr/cluster/bin/scconf -a -T node=. |
添加
指定验证选项
指定将带点 (.) 的节点名称添加到认证列表中,以阻止任何其他节点将自身添加到群集中
或者,也可以使用 scsetup(1M) 实用程序。有关步骤,请参见《Sun Cluster 系统管理指南(适用于 Solaris OS)》的“添加和删除群集节点”中的“如何将节点添加到授权的节点列表中”。
更新法定选票计数。
增加或减少附着到法定设备的节点数时,群集不会自动重新计算法定选票计数。此步骤将重新建立正确的法定选票。
使用 scsetup 实用程序删除每个法定设备,然后将其添加回配置中。一次对一个法定设备执行此操作。
如果群集仅有一个法定设备,请首先配置第二个法定设备,然后删除和重新添加原法定设备。然后,删除第二个法定设备,将群集返回到其原配置。
安装 Sun StorEdge QFS 文件系统软件。
按照《Sun StorEdge QFS and Sun StorEdge SAM-FS Software Installation and Configuration Guide》中的初始安装过程进行操作。
(可选的) SPARC:要安装 VERITAS 文件系统,请转至SPARC: 如何安装 VERITAS 文件系统 软件?。
设置名称服务的查找顺序。
转到如何配置名称服务开关。
>>> 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 Copying the security keys 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 ... |