使用以下过程从节点中移除群集传输电缆和群集传输适配器。当禁用一个电缆后,电缆的两个端点 仍处于已配置状态。如果一个适配器仍用作一个传输电缆的一个端点,则无法移除该适配器。
一个群集节点要成为一个群集的成员,至少需要有一个使用中的电缆连接到 群集互连。每次禁用一个电缆前,都要检验节点的群集互连的状态。对于一个电缆连接,只有验证了它是 冗余的(即除它之外还有另外一个连接),才予以禁用。禁用节点所剩的最后一个工作电缆会使节点 脱离群集。
成为群集中任一节点上的超级用户。
检查尚存的群集传输路径的状态。
# scstat -W |
如果在尝试移除由两个节点组成的群集的一个节点时接收到一个 错误(如 "path faulted"),请在继续进行此过程前调研该问题。这样一个问题可能 表明一个节点路径不可用。如果移除所剩的正常路径,则会使节点脱离群集,并可能导致群集重新配置。
执行 scsetup 公用程序。
# scsetup |
出现主菜单。
通过输入 2(群集互连)访问群集互连菜单。
通过输入 4(移除一个传输电缆)移除传输电缆。
按说明操作并输入系统请求的信息。您需要输入您尝试标识的电缆的一个端点的节点名称和适配器名称。
*** Cluster Interconnect Menu *** Please select from one of the following options: ... 4) Remove a transport cable ... Option: 4 ... >>> Remove a Cluster Transport Cable <<< ... Is it okay to continue (yes/no) [yes]? <Return> ... To which node is the cable attached? nodename Name of the adapter on "node"? adaptername Is it okay to proceed with the update (yes/no) [yes]? <Return> ... Command completed successfully. Hit ENTER to continue: <Return> |
如果您要移除一个物理电缆,请断开端口与目标设备之间的电缆。
要移除一个适配器,请输入 5(从一个节点移除一个传输适配器)。
按说明操作并输入系统请求的信息。您需要输入您尝试标识的电缆的一个端点的节点名称和适配器名称。
*** Cluster Interconnect Menu ** Please select from one of the following options: ... 5) Remove a transport adapter ... Option: 5 ... >>> Remove a Cluster Transport Adapter <<< ... Is it okay to continue (yes/no) [yes]? <Return> ... To which node is the cable attached? nodename Name of the adapter on "node"? adaptername Is it okay to proceed with the update (yes/no) [yes]? <Return> ... Command completed successfully. Hit ENTER to continue: <Return> |
如果您要从节点移除一个物理适配器,请参见 Sun Cluster 3.0 Hardware Guide 中的硬件维护过程。
检验是否已移除电缆或适配器。
# scconf -p | grep cable # scconf -p | grep adapter |
此命令的输出中不应出现已从给定节点移除的传输电缆或适配器。
以下示例展示如何使用 scsetup 命令来移除一个传输电缆或传输适配器。
[Become superuser on a node in the cluster.] [Execute the scsetup utility:] # scsetup [Enter option 2:] *** Main Menu *** Please select from one of the following options: ... 2) Cluster interconnect ... Option: 2 [Enter option 4 to remove a cable:] *** Cluster Interconnect Menu *** Please select from one of the following options: ... 4) Remove a transport cable ... Option: 4 [Enter the requested information:] >>> Remove 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-0 Is it okay to proceed with the update (yes/no) [yes]? <Return> . scconf -a -m endpoint=phys-schost-2:hme1,endpoint=hub0 Command completed successfully. Hit ENTER to continue: <Return> [Enter option 5 to remove an adapter:] *** Cluster Interconnect Menu *** Please select from one of the following options: ... 5) Remove a transport adapter from a node ... Option: 5 [Enter the requested information:] >>> Remove a Cluster Transport Adapter <<< ... 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-0 Is it okay to proceed with the update (yes/no) [yes]? <Return> . scconf -r -m endpoint=phys-schost-2:hme1 Command completed successfully. Hit ENTER to continue: <Return> [Verify that the cable or adapter 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 |