Oracle® Solaris Cluster Data Service for Samba Guide

Exit Print View

Updated: July 2014, E40565-01
 
 

Deployment Example: Installing Samba Packaged with Oracle Solaris 11 Software in a Zone Cluster

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.


Note -  To follow this example for configuration in a global cluster, perform these instructions from a global-cluster node instead of a zone-cluster node, and omit instructions for configuring a zone cluster.

This appendix contains the following information:

Target Cluster Configuration

This deployment example uses a two-node cluster that is configured with a two-node zone cluster. The nodes have the following names:

phys-node-1

Physical node 1

phys-node-2

Physical node 2

zc-node-1

Zone cluster node 1

zc-node-2

Zone cluster node 2

Software Configuration

    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

Assumptions

    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:

    domain

    osc.example.com

    domain NetBIOS name

    OSC

    IP-Address

    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:

    Username

    hasmb

    password

    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.

Configuring Samba Software