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 the HA Container

In this task you will install two Solaris Containers on node Vigor5.

  1. Create a non-global zone to be used as the HA container.

    If a whole root non-global zone is required you must specify create -b.

    Vigor5# cat > /tmp/failover <<-EOF create set zonepath=/zones/failover set autoboot=false add inherit-pkg-dir set dir=/opt/SUNWscsmb end EOF
  2. Configure the non-global HA container, using the file you created.
    Vigor5# zonecfg -z failover -f /tmp/failover
  3. Install the zones.
    Vigor5# zoneadm -z failover install
  4. Boot the zone.
    Vigor5# zoneadm -z failover boot
  5. Log in to the zone and complete the zone system identification.

    Open another window and issue the following command.

    Vigor5# zlogin -C failover
  6. Close the terminal window and disconnect from the zone console.

    After you have completed the zone system identification, disconnect from the window you previously opened.

    Vigo5# ~.
  7. Create local mount points for the HA-ZFS file system with in the zones.
    Vigor5# zlogin failover mkdir /local
  8. Create the Samba Fault Monitor Userid in the zones.
    Vigor5# zlogin failover groupadd -g 1000 samba
    Vigor5# zlogin failover useradd -u 1000 -g 1000 -s /bin/false homer
  9. Halt the zone.
    Vigor5# zlogin failover halt