以下过程已添加到 Sun Cluster 3.0 5/02 更新版中,并适用于 Sun Cluster 3.0 软件的本更新版和所有后续更新版:
在从完全建好的群集配置中断开连接前,执行此过程从群集节点中卸载 Sun Cluster 软件。您可以使用此过程从群集中的其余最后一个节点中卸载软件。
如果要从尚未加入群集的节点或仍处于安装模式的节点中卸载 Sun Cluster 软件,请不要执行此过程。而应参阅《Sun Cluster 3.0 12/01 软件安装指南》中"如何卸载 Sun Cluster 软件以解决安装问题"。
确保您已正确完成任务表中有关删除群集节点的所有必须预先完成的任务。
请参阅《Sun Cluster 3.0 12/01 系统管理指南》中的"添加和删除群集节点"。
在继续此过程前,请确保您已从所有资源组、设备组和定额设备配置中删除了该节点,并将其置于维护状态,然后从群集中删除该节点。
成为您要卸载的节点之外某个活动群集成员的超级用户。
从该活动的群集成员上,将您要卸载的节点添加到群集的节点验证列表中。
# scconf -a -T node=nodename |
添加
指定验证选项
指定要添加到验证列表中的节点的名称
或者,您可以使用 scsetup(1M) 实用程序。有关相应过程的信息,请参阅《Sun Cluster 3.0 12/01 系统管理指南》中的"如何将群集节点添加到授权的节点列表中"。
成为要卸载的节点的超级用户。
将节点重新引导为非群集模式。
# shutdown -g0 -y -i0 ok boot -x |
在 /etc/vfstab 文件中,删除除 /global/.devices 全局安装之外所有全局安装的文件系统条目。
从该节点中卸载 Sun Cluster 软件。
# cd / # scinstall -r |
有关详细信息,请参阅 scinstall(1M) 手册页。如果 scinstall 返回错误消息,请参阅"有关节点卸载的疑难解答"。
从其他群集设备中断开传输电缆和传输结点(如果有)的连接。
本节介绍在您运行 scinstall -r 命令时可能收到的错误消息以及相应的更正措施。
以下错误消息表示被删除的节点在 vfstab 文件中仍引用了群集文件系统:
Verifying that no unexpected global mounts remain in /etc/vfstab ... failed scinstall: global-mount1 is still configured as a global mount. scinstall: global-mount1 is still configured as a global mount. scinstall: /global/dg1 is still configured as a global mount. scinstall: It is not safe to uninstall with these outstanding errors. scinstall: Refer to the documentation for complete uninstall instructions. scinstall: Uninstall failed. |
要更正此错误,请返回"如何从群集节点卸载 Sun Cluster 软件 (5/02)"并重复相应的过程。在重新运行 scinstall -r 命令前确保已成功完成此过程中的步骤 6。
以下错误消息表示被删除的节点仍位于某个磁盘设备组的潜在主节点列表中:
Verifying that no device services still reference this node ... failed scinstall: This node is still configured to host device service "service". scinstall: This node is still configured to host device service "service2". scinstall: This node is still configured to host device service "service3". scinstall: This node is still configured to host device service "dg1". scinstall: It is not safe to uninstall with these outstanding errors. scinstall: Refer to the documentation for complete uninstall instructions. scinstall: Uninstall failed. |
要更正此错误,请执行以下步骤:
尝试使该节点重新加入群集。
# boot |
该节点是否成功加入群集?
如果否,请继续步骤 3。
如果是,请执行以下步骤从磁盘设备组中删除该节点:
如果该节点成功加入群集,请从其余的磁盘设备组中删除该节点。
按"如何从所有磁盘设备组删除节点 (5/02)"中所述的过程进行操作。
从所有磁盘设备组中删除该节点后,返回"如何从群集节点卸载 Sun Cluster 软件 (5/02)"并重复相应过程。
如果该节点未能重新加入群集,请将该节点的 /etc/cluster/ccr 文件重命名为您所选的任何其它名称,例如 ccr.old。
# mv /etc/cluster/ccr /etc/cluster/ccr.old |
返回"如何从群集节点卸载 Sun Cluster 软件 (5/02)"并重复相应过程。