Sun Cluster Data Service for Samba Guide for Solaris OS

Configuration Requirements

The configuration requirements in this section apply only to Sun Cluster HA for Samba.


Caution – Caution –

If your data service configuration does not conform to these requirements, the data service configuration might not be supported.


Determine which Solaris Zone Samba will run use

Solaris zones provides a means of creating virtualized operating system environments within an instance of the Solaris 10 OS. Solaris zones allow one or more applications to run in isolation from other activity on your system. For complete information about installing and configuring a Solaris Container, see System Administration Guide: Solaris Containers-Resource Management and Solaris Zones.

You must determine which Solaris Zone Samba will run in. Samba can run within a global zone, non-global zone or in a failover zone configuration. Table 2 provides some reasons to help you decide.


Note –

Samba cam be deployed within a whole root zone or a sparse root zone of a non-global zone or failover zone.


Table 2 Choosing the appropriate Solaris Zone for Samba

Zone type 

Reasons for choosing the appropriate Solaris Zone for Samba 

Global Zone 

Only one instance of Samba will be installed. 

Non-global zones are not required. 

Non-global Zone 

Several Samba instances need to be consolidated and isolated from each other. 

Different versions of Samba will be installed. 

Failover testing of Samba between non-global zones on the same node is required. 

Failover Zone 

You require Samba to run in the same zone regardless of which node the failover zone is running on. 


Note –

If your requirement is simply to make Samba highly available you should consider choosing a global or non-global zone deployment over a failover zone deployment. Deploying Samba within a failover zone will incur additional failover time to boot/halt the failover zone.


Dependencies Between Sun Cluster HA for Samba Components

If your Samba resource requires winbind, you must configure a start dependency on the winbind resource.

You will be required to set this dependency after you have created the Samba and winbind resources and will be prompted to do so later on within Registering and Configuring Sun Cluster HA for Samba.

Table 3 list the various dependencies.

Table 3 Samba components and their dependencies

Component 

Description 

Samba resource  

(smbd and nmbd)

The winbind resource (If the Samba resource requires winbind services)

The smbd Logical Host resource

The smbd HA Storage resource

winbind resource  

(winbindd)

The winbindd Logical Host resource

The winbindd HA Storage resource


Note –

Dependencies against the relevant component's Logical Host or HA Storage resource will be set for you when the Samba and winbind resources are registered.


Required parameters for the Samba smb.conf file

The Samba smb.conf file located within each configuration directory must contain the following parameters. Refer to the smb.conf(5) man page for complete configuration information on the parameters that follow.