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

C.  Deployment Example: Installing Samba in an HA Container

Target Cluster Configuration

Software Configuration

Assumptions

Installing and Configuring Samba in an HA Container

Example: Prepare the Cluster for Samba

Example: Configure the HA Container

Example: Configure Cluster Resources for Samba

Example: Create the Samba smb.conf Configuration File

Example: Verify Samba

Example: Enable the Samba Software to Run in the Cluster

Example: Verify the HA for Samba resource group

Index

Example: Configure Cluster Resources for Samba

  1. Register the necessary data types on the single node cluster.
    Vigor5# clresourcetype register SUNW.gds SUNW.HAStoragePlus
  2. Create the Samba resource group.
    Vigor5# clresourcegroup create -n Vigor5 samba-rg
  3. Create the logical host.
    Vigor5# clreslogicalhostname create -g samba-rg -h SMB1 samba-lh
  4. Create the SVM HAStoragePlus resource in the samba-rg resource group.
    Vigor5# clresource create -g samba-rg -t SUNW.HAStoragePlus \
    > -p FilesystemMountPoints=/zones sambaSVM-has
  5. Create the ZFS HAStoragePlus resource in the samba-rg resource group.
    Vigor5# clresource create -g samba-rg -t SUNW.HAStoragePlus \
    > -p Zpools=HAZpool sambaZFS-has
  6. Enable the resource group.
    Vigor5# clresourcegroup online -M samba-rg
  7. Create the Oracle Solaris Cluster HA for Solaris Container Configuration file.
    Vigor5# cat > /var/tmp/sczbt_config <<-EOF RS=sambaFOZ RG=samba-rg PARAMETERDIR=/zones SC_NETWORK=true SC_LH=samba-lh FAILOVER=true HAS_RS=sambaSVM-has,sambaZFS-has Zonename=failover Zonebootopt= Milestone=multi-user-server Mounts=/local EOF
  8. Register the Oracle Solaris Cluster HA for Solaris Container data service.
    Vigor5# /opt/SUNWsczone/sczbt/util/sczbt_register -f /var/tmp/sczbt_config
  9. Enable the HA container resource.
    Vigor5# clresource enable sambaFOZ