HP CIFS Server Administrator's Guide (5900-1282, April 2011)

11 Configuring HA HP CIFS
Overview of HA HP CIFS Server
Highly Available HP CIFS Server allows the HP CIFS Server product to run on a MC/ServiceGuard
cluster of nodes. MC/ServiceGuard allows you to create high availability clusters of HP 9000
Server computers.
You must set up an MC/ServiceGuard cluster before you can set up an HA HP CIFS Server. For
instructions on setting up an MC/ServiceGuard cluster, refer to the Managing MC/ServiceGuard
manual.
The HA HP CIFS Server provides customizable configuration, control scripts and monitor scripts.
These scripts as well as the README file are in the /opt/samba/HA directory. These are sample
scripts for you to customize for your environment.
The README file and the files in /opt/samba/HA apply to an active-standby or active-active HA
configuration.
Recommended Clients
The recommended clients for the HA HP CIFS Server are Windows 2003, Windows 2008, Windows
XP SP1 and Windows XP SP2, and Windows Vista, Windows Terminal Server (NT4 and 2000)
and HP CIFS Client. Older clients, such as DOS/Windows 3.1 LM 2.2C and Windows for
Workgroups, may not respond well to the HP CIFS Server stopping and to network connections
terminating, as occurs during an HA HP CIFS Server switchover.
Review the "Special Notes for HA HP CIFS Server" section contained later in this section for usage
considerations.
Installing Highly Available HP CIFS Server
HA HP CIFS Servers must be installed and configured on all cluster nodes in the configuration. All
cluster nodes may (but are not required to) act as "primary" nodes and, at the same time, as
"alternate" nodes for others. If there is no failover, each cluster node runs one of the packages. If
a failover occurs, a cluster node will pick up the failed package in addition to its original package.
Before creating a Highly Available HP CIFS Server package, you must set up your MC/ServiceGuard
cluster according to the instructions in the Managing MC/ServiceGuard manual.
To do so, perform the following:
1. Following the instructions, configure the disk hardware for high availability.
2. Use SAM or LVM commands, or VxVM commands to set up the volume groups, logical volumes,
and file systems needed for the data that must be available to the primary and alternate cluster
nodes when failover occurs.
HA HP CIFS Server Installation
1. Install HP CIFS Server using SD on all cluster nodes. If HP CIFS Server is already installed and
configured on either node, simply stop it with the /opt/samba/bin/stopsmb command
and skip to step 4.
2. On the first node:
Run the script /opt/samba/bin/samba_setup to configure the Samba server. Enter the server
name and domain/workgroup name for the HA HP CIFS Server.
3. On the secondary nodes:
Run the script /opt/samba/bin/samba_setup to configure the second node. You will need to
specify the same domain/workgroup name specified on the first node. Do not use the same
server name.
138 Configuring HA HP CIFS