locking is required, follow the instructions in section “Serviceguard NFS Legacy Package over CFS Packages with File Locking”.

6.1Serviceguard NFS Legacy Package over CFS Packages without File Locking

Each active server in the cluster needs to run an export multi-node package and an NFS failover package. An export multi-node package is a package that runs on each server in the cluster and exports all the cluster file systems. Each standby server (i.e. a server that is an adoptive node for NFS failover packages) needs to have an export multi-node package running to be able to become active in the event of a failover.

Figure 5 shows an example Serviceguard over CFS configuration with two servers, each with an NFS failover package and a multi-node export package.

NFS

 

NFS

NFS

Client1

 

Client2

Client3

 

 

Load

 

 

 

Load

 

 

 

Balancer

 

 

 

Balancer

 

Serviceguard NFS servers

 

NFS Server1 - thyme

 

 

NFS Server2 - basil

Failover Package 1

 

 

Failover Package 2

 

/cfs1, /cfs2

 

NFS Export Multinode Package

 

 

Cluster File System

 

Shared Storage

/cfs1

/cfs2

 

 

 

Figure 5. SG NFS over CFS without file locking

Configuring a Serviceguard NFS export package

There should only be one NFS export multi-node package per cluster. This package will run on each server in the cluster.

Note: All steps in this section must be completed on a single server.

1.Create the nfs-export.conf and nfs-export.cntl files with the cmmakepkg command. Use the “-p” option to create the nfs-export.conf file and the “-s” option to create the nfs-export.cntl file.

#cd /etc/cmcluster/nfs

#cmmakepkg –p /etc/cmcluster/nfs/nfs-export.conf

#cmmakepkg –s /etc/cmcluster/nfs/nfs-export.cntl

2.Copy the hanfs.sh script:

9

Page 9
Image 9
HP Serviceguard Toolkit for NFS manual Configuring a Serviceguard NFS export package, SG NFS over CFS without file locking