White Paper

27
package_name SG-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_name thyme
node_name basil
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 SG-CFS-MP-1-dep
dependency_condition SG-CFS-MP-1=up
dependency_location same_node
In nfs2.conf set these to:
dependency_name SG-CFS-MP-2-dep
dependency_condition SG-CFS-MP-2=UP
dependency_location 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