执行此过程以在群集的所有节点上配置 Sun Cluster 软件。
确保已安装了 Solaris 操作环境来支持 Sun Cluster 软件。
如果节点上已安装了 Solaris 软件,必须确保 Solaris 安装满足 Sun Cluster 软件和任何其它要在群集中安装的软件的要求。 有关安装 Solaris 软件需要满足 Sun Cluster 软件要求方面的信息,请参阅如何安装 Solaris 软件 。
在 Sun Cluster 软件安装期间是否禁用了远程配置?
如果否,则继续执行步骤 4。
如果是,则将修补程序下载到修补程序目录中。
scinstall 命令会在 /var/cluster/patches 或 /var/patches 目录下检查修补程序。 如果两个目录均不存在,则不会添加修补程序。 如果两个目录均存在,则仅添加 /var/cluster/patches 目录中的修补程序。
可以在修补程序目录下包含一个修补程序列表文件。 缺省修补程序列表文件名为 patchlist。 有关创建修补程序列表文件的信息,请参阅 patchadd(1M) 手册页。
完成下列配置工作表之一:
有关规划指南的信息,请参阅规划 Sun Cluster 环境。
表 2–2 交互式 scinstall 配置工作表(典型)
组件 |
说明/示例 |
在此输入答案 |
---|---|---|
群集名称 |
要建立的群集的名称是什么? | |
群集节点 |
初始群集配置中规划的其它群集节点的名称是什么? | |
群集传输适配器和电缆 |
将节点连接到专用互连的两个群集传输适配器的名称是什么? | |
验证检查 |
是否因为 sccheck 出错要中断安装? |
是 | 否 |
对于 Sun Cluster 软件的典型配置,scinstall 将自动指定以下配置缺省值。
组件 |
缺省值 |
---|---|
专用网地址 |
172.16.0.0 |
专用网网络掩码 |
255.255.0.0 |
群集传输结点 |
switch1 和 switch2 |
全局设备文件系统名称 |
/globaldevices |
安装安全性 (DES) |
有限的 |
Solaris 和 Sun Cluster 修补程序目录 |
/var/cluster/patches |
scinstall 进程结束之后,将无法更改专用网地址和网络掩码。 如果需要使用其它专用网地址或网络掩码并且节点仍处于安装模式下,请按照如何卸载 Sun Cluster 软件以纠正安装问题 中的步骤进行。 然后执行如何安装 Sun Cluster 软件包 和此过程中的步骤,以重新安装软件并使用正确信息配置节点。
成为要配置群集的群集节点的超级用户。
启动 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”中,选择“ Install all nodes of a new cluster”。
从“Type of Installation”菜单中,选择“Typical”或“Custom”。
按照菜单提示将您的答案提供给 步骤 4 中完成的表 2–2 或表 2–3。
scinstall 公用程序将安装和配置所有群集节点并重新引导群集。 将所有节点成功引导到群集中之后,即建立了群集。 安装 Sun Cluster 时输出的信息记录在 /var/cluster/logs/install/scinstall.log.N 文件中。
SPARC: 是否要安装 VERITAS File System?
如果否,请设置名称服务查找顺序。 转到如何配置名称服务开关 。
以下示例显示了记录为 scinstall 的进度消息 scinstall 如何在双节点群集上完成配置任务。 群集节点的名称为 phys-schost-1 和 phys-schost-2。 指定的适配器名称为 qfe2 和 hme2。
Installation and Configuration Log file - /var/cluster/logs/install/scinstall.log.834 Testing for "/globaldevices" on "phys-schost-1" ... done Testing for "/globaldevices" on "phys-schost-2" ... done Checking installation status ... done The Sun Cluster software is already installed on "phys-schost-1". The Sun Cluster software is already installed on "phys-schost-2". Starting discovery of the cluster transport configuration. Probing .. The following connections were discovered: phys-schost-1:qfe2 switch1 phys-schost-2:qfe2 phys-schost-1:hme2 switch2 phys-schost-2:hme2 Completed discovery of the cluster transport configuration. Started sccheck on "phys-schost-1". Started sccheck on "phys-schost-2". sccheck completed with no errors or warnings for "phys-schost-1". sccheck completed with no errors or warnings for "phys-schost-2". Configuring "phys-schost-2" ... done Rebooting "phys-schost-2" ... done Configuring "phys-schost-1" ... done Rebooting "phys-schost-1" ... Log file - /var/cluster/logs/install/scinstall.log.834 Rebooting ... |