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
# clresourcegroup create solaris-zone-resource-group
This HAStoragePlus resource is for the zonepath. The file system must be a failover file system.
# clresource create \ -g solaris-zone-resource-group \ -t SUNW.HAStoragePlus \ -p Zpools=solaris-zone-instance-zpool \ solaris-zone-has-resource-name
Identify the devices to be used as boot storage and suspend storage for the kernel zone.
node-1# cldev list -v d2 DID Device Full Device Path d2 node-1:/dev/rdsk/c0t60080E5000184744000005B4513DF1A8d0 d2 node-2:/dev/rdsk/c0t60080E5000184744000005B4513DF1A8d0 node-1# suriadm lookup-uri /dev/did/dsk/d2 dev:did/dsk/d2 node-1# cldev list -v d3 DID Device Full Device Path d3 node-1:/dev/rdsk/c0t60080E5000184744000005B6513DF1B2d0 d3 node-2:/dev/rdsk/c0t60080E5000184744000005B6513DF1B2d0 node-1# suriadm lookup-uri /dev/did/dsk/d3 dev:did/dsk/d3 d2 (suri=dev:did/dsk/d2) will be used for the kernel zone rpool as boot device d3 (suri=dev:did/dsk/d3) will be used as suspend device
(OPTIONAL)If you require device monitoring for the storage devices configured to be used by the kernel zone, configure a SUNW.HAStoragePlus resource and specify the corresponding global device group for the did devices identified in the previous step within the GlobalDevicePaths property.
Register the SUNW.HAStoragePlus resource.
node2# clrs create -t SUNW.HAStoragePlus -g zone-rg \ -p GlobalDevicePaths=dsk/d2,dsk/d3 ha-zones-hasp-rs
Set the resource name for that SUNW.HAStoragePlus resource within the HAS_RS variable to ensure the required resource dependency gets set up for the sczbt component. For example:
HAS_RS=ha-zones-hasp-rs
# clreslogicalhostname create \ -g solaris-zone-resource-group \ -h solaris-zone-logical-hostname \ solaris-zone-logical-hostname-resource-name
# clresourcegroup online -M solaris-zone-resource-group