在强制辅助群集承担主群集的活动前,请确保满足以下条件:
该群集上正在运行 Sun Cluster Geographic Edition 软件。
该群集是伙伴关系的成员。
在辅助群集上保护组的 Configuration 状态为 OK。
登录到一个辅助群集中的节点。
要完成此过程,必须为您指定 Geo Management RBAC 权限配置文件。有关 RBAC 的更多信息,请参见《Sun Cluster Geographic Edition System Administration Guide》中的“Sun Cluster Geographic Edition Software and RBAC”。
启动接管操作。
# geopg takeover [-f] protectiongroupname |
在不经您确认的情况下强制该命令执行操作
指定保护组的名称
本示例将强制辅助群集 cluster-newyork 对 tcpg 执行接管操作。
phys-newyork-1 是辅助群集中的第一个节点。有关哪一个节点是 phys-newyork-1 的提示信息,请参见《Sun Cluster Geographic Edition System Administration Guide》中的“Example Sun Cluster Geographic Edition Cluster Configuration”。
phys-newyork-1# geopg takeover -f tcpg |
有关接管后主群集和辅助群集的状态的信息,请参见《Sun Cluster Geographic Edition System Administration Guide》中的附录 C “Takeover Postconditions”。