JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for Samba Guide
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring HA for Samba

A.  Deployment Example: Installing Samba packaged with Solaris 10

B.  Deployment Example: Installing Samba from http://www.samba.org

Target Cluster Configuration

Software Configuration

Assumptions

Installing and Configuring Samba downloaded from http://www.samba.org

Example: Preparing the Cluster for Samba

Example: Configuring the Non-Global Zones

Example: Configuring Cluster Resources for Samba

Example: Download and Configure Samba from http://www.samba.org

Example: Create the Samba smb.conf Configuration File

Example: Verify winbind and Samba

Example: Enabling the Samba Software to Run in the Cluster

Example: Verify the HA for Samba resource group

C.  Deployment Example: Installing Samba in an HA Container

Index

Example: Preparing the Cluster for Samba

  1. Install and configure the cluster as instructed in Oracle Solaris Cluster Software Installation Guide.

    Install the following cluster software components on node Vigor5.

    • Oracle Solaris Cluster core software

    • Oracle Solaris Cluster data service for Samba

  2. Install the following utility software.

    Install the following utility software on node Vigor5.

    • wget

    • Sun Studio 11

  3. Add the logical host name and ADS host name to /etc/hosts and /etc/inet/ipnodes.
    Vigor5# egrep -e 'SMB1|ADS' /etc/hosts /etc/inet/ipnodes
    /etc/hosts:192.168.1.9    ADS#20
    /etc/hosts:192.168.1.132    SMB1#20
    /etc/inet/ipnodes:192.168.1.9    ADS#20
    /etc/inet/ipnodes:192.168.1.132    SMB1#20
  4. Install and configure a Zettabyte File System.

    Note - The following zpool definition represents a very basic configuration for deployment on a single-node cluster.

    You should not consider this example for use within a productive deployment, instead it is a very basic configuration for testing or development purposes only.


    1. Create a ZFS pool.
      Vigor5# zpool create -m /local HAZpool c1t1d0s2 c1t2d0s2
    2. Create a ZFS.
      Vigor5# zfs create HAZpool/samba