package_nameSG-NFS1

In nfs2.conf, set the package_name to SG-NFS2.

g)The package_type should be set to the default value (failover).

h)Set the node_name variables for each node that can run the package. The first node_name must specify the primary node, followed by adoptive node(s) in the order in which they will be tried:

node_namethyme

node_namebasil

i)Set the dependency_name, dependency_condition, and dependency_location variables so that the failover package runs only if the export package is already running:

dependency_name dependency_condition dependency_location

In nfs2.conf set these to:

SG-CFS-MP-1-dep SG-CFS-MP-1=up same_node

dependency_name dependency_condition dependency_location

SG-CFS-MP-2-dep SG-CFS-MP-2=UP same_node

Starting a Serviceguard NFS failover package:

1. Verify the cluster and package configuration files on each server:

# cmcheckconf -k -v –C /etc/cmcluster/cluster.conf –P\

/etc/cmcluster/nfs_modular/nfs1.conf –P /etc/cmcluster/nfs_modular/nfs2.conf

2. Verify and apply the cluster package configuration files on a single server:

# cmapplyconf –v –C /etc/cmcluster/cluster.conf –P\

/etc/cmcluster/nfs_modular/nfs1.conf –P /etc/cmcluster/nfs_modular/nfs2.conf

3. Run the failover packages:

#cmrunpkg –n thyme –v SG-NFS1

#cmrunpkg –n basil –v SG-NFS2

4.If you run the cmviewcl command, the output is similar to the following:

# cmviewcl

27

Page 27
Image 27
HP Serviceguard Toolkit for NFS manual Starting a Serviceguard NFS failover package