Oracle® Solaris Cluster Data Service for Samba Guide

Exit Print View

Updated: July 2014, E40565-01
 
 

How to Prepare the Cluster for HA for Samba With winbind

Perform this procedure to prepare the cluster for Samba software in a failover resource group, with winbind configured in a scalable resource group.


Note -  If you are not using multiple Samba instances that require winbind, instead go to How to Prepare the Cluster for HA for Samba.

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.

  1. Assume a role that provides solaris.cluster.modify RBAC authorization.
  2. Register the SUNW.HAStoragePlus and SUNW.gds resource types.
    phys-schost-1# clresourcetype register SUNW.HAStoragePlus
    phys-schost-1# clresourcetype register SUNW.gds
  3. Create a failover resource group for the winbind shared network address.
    phys-schost-1# clresourcegroup create -n nodelist winbind-failover-resource-group
  4. Create a resource for the winbind logical hostname.
    phys-schost-1# clressharedaddress create -g winbind-failover-resource-group \
    -h winbind-logical-hostname \
    winbind-logical-hostname-resource
  5. Create a scalable resource group for the scalable winbind 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
  6. Create a resource for the winbind disk storage.

    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
  7. Enable and bring online the winbind failover and scalable resource groups.
    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.