Before You Begin
Ensure that the /etc/netmasks file has IP-address subnet and netmask entries for all logical hostnames. If necessary, edit the /etc/netmasks file to add any missing entries.
# clresourcetype register SUNW.HAStoragePlus SUNW.gds
# clresourcegroup create MySQL-resource-group
# clresource create -t SUNW.HAStoragePlus \ -p FileSystemMountPoints=MySQL-instance-mount-points \ MySQL-has-resource
# clreslogicalhostname create -g MySQL-resource-group \ -h logical-hostname \ MySQL-logical-hostname-resource-name
# clresourcegroup online -M MySQL-resource-group
Install the zones according to the Oracle Solaris Cluster HA for Solaris Containers agent documentation, assuming that the resource name is MySQL-zone-rs and that the zone's name is MySQL-zone.
# zoneadm -z MySQL-zone boot # zoneadm -z MySQL-zone halt
# cp /opt/SUNWsczones/sczbt/util/sczbt_config zones-target-configuration-file
RS=MySQL-zone-rs RG=MySQL-resource-group PARAMETERDIR=MySQL-zone-parameter-directory SC_NETWORK=true|false SC_LH=MySQL-logical-hostname-resource-name FAILOVER=true|false HAS_RS=MySQL-has-resource Zonename=MySQL-zone Zonebootopt=zone-boot-options Milestone=zone-boot-milestone Mounts=
# mkdir MySQL-zone-parameter-directory
# /opt/SUNWsczones/sczbt/util/sczbt_register -f zone's-target-configuration-file
# clresource enable MySQL-zone-rs
# clresourcegroup online MySQL-resource-group