Running an Application Outside the Global
Cluster
How to Take a Solaris Volume Manager Metaset
From Nodes Booted in Noncluster Mode
Use this procedure to run an application outside the global
cluster for testing purposes.
- Determine if the quorum device is used in the Solaris
Volume Manager metaset, and determine if the quorum device uses SCSI2
or SCSI3 reservations.
phys-schost# clquorum show
- If the quorum device is in the Solaris Volume Manager
metaset, add a new quorum device which is not part of the metaset
to be taken later in noncluster mode.
phys-schost# clquorum add did
- Remove the old quorum device.
phys-schost# clquorum remove did
- If the quorum device uses a SCSI2 reservation, scrub the
SCSI2 reservation from the old quorum and verify that no SCSI2 reservations
remain.
The following
command finds the Persistent Group Reservation Emulation (PGRE) keys.
If there are no keys on the disk, an errno=22 message
is displayed.
# /usr/cluster/lib/sc/pgre -c pgre_inkeys -d /dev/did/rdsk/dids2
After you locate the keys, scrub the PGRE keys.
# /usr/cluster/lib/sc/pgre -c pgre_scrub -d /dev/did/rdsk/dids2
 | Caution - If you scrub the active quorum device keys from the
disk, the cluster will panic on the next reconfiguration with a Lost operational quorum message.
|
- Evacuate the global-cluster node that you want to boot
in noncluster mode.
phys-schost# clresourcegroup evacuate -n targetnode
- Take offline any resource group or resource groups that
contain HAStorage or HAStoragePlus resources and contain devices or
file systems affected by the metaset that you want to later take in
noncluster mode.
phys-schost# clresourcegroup offline resourcegroupname
- Disable all the resources in the resource groups that
you took offline.
phys-schost# clresource disable resourcename
- Unmanage the resource groups.
phys-schost# clresourcegroup unmanage resourcegroupname
- Take offline the corresponding device group or device
groups.
phys-schost# cldevicegroup offline devicegroupname
- Disable the device group or device groups.
phys-schost# cldevicegroup disable devicegroupname
- Boot the passive node into noncluster mode.
phys-schost# reboot -x
- Verify that the boot process has been completed on the
passive node before proceeding.
phys-schost# svcs -x
- Determine if any SCSI3 reservations exist on the disks
in the metasets.
Run the following command on all disks
in the metasets.
phys-schost# /usr/cluster/lib/sc/scsi -c inkeys -d /dev/did/rdsk/dids2
- If any SCSI3 reservations exist on the disks, scrub them.
phys-schost# /usr/cluster/lib/sc/scsi -c scrub -d /dev/did/rdsk/dids2
- Take the metaset on the evacuated node.
phys-schost# metaset -s name -C take -f
- Mount the file system or file systems that contain the
defined device on the metaset.
phys-schost# mount device mountpoint
- Start the application and perform the desired test. After
finishing the test, stop the application.
- Reboot the node and wait until the boot process has ended.
phys-schost# reboot
- Bring online the device group or device groups.
phys-schost# cldevicegroup online -e devicegroupname
- Start
the resource group or resource groups.
phys-schost# clresourcegroup online -eM resourcegroupname