Sun Cluster Data Service for Solaris Containers Guide

ProcedureHow to Enable a Zone to Run in a Failover Configuration

Steps
  1. Register the SUNW.HAStoragePlus resource type.


    # scrgadm -a -t SUNW.HAStoragePlus
    
  2. Create a failover resource group.


    # scrgadm -a -g solaris-zone-resource-group
    
  3. Create a resource for the zone`s disk storage.


    # scrgadm -a -j solaris-zone-has-resource  \
    -g solaris-zone-resource-group   \
    -t SUNW.HAStoragePlus  \
    -x FilesystemMountPoints=solaris-zone-instance-mount-points
    
  4. (Optional) Create a resource for the zone`s logical hostname.


    # scrgadm -a -L -j solaris-zone-logical-hostname-resource-name  \
    -g solaris-zone-resource-group  \
    -l solaris-zone-logical-hostname
    
  5. Enable the failover resource group.


    # scswitch -Z -g  solaris-zone-resource-group