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

Page 24

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

Image 24
Contents Serviceguard NFS Toolkit Support for Cluster File System Starting a Serviceguard NFS failover package Integrating Support for CFS into Serviceguard NFS Toolkit Non-CFS Implementation with Package FailoverCurrent SG-NFS over VxFS Support CFS vs. Non-CFS ImplementationSG NFS Servers over VxFS High Availability Issues and Limitations with the Current CFS Implementation Prerequisites Cluster Status Node Status StateMultinodepackages Package Status State Autorun SG-CFS-DG-1Configuring a Serviceguard NFS export package SG NFS over CFS without file locking# Failoverpolicy Configurednode # Failbackpolicy Manual Runscripttimeout NotimeoutPackagename SG-NFS-XP-1 Packagetype MultinodeStarting a Serviceguard NFS export package Haltscripttimeout NotimeoutSG-NFS-XP-1 Configuring a Serviceguard NFS failover package Packagename SG-NFS1Starting a Serviceguard NFS failover package DEPENDENCYCONDITIONSG-NFS-XP-1=UP DependencylocationsamenodePackage Status State Autorun Node SG-NFS1 Package Status State Autorun Node SG-NFS2SG 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