This appendix presents an example of how to install and configure the Samba application, shipped as part of the Oracle Solaris 11 IPS repository, and the HA for Samba data service in a zone cluster.
This appendix contains the following information:
This deployment example uses a two-node cluster that is configured with a two-node zone cluster. The nodes have the following names:
Physical node 1
Physical node 2
Zone cluster node 1
Zone cluster node 2
This deployment example uses the following software products and versions:
Oracle Solaris 11.2 software
Oracle Solaris Cluster 4.2 software
HA for Samba data service
Samba shipped with Oracle Solaris 11.2 software
Windows 2003 Enterprise Edition, with an Active Directory domain server configured
This deployment example is developed with the following assumptions:
The two-node cluster is already installed and configured.
The zone cluster zc is already installed and configured.
The root user has the /usr/cluster/bin directory included in $PATH on all cluster nodes and zone cluster nodes.
All cluster nodes have the solaris publisher for Oracle Solaris 11.2 software and the ha-cluster publisher for Oracle Solaris Cluster 4.2 software support repositories configured.
The ZFS pool samba_zp is already created, using the mount point /failover/samba. The command used to create the ZFS pool is zpool create -m /failover/samba samba_zp mirror devicelist mirror devicelist.
The zone cluster zc has the privileges to use the zpool and IP address within its zone cluster configuration. These privileges were set by using the following commands:
phys-node-1# clzonecluster configure zc clzc:zc> add net clzc:zc:net> set address=192.168.0.10 clzc:zc:net> end clzc:zc> add dataset clzc:zc:dataset> set name=samba_zp clzc:zc:dataset> end clzc:zc> commit clzc:zc> exit
The zone cluster nodes are configured as members of a Windows Active Directory domain, using winbind to resolve users and groups that are configured within the Active Directory domain.
The Active Directory is configured to use the following values:
osc.example.com
OSC
192.168.0.20
The following user and password are created within the Active Directory, to be used by the HA for Samba fault monitor:
hasmb
password
No home directory, user profile, or login script are defined for the Active Directory.
The Active Directory parameters Password never expire and User cannot change password are set to true.
This section contains the following tasks to install and configure Samba in a zone cluster:
Example: Configure the Logical Host and Storage Cluster Resources for Samba
Example: Create the Kerberos, PAM, and Name Service Switch Configuration for winbind