Sun Cluster 3.2 Release Notes for Solaris OS

ProcedureHow to Take a Solaris Volume Manager Metaset From Nodes Booted in Non-Cluster Mode

Use this procedure to run an application outside the cluster for testing purposes.

  1. Determine if the quorum device is used in the Solaris Volume Manager metaset, and determine if the quorum device uses scsi2 or scsi3 reservations.


    # clquorum show
    
    1. 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 non-cluster mode.


      # clquorum add did
      
    2. Remove the old quorum device.


      # clqorum remove did
      
    3. If the quorum device uses a scsi2 reservation, scrub the scsi2 reservation from the old quorum and verify that there are no scsi2 reservations remaining.


      # /usr/cluster/lib/sc/pgre -c pgre_scrub -d /dev/did/rdsk/dids2
      # /usr/cluster/lib/sc/pgre -c pgre_inkeys -d /dev/did/rdsk/dids2
      
  2. Evacuate the node you want to boot in non-cluster mode.


    # clresourcegroup evacuate -n targetnode
    
  3. Take offline any resource group or resource groups that contain HAStorage or HAStoragePlus resources and contain devices or file systems affected by the metaset you want to later take in non-cluster mode.


    # clresourcegroup offline resourcegroupname
    
  4. Disable all the resources in the resource groups you took offline.


    # clresource disable resourcename
    
  5. Unmanage the resource groups.


    # clresourcegroup unmanage resourcegroupname
    
  6. Take offline the corresponding device group or device groups.


    # cldevicegroup offline devicegroupname
    
  7. Disable the device group or device groups.


    # cldevicegroup disable devicegroupname
    
  8. Boot the passive node into non-cluster mode.


    # reboot -x
    
  9. Verify that the boot process has completed on the passive node before proceeding.

    • Solaris 9

      The login prompt will only appear after the boot process has completed, so no action is required.

    • Solaris 10


      # svcs -x
      
  10. Determine if there are any scsi3 reservations on the disks in the metaset or metasets. Perform the following commands on all disks in the metasets.


    # /usr/cluster/lib/sc/scsi -c inkeys -d /dev/did/rdsk/dids2
    
  11. If there are any scsi3 reservations on the disks, scrub them.


    # /usr/cluster/lib/sc/scsi -c scrub -d /dev/did/rdsk/dids2
    
  12. Take the metaset on the evacuated node.


    # metaset -s name -C take -f
    
  13. Mount the filesystem or filesystems containing the defined device on the metaset.


    # mount device mountpoint
    
  14. Start the application and perform the desired test. After finishing the test, stop the application.

  15. Reboot the node and wait until the boot process has finished.


    # reboot
    
  16. Bring online the device group or device groups.


    # cldevicegroup online -e devicegroupname
    
  17. Start the resource group or resource groups.


    # clresourcegroup online -eM  resourcegroupname