Register the necessary data types on the single node cluster
Vigor5# clresourcetype register SUNW.HAStoragePlus Vigor5# clresourcetype register SUNW.gds |
Create the resource group.
Vigor5# clresourcegroup create -n Vigor5 wmq3-rg |
Create the logical host.
Vigor5# clreslogicalhostname create -g wmq3-rg -h qmgr3 wmq3-lh |
Create the SVM HAStoragePlus resource in the wmq3-rg resource group.
Vigor5# clresource create -g wmq3-rg -t SUNW.HAStoragePlus \ > -p FilesystemMountPoints=/FOZones wmq3-SVMhas |
Create the ZFS HAStoragePlus resource in the wmq3-rg resource group.
Vigor5# clresource create -g wmq3-rg -t SUNW.HAStoragePlus \ > -p Zpools=HAZpool1,HAZpool2 wmq3-ZFShas |
Enable the resource group.
Vigor5# clresourcegroup online -M wmq3-rg |
Create the Sun Cluster HA for Solaris Container Configuration file.
Vigor5# cat > /var/tmp/sczbt_config <<-EOF RS=wmq3-FOZ RG=wmq3-rg PARAMETERDIR=/FOZones SC_NETWORK=true SC_LH=wmq3-lh FAILOVER=true HAS_RS=wmq3-SVMhas,wmq3-ZFShas Zonename=z3 Zonebootopt= Milestone=multi-user-server Mounts="/ZFSwmq3/log /ZFSwmq3/qmgrs" EOF |
Register the Sun Cluster HA for Solaris Container data service.
Vigor5# /opt/SUNWsczone/sczbt/util/sczbt_register -f /var/tmp/sczbt_config |
Enable the failover zone resource
Vigor5# clresource enable wmq3-FOZ |