Sun Cluster Data Service for Solaris Containers Guide for Solaris OS

ProcedureHow to Enable a Zone to Run in a Failover Configuration

  1. Register the SUNW.HAStoragePlus resource type.

    # clresourcetype register SUNW.HAStoragePlus
  2. Create a failover resource group.

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

    # clresource create \
    -g solaris-zone-resource-group \
    -t SUNW.HAStoragePlus \
    -p FilesystemMountPoints=solaris-zone-instance-mount-points \
  4. (Optional) Create a resource for the zone's logical hostname.

    # clreslogicalhostname create \
    -g solaris-zone-resource-group \
    -h solaris-zone-logical-hostname \
  5. Enable the failover resource group.

    # clresourcegroup online -M solaris-zone-resource-group