可能需要禁用一个群集传输电缆,以便临时关闭一个群集互连路径。这在排查群集互连故障 或更换群集硬件时有用。
当禁用一个电缆后,电缆的两个端点 仍处于已配置状态。如果一个适配器仍用作一个传输电缆的一个端点,则无法移除该适配器。
一个群集节点要成为一个群集的成员,至少需要有一个使用中的电缆连接到 群集互连。每次禁用一个电缆前,都要检验节点的群集互连的状态。对于一个电缆连接,只有验证了它是 冗余的(即除它之外还有另外一个连接),才予以禁用。禁用节点所剩的最后一个工作电缆会使节点 脱离群集。
成为群集中任一节点上的超级用户。
在禁用一个电缆前检查群集互连的状态。
# scstat -W |
如果在尝试移除由两个节点组成的群集的一个节点时接收到一个 错误(如 "path faulted"),请在继续进行此过程前调研该问题。这样一个问题可能 表明一个节点路径不可用。如果移除所剩的正常路径,则会使节点脱离群集,并可能导致群集重新配置。
输入 scsetup 公用程序。
# scsetup |
出现主菜单。
通过输入 2(群集互连)访问群集互连菜单。
通过输入 8(禁用一个传输电缆)。
按说明操作并输入系统请求的信息。将禁用此群集互连上的所有组件。您需要输入您尝试标识的电缆的一个端点的节点名称和适配器名称。
检验是否已禁用电缆。
# scconf -p | grep cable |
此示例展示如何禁用在节点 phys-schost-2 上的 适配器 qfe-1 上的群集传输电缆。
[Become superuser on any node.] [Enter the scsetup utility:] # scsetup [Enter option 8:] *** Cluster Interconnect Menu *** Please select from one of the following options: ... 8) Disable a transport cable ... Option: 8 [Enter the requested information:] >>> Disable a Cluster Transport Cable <<< ... Is it okay to continue (yes/no) [yes]? <Return> ... To which node is the cable attached? phys-schhost-2 Name of the adapter on "phys-schost-2"? qfe-1 Is it okay to proceed with the update (yes/no) [yes]? <Return> scconf -c -m endpoint=phys-schost-2:qfe1,state=disabled Command completed successfully. Hit ENTER to continue: <Return> [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 |