HP Serviceguard Toolkit for NFS manual SG NFS over CFS with file locking

Page 16

NFS

 

NFS

NFS

Client1

 

Client2

Client3

Serviceguard NFS servers

 

NFS Server1 - thyme

 

 

NFS Server2 - basil

Failover Package 1

 

 

Failover Package 2

/cfs1

 

 

/cfs2

 

Cluster File System

 

Shared Storage

/cfs1

/cfs2

 

 

 

Figure 6. SG NFS over CFS with file locking

Configuring a Serviceguard NFS failover package

Configuring a Serviceguard NFS failover package for a CFS environment is similar to configuring the package for a non-CFS environment. The main difference is that you must configure one failover package for every server that exports CFS.

1.Copy the following scripts and make a separate copy for each package (one package for each server):

#cd /etc/cmcluster/nfs

#cmmakepkg –p /etc/cmcluster/nfs/nfs1.conf

#cmmakepkg –s /etc/cmcluster/nfs/nfs1.cntl

#cp /opt/cmcluster/nfs/hanfs.sh hanfs.1.sh

#cp /opt/cmcluster/nfs/nfs.mon nfs1.mon

#cp /opt/cmcluster/nfs/nfs.flm nfs1.flm

#cmmakepkg –p /etc/cmcluster/nfs/nfs2.conf

#cmmakepkg –s /etc/cmcluster/nfs/nfs2.cntl

#cp /opt/cmcluster/nfs/hanfs.sh hanfs.2.sh

#cp /opt/cmcluster/nfs/nfs.mon nfs2.mon

#cp /opt/cmcluster/nfs/nfs.flm nfs2.flm

2.Edit the nfs.cntl scripts (nfs1.cntl, nfs2.cntl). Do not modify the FILESYSTEMS section (leave it commented out), since the file systems are mounted and unmounted by the CFS packages. Specify the IP address for the package and the subnet to which the IP address belongs:

IP[0]=15.13.114.243

SUBNET[0]=15.13.112.0

This IP address is the relocatable IP address for the package. NFS clients that mount the file systems in the package use this IP address to identify the server.

16

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