Perform this procedure to prepare the cluster for Samba software in a failover resource group, with winbind configured in a scalable resource group.
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.
phys-schost-1# clresourcetype register SUNW.HAStoragePlus phys-schost-1# clresourcetype register SUNW.gds
phys-schost-1# clresourcegroup create -n nodelist winbind-failover-resource-group
phys-schost-1# clressharedaddress create -g winbind-failover-resource-group \ -h winbind-logical-hostname \ winbind-logical-hostname-resource
phys-schost-1# clresourcegroup create -n nodelist \ -S \ -p Maximum_primaries=maximum-number-active-primaries \ -p Desired_primaries=desired-number-active-primaries \ winbind-scalable-resource-group
For this scalable HAStoragePlus resource, you must use a cluster file system.
phys-schost-1# clresource create -g winbind-scalable-resource-group \ -t SUNW.HAStoragePlus \ -p FilesystemMountPoints=winbind-file-system-mount-point \ -x AffinityOn=FALSE \ winbind-ha-storage-resource
phys-schost-1# clresourcegroup online -M winbind-failover-resource-group phys-schost-1# clresourcegroup online -M winbind-scalable-resource-group
Next Steps
Register the resource group and logical hostname and Samba disk storage resource for the Samba instance. Go to How to Prepare the Cluster for HA for Samba.