Register the necessary data types on the single node cluster.
Vigor5# clresourcetype register SUNW.gds SUNW.HAStoragePlus |
Create the Samba resource group.
Vigor5# clresourcegroup create -n Vigor5 samba-rg |
Create the logical host.
Vigor5# clreslogicalhostname create -g samba-rg -h SMB1 samba-lh |
Create the SVM HAStoragePlus resource in the samba-rg resource group.
Vigor5# clresource create -g samba-rg -t SUNW.HAStoragePlus \ > -p FilesystemMountPoints=/zones sambaSVM-has |
Create the ZFS HAStoragePlus resource in the samba-rg resource group.
Vigor5# clresource create -g samba-rg -t SUNW.HAStoragePlus \ > -p Zpools=HAZpool sambaZFS-has |
Enable the resource group.
Vigor5# clresourcegroup online -M samba-rg |
Create the Sun Cluster HA for Solaris Container Configuration file.
Vigor5# cat > /var/tmp/sczbt_config <<-EOF RS=sambaFOZ RG=samba-rg PARAMETERDIR=/zones SC_NETWORK=true SC_LH=samba-lh FAILOVER=true HAS_RS=sambaSVM-has,sambaZFS-has Zonename=failover Zonebootopt= Milestone=multi-user-server Mounts=/local 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 HA container resource.
Vigor5# clresource enable sambaFOZ |