Managing Serviceguard NFS for Linux, September 2006

Installing and Configuring Serviceguard NFS for Linux
Before Creating an Serviceguard NFS Package
Chapter 2 23
3. Configure the disk hardware for high availability. Disks may be
protected using disk mirroring or an HP High Availability Disk
Array. Data disks associated with Serviceguard NFS must be
external disks. All the nodes that support the Serviceguard NFS
package must have access to the external disks. For most disks, this
means that the disks must be attached to a shared bus that is
connected to all nodes that support the package.
Create appropriate multiple device (MD) definitions for your storage.
For information on configuring multiple devices, see the Managing
Serviceguard for Linux, Chapter 5.
4. Use LVM commands to set up volume groups, logical volumes, and
file systems as needed for the data that will be exported to clients.
Refer to the Managing Serviceguard manual.
a. Create a directory for each NFS package. For example:
/usr/local/cmcluster/nfs1
b. In the directory create a raidtab.nfs1 file describing this
package’s MD definitions.
The names of the volume groups must be unique within the cluster,
and the major and minor numbers associated with the volume
groups must be the same on all nodes. In addition, the mounting
points and exported file system names must be the same on all
nodes.
The preceding requirements exist because NFS uses the major
number, minor number, inode number, and exported directory as
part of a file handle to uniquely identify each NFS file. If differences
exist between the primary and adoptive nodes, the client’s file handle
would no longer point to the correct file location after movement of
the package to a different node.
5. Make sure the user IDs and group IDs of those who access the
Serviceguard NFS file system are the same on all nodes that can run
the package.
Make sure the user IDs and group IDs in the /etc/passwd and
/etc/group files are the same on the primary node and all adoptive
nodes, or use NIS to manage the passwd and group databases.