您还可以使用 SunPlex Manager GUI 来完成此过程。有关详细信息,请参阅 SunPlex Manager 的联机帮助。
请按照以下过程从节点配置中删除群集传输电缆、传输适配卡和传输结点。禁用电缆后,电缆的两个端点仍处于已配置状态。如果适配卡正用作传输电缆的端点,则无法删除该适配卡。
一个群集节点要成为一个群集的成员,至少需要有一个工作正常的电缆连接到群集互连。禁用电缆前,请务必检验节点的群集互连的状态。对于一个电缆连接,只有验证了它是冗余的(即除它之外还有另外一个连接),才予以禁用。禁用节点所剩的最后一个工作电缆会使该节点脱离群集。
成为群集中任一节点的超级用户。
检查剩余的群集传输路径的状态。
# scstat -W |
如果在尝试删除由两个节点组成的群集中的一个节点时接收到错误(如 "path faulted"),请先调查问题,然后再继续进行此过程。这样的问题可能表明节点路径不可用。如果删除所剩的正常路径,则会使节点脱离群集,并可能导致重新配置群集。
输入 scsetup 实用程序。
# scsetup |
这时将显示主菜单。
通过键入 3(群集互连)来访问 "Cluster Interconnect" 菜单。
通过键入 4(删除传输电缆)来删除电缆。
(按说明输入请求的信息。)
如果删除的是物理电缆,请断开端口与目标设备之间的电缆。
通过键入 5(从节点删除传输适配卡)来删除适配卡。
(按说明输入请求的信息。)
如果要从节点删除物理适配卡,请参阅《Sun Cluster 3.0 U1 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 scsetup utility:] # 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 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 |