使用此过程可出于测试目的在全局群集外部运行一个应用程序。
phys-schost# clquorum show
phys-schost# clquorum add did
phys-schost# clquorum remove did
以下命令可查找持久组保留仿真 (Persistent Group Reservation Emulation, PGRE) 密钥。如果磁盘上没有密钥,将显示 errno=22 消息。
# /usr/cluster/lib/sc/pgre -c pgre_inkeys -d /dev/did/rdsk/dids2
找到密钥后,将清理 PGRE 密钥。
# /usr/cluster/lib/sc/pgre -c pgre_scrub -d /dev/did/rdsk/dids2
![]() | 注意 - 如果从磁盘中清理活动法定设备密钥,群集将在下次重新配置时出现紧急情况,并显示 Lost operational quorum 消息。 |
phys-schost# clresourcegroup evacuate -n targetnode
phys-schost# clresourcegroup offline resourcegroupname
phys-schost# clresource disable resourcename
phys-schost# clresourcegroup unmanage resourcegroupname
phys-schost# cldevicegroup offline devicegroupname
phys-schost# cldevicegroup disable devicegroupname
phys-schost# reboot -x
phys-schost# svcs -x
在元集中的所有磁盘上运行以下命令。
phys-schost# /usr/cluster/lib/sc/scsi -c inkeys -d /dev/did/rdsk/dids2
phys-schost# /usr/cluster/lib/sc/scsi -c scrub -d /dev/did/rdsk/dids2
phys-schost# metaset -s name -C take -f
phys-schost# mount device mountpoint
phys-schost# reboot
phys-schost# cldevicegroup online -e devicegroupname
phys-schost# clresourcegroup online -eM resourcegroupname