This example is based upon “How to Enable a Zone to Run in a Failover Configuration” in the Sun Cluster Data Service for Solaris Containers Guide.
Register the HAStoragePlus resource type.
phys-schost-1# clresourcetype register SUNW.gds SUNW.HAStoragePlus |
Create the PostgreSQL resource group.
phys-schost-1# clresourcegroup create RP-PGS |
Create the HAStoragePlus resource in the RG-PGS resource group.
phys-schost-1# clresource create -g RG-PGS -t SUNW.HAStoragePlus -p AffinityOn=TRUE \ -p FilesystemMountPoints=/global/mnt3,/global/mnt4 RS-PGS-HAS |
Enable the resource group.
phys-schost-1# clresourcegroup online -M RG-PSG |