c) Specify the package name.

package_nameSG-NFS1

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

d)The package_type should be the default value (failover).

e)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

f)In nfs1.conf and nfs2.conf, set the dependency_name, dependency_condition, and dependency_location variables so that the failover package can run only if the export package is already running:

dependency_name dependency_condition dependency_location

SG-NFS-XP-1-dep SG-NFS-XP-1=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

CLUSTER STATUS

cluster1 up

24

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