HP Serviceguard Toolkit for NFS manual Starting a Serviceguard NFS failover package

Page 27

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

Image 27
Contents Serviceguard NFS Toolkit Support for Cluster File System Starting a Serviceguard NFS failover package Non-CFS Implementation with Package Failover Integrating Support for CFS into Serviceguard NFS ToolkitCFS vs. Non-CFS Implementation Current SG-NFS over VxFS SupportSG NFS Servers over VxFS High Availability Issues and Limitations with the Current CFS Implementation Prerequisites SG-CFS-DG-1 Cluster StatusNode Status State Multinodepackages Package Status State AutorunSG NFS over CFS without file locking Configuring a Serviceguard NFS export packagePackagetype Multinode # Failoverpolicy Configurednode # Failbackpolicy ManualRunscripttimeout Notimeout Packagename SG-NFS-XP-1Haltscripttimeout Notimeout Starting a Serviceguard NFS export packageSG-NFS-XP-1 Packagename SG-NFS1 Configuring a Serviceguard NFS failover packageDEPENDENCYCONDITIONSG-NFS-XP-1=UP Dependencylocationsamenode Starting a Serviceguard NFS failover packagePackage Status State Autorun Node SG-NFS2 Package Status State Autorun Node SG-NFS1SG NFS over CFS with file locking NFSFILELOCKMIGRATION=1 Nfs2.conf file set these variables to Starting a Serviceguard NFS failover package Cluster1 up XFS Starting a Serviceguard NFS export package Configuring a Serviceguard NFS failover package Starting a Serviceguard NFS failover package Package Status State Autorun Node SG-NFS1 FILELOCKMIGRATION1 Starting a Serviceguard NFS failover package Thyme Running
Related manuals
Manual 93 pages 19.37 Kb Manual 93 pages 21.07 Kb