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

Page 9

locking is required, follow the instructions in section “Serviceguard NFS Legacy Package over CFS Packages with File Locking”.

6.1Serviceguard NFS Legacy Package over CFS Packages without File Locking

Each active server in the cluster needs to run an export multi-node package and an NFS failover package. An export multi-node package is a package that runs on each server in the cluster and exports all the cluster file systems. Each standby server (i.e. a server that is an adoptive node for NFS failover packages) needs to have an export multi-node package running to be able to become active in the event of a failover.

Figure 5 shows an example Serviceguard over CFS configuration with two servers, each with an NFS failover package and a multi-node export package.

NFS

 

NFS

NFS

Client1

 

Client2

Client3

 

 

Load

 

 

 

Load

 

 

 

Balancer

 

 

 

Balancer

 

Serviceguard NFS servers

 

NFS Server1 - thyme

 

 

NFS Server2 - basil

Failover Package 1

 

 

Failover Package 2

 

/cfs1, /cfs2

 

NFS Export Multinode Package

 

 

Cluster File System

 

Shared Storage

/cfs1

/cfs2

 

 

 

Figure 5. SG NFS over CFS without file locking

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 and nfs-export.cntl files with the cmmakepkg command. Use the “-p” option to create the nfs-export.conf file and the “-s” option to create the nfs-export.cntl file.

#cd /etc/cmcluster/nfs

#cmmakepkg –p /etc/cmcluster/nfs/nfs-export.conf

#cmmakepkg –s /etc/cmcluster/nfs/nfs-export.cntl

2.Copy the hanfs.sh script:

9

Image 9
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