本节叙述了重新配置群集互连(诸如 cluster transport adapter 和 cluster transport cable)的过程。 这些过程要求安装 Sun Cluster 软件。
在大多数情况下,您可以使用 scsetup 实用程序来管理群集互连的群集传输。有关详细信息,请参阅 scsetup(1M) 手册页。
有关群集软件的安装过程,请参阅《Sun Cluster 3.0 12/01 软件安装指南》。有关维护群集硬件组件的过程,请参阅《Sun Cluster 3.0 12/01 Hardware Guide》。
在群集互连过程中,只要适合,一般情况下都可以使用缺省端口名。缺省端口名与电缆适配器端所在的那个节点的内部节点 ID 号相同。 但是,不能让某些适配器类型(如 SCI)使用缺省端口名。
任务 |
有关说明,请转到... |
---|---|
管理群集传输 - 使用 scsetup | |
检查群集互连的状态 - 使用 scstat | |
添加群集传输电缆、传输适配器或传输结点 - 使用 scsetup | |
删除群集传输电缆、传输适配器或传输结点 - 使用 scsetup | |
启用群集传输电缆 - 使用 scsetup | |
禁用群集传输电缆 - 使用 scsetup |
完成对群集互连的动态重新配置 (DR) 操作时,有几个问题必须予以考虑。
相关文档中适用于 Solaris 8 DR 功能的所有要求、步骤和限制同样适用于 Sun Cluster DR 支持(唯一的区别是操作环境静态操作)。 因此,在通过 Sun Cluster 软件使用 DR 之前,须查阅有关 Solaris 8 DR 功能的文档。应特别查阅那些在 DR 分离操作期间影响非网络 IO 设备的问题。
不能对活动的专用互连接口执行 DR 删除操作。
如果 DR 删除操作会影响活动的专用互连接口,系统将拒绝操作并标识出会受此操作影响的接口。
更换专用互连上的某个接口之后,该接口的状态保持不变,从而不需再执行一些步骤来重新配置 Sun Cluster。
Sun Cluster 要求每个群集节点都至少拥有一条通向其他各群集节点的有效路径。如果某个专用互连接口支持到任何群集节点的最后一条路径,则请勿禁用它。
对公共网络接口执行 DR 操作时,请按所示顺序完成下列过程。
表 5-2 任务表:动态重新配置公共网络接口
任务 |
有关说明,请转到... |
---|---|
1. 从活动的互连中禁用并删除接口 | |
2. 对公共网络接口执行 DR 操作。 |
《Sun Enterprise 10000 Dynamic Reconfiguration User Guide》和《Sun Enterprise 10000 Dynamic Reconfiguration Reference Manual》(出自《 Solaris 8 on Sun Hardware》集) |
您还可以使用 SunPlex Manager GUI 来完成此过程。 有关详细信息,请参阅 SunPlex Manager 的联机帮助。
执行此步骤不需要作为超级用户登录。
检查群集互连的状态。
# scstat -W |
常见的状态消息如下所示。
状态消息 |
说明和可能的操作 |
---|---|
Path online |
此路径当前可正常工作。 不需要执行任何操作。 |
Path waiting |
当前正在初始化此路径。 不需要执行任何操作。 |
Path faulted |
此路径当前不工作。 如果路径在等待和联机状态之间,则这种情况是瞬态的。 如果重新运行 scstat -W 后,此消息依然存在,则请采取更正措施。 |
以下示例显示了群集互连正常运行时的状态。
# scstat -W -- Cluster Transport Paths -- Endpoint Endpoint Status -------- -------- ------ Transport path: phys-schost-1:qfe1 phys-schost-2:qfe1 Path online Transport path: phys-schost-1:qfe0 phys-schost-2:qfe0 Path online Transport path: phys-schost-1:qfe1 phys-schost-3:qfe1 Path online Transport path: phys-schost-1:qfe0 phys-schost-3:qfe0 Path online Transport path: phys-schost-2:qfe1 phys-schost-3:qfe1 Path online Transport path: phys-schost-2:qfe0 phys-schost-3:qfe0 Path online |
您还可以使用 SunPlex Manager GUI 来完成此过程。 有关详细信息,请参阅 SunPlex Manager 的联机帮助。
确保安装了cluster transport cable(电缆本身)。
有关安装cluster transport cable的过程,请参阅《Sun Cluster 3.0 12/01 Hardware Guide》。
成为群集中任一节点上的超级用户。
进入 scsetup 实用程序。
# scsetup |
显示"Main Menu"。
通过键入 3(群集互连)来访问"Cluster Interconnect Menu"(群集互连菜单)。
如果配置所使用的是 SCI 适配器,则在该过程的 "添加" 操作中提示适配器连接(端口名)时,不要接受缺省设置。 应提供在 Dolphin 交换机上所找到的端口名(0、 1、 2 或 3),节点与之通过电缆以物理方式进行连接。
通过键入 1(添加传输电缆)来添加传输电缆。
按说明输入请求的信息。
通过键入 2(向节点添加传输适配器)来添加传输适配器。
按说明输入请求的信息。
通过键入 3(添加传输结点)来添加传输结点。
按说明输入请求的信息。
检验是否已添加cluster transport cable、传输适配器或传输结点。
# scconf -p | grep cable # scconf -p | grep adapter # scconf -p | grep junction |
以下示例显示了如何使用 scsetup 命令向节点添加传输电缆、传输适配器或传输结点。
[Ensure the physical cable is installed.] Become superuser on any node and place the node to be removed in maintenance state. # scsetup Select Cluster interconnect. Select either Add a transport cable, Add a transport adapter to a node, or Add a transport junction. Answer the questions when prompted. You Will Need: Example: node names phys-schost-1 adapter names qfe2 junction names hub2 transport type dlpi [Verify that the scconf command completed successfully:] Command completed successfully. Quit the scsetup Cluster Interconnect Menu and Main Menu. [Verify that the cable, adapter, and junction are added:] # scconf -p | grep cable Transport cable: phys-schost-2:qfe0@1 ethernet-1@2 Enabled Transport cable: phys-schost-3:qfe0@1 ethernet-1@3 Enabled Transport cable: phys-schost-1:qfe0@0 ethernet-1@1 Enabled # scconf -p | grep adapter Node transport adapters: qfe2 hme1 qfe0 Node transport adapter: qfe0 Node transport adapters: qfe0 qfe2 hme1 Node transport adapter: qfe0 Node transport adapters: qfe0 qfe2 hme1 Node transport adapter: qfe0 # scconf -p | grep junction Cluster transport junctions: hub0 hub1 hub2 Cluster transport junction: hub0 Cluster transport junction: hub1 Cluster transport junction: hub2 |
您还可以使用 SunPlex Manager GUI 来完成此过程。 有关详细信息,请参阅 SunPlex Manager 的联机帮助。
请按照以下过程从节点配置中删除群集传输电缆、传输适配器和传输结点。 禁用电缆后,电缆的两个端点仍处于已配置状态。 如果适配器正用作传输电缆的端点,则无法删除该适配器。
每个群集节点至少需要一条通向群集中其他各节点的有效传输路径。 任何两个节点之间都必须有传输路径。 禁用电缆前,请务必检验节点的群集互连的状态。 仅当您确信某个电缆连接为冗余之后才可禁用它。这就是说,有另外一个连接可用。禁用节点所剩的最后一条工作电缆会使该节点脱离群集。
成为群集中任一节点上的超级用户。
检查其余群集传输路径的状态。
# scstat -W |
如果在尝试删除由两个节点所组成的群集中的一个节点时收到错误消息(如 "path faulted"),请先找出问题之所在,然后再继续执行此过程。这样的问题可能表明节点路径不可用。 如果删除仅剩的那根有效路径,则会使该节点脱离群集,并可能导致重新配置群集。
进入 scsetup 实用程序。
# scsetup |
显示"Main Menu"。
通过键入 3(群集互连)来访问群集互连菜单。
通过键入 4(删除传输电缆)来删除电缆。
按说明输入请求的信息。 您需要知道所适用的节点名称、适配器名称和结点名称。
如果删除的是物理电缆,请断开端口与目标设备之间的电缆。
通过键入 5(从节点删除传输适配器)来删除适配器。
按说明输入请求的信息。 您需要知道所适用的节点名称、适配器名称和结点名称。
如果要从节点删除物理适配器,请参阅《Sun Cluster 3.0 12/01 Hardware Guide》,以了解硬件维护过程的有关信息。
通过键入 6(删除传输结点)来删除结点。
按说明输入请求的信息。 您需要知道所适用的节点名称、适配器名称和结点名称。
如果结点的任一端口正用作任一传输电缆的端点,则无法删除它。
检验是否已删除电缆或适配器。
# scconf -p | grep cable # scconf -p | grep adapter # scconf -p | grep junction |
此命令的输出内容中不应出现已从指定节点删除的传输电缆或适配器。
以下示例显示了如何使用 scsetup 命令来删除传输电缆、传输适配器或传输结点。
[Become superuser on any node in the cluster.] [Enter the utility:] # scsetup Type 3 (Cluster interconnect). Select either Add a transport cable, Add a transport adapter to a node, or Add a transport junction. Answer the questions when prompted. You Will Need: Example: node names phys-schost-1 adapter names qfe1 junction names hub1 [Verify that the scconf command completed successfully:] "Command completed successfully." Quit the scsetup Cluster Interconnect Menu and Main Menu. [Verify that the cable, adapter, or junction is removed:] # scconf -p | grep cable Transport cable: phys-schost-2:qfe0@1 ethernet-1@2 Enabled Transport cable: phys-schost-3:qfe0@1 ethernet-1@3 Enabled Transport cable: phys-schost-1:qfe0@0 ethernet-1@1 Enabled # scconf -p | grep adapter Node transport adapters: qfe2 hme1 qfe0 Node transport adapter: qfe0 Node transport adapters: qfe0 qfe2 hme1 Node transport adapter: qfe0 Node transport adapters: qfe0 qfe2 hme1 Node transport adapter: qfe0 # scconf -p | grep junction Cluster transport junctions: hub0 hub2 Cluster transport junction: hub0 Cluster transport junction: hub2 |
您还可以使用 SunPlex Manager GUI 来完成此过程。 有关详细信息,请参阅 SunPlex Manager 的联机帮助。
此选项用于启用现有的群集传输电缆。
成为群集中任一节点上的超级用户。
进入 scsetup 实用程序。
# scsetup |
显示"Main Menu"。
通过键入 2(群集互连)来访问群集互连菜单。
通过键入 7(启用传输电缆)来启用传输电缆。
出现提示后按说明操作。 对于您正尝试标识的那根电缆,您需要输入它的其中一个端点的节点名称和适配器名称。
检验是否已启用该电缆。
# scconf -p | grep cable |
此示例说明了如何启用位于节点 phys-schost-2 的适配器 qfe-1 上的群集传输电缆。
[Become superuser on any node.] [Enter the scsetup utility:] # scsetup Select Cluster interconnect>Enable a transport cable. Answer the questions when prompted. You will need the following information. You Will Need: Example: node names phys-schost-2 adapter names qfe1 junction names hub1 [Verify that the scconf command completed successfully:] scconf -c -m endpoint=phys-schost-2:qfe1,state=enabled Command completed successfully. Quit the scsetup Cluster Interconnect Menu and Main Menu. [Verify that the cable is enabled:] # scconf -p | grep cable Transport cable: phys-schost-2:qfe1@0 ethernet-1@2 Enabled Transport cable: phys-schost-3:qfe0@1 ethernet-1@3 Enabled Transport cable: phys-schost-1:qfe0@0 ethernet-1@1 Enabled |
您还可以使用 SunPlex Manager GUI 来完成此过程。 有关详细信息,请参阅 SunPlex Manager 的联机帮助。
您可能需要禁用群集传输电缆,以便临时关闭群集互连路径。 这在排除群集互连的故障或更换群集互连硬件时很有用。
禁用电缆后,电缆的两个端点仍处于已配置状态。 如果适配器仍用作传输电缆的一个端点,则无法删除该适配器。
每个群集节点至少需要一条通向群集中其他各节点的有效传输路径。 任何两个节点之间都必须有传输路径。 禁用电缆前,请务必检验节点的群集互连的状态。 仅当您确信某个电缆连接为冗余之后才可禁用它。这就是说,有另外一个连接可用。禁用节点所剩的最后一条工作电缆会使该节点脱离群集。
成为群集中任一节点上的超级用户。
禁用电缆前,请检查群集互连的状态。
# scstat -W |
如果在尝试删除由两个节点所组成的群集中的一个节点时收到错误消息(如 "path faulted"),请先找出问题之所在,然后再继续执行此过程。这样的问题可能表明节点路径不可用。 如果删除仅剩的那根有效路径,则会使该节点脱离群集,并可能导致重新配置群集。
进入 scsetup 实用程序。
# scsetup |
显示"Main Menu"。
通过键入 3(群集互连)来访问群集互连菜单。
通过键入 8(禁用传输电缆)来禁用电缆。
按说明输入请求的信息。 这时将禁用此群集互连中的所有组件。 对于您正尝试标识的那根电缆,您需要输入它的其中一个端点的节点名称和适配器名称。
检验是否已禁用电缆。
# scconf -p | grep cable |
此示例说明了如何禁用位于节点 phys-schost-2 的适配器 qfe-1 上的群集传输电缆。
[Become superuser on any node.] [Enter the scsetup utility:] # scsetup Select Cluster interconnect>Disable a transport cable. Answer the questions when prompted. You will need the following information. You Will Need: Example: node names phys-schost-2 adapter names qfe1 junction names hub1 [Verify that the scconf command completed successfully:] scconf -c -m endpoint=phys-schost-2:qfe1,state=disabled Command completed successfully. Quit the scsetup Cluster Interconnect Menu and Main Menu. [Verify that the cable is disabled:] # scconf -p | grep cable Transport cable: phys-schost-2:qfe1@0 ethernet-1@2 Disabled Transport cable: phys-schost-3:qfe0@1 ethernet-1@3 Enabled Transport cable: phys-schost-1:qfe0@0 ethernet-1@1 Enabled |