HP Serviceguard Toolkit for NFS manual Configuring a Serviceguard NFS export package, Xfs

Page 21

Configuring a Serviceguard NFS export package

There should only be one NFS export multi-node package per cluster. This package will run on each server in the cluster.

Note: All steps in this section must be completed on a single server.

1. Create the nfs-export.conf file with the cmmakepkg command.

#cd /etc/cmcluster/nfs_modular

#cmmakepkg -m sg/multi_node_all -m nfs/hanfs /etc/cmcluster/nfs_modular/nfs- export.conf

This command creates the package configuration file by including the parameters from the modules all and hanfs,

where,

all

refers to a set of standard Serviceguard modules

hanfs

refers to the HA-NFS module

2. Edit the nfs-export.conf file as follows:

a) Specify each NFS directory to be exported.

In this example, these are the same as the CFS file systems that are mounted (you could have CFS file systems mounted and not export them, or export only a subdirectory of a mounted file system).

b)Add an XFS variable for each NFS directory to be exported. Specify the directory name and any export options. These directories must not be included in the /etc/exports file.

For nfs-export.conf generated on HP Serviceguard A.11.18:

XFS

“/cfs1”

XFS

“/cfs2”

For nfs-export.conf generated on HP Serviceguard A.11.19:

nfs/hanfs_export/XFS“/cfs1”

nfs/hanfs_export/XFS“/cfs2”

c)Set the package_name variable to SG-NFS-XP-1 (by default this variable is set to FAILOVER):

package_nameSG-NFS-XP-1

d)Add node_name variables for each server in the cluster that will run the export package (the order of the servers does not matter):

node_name thyme

node_namebasil

21

Image 21
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 Node Status State Cluster StatusMultinodepackages Package Status State Autorun SG-CFS-DG-1SG NFS over CFS without file locking Configuring a Serviceguard NFS export packageRunscripttimeout Notimeout # Failoverpolicy Configurednode # Failbackpolicy ManualPackagename SG-NFS-XP-1 Packagetype MultinodeHaltscripttimeout 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