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

Page 23

NODE STATUS

STATE

 

 

 

thyme up

running

 

 

 

NODE STATUS

STATE

 

 

 

basil up

running

 

 

 

MULTI_NODE_PACKAGES

 

 

 

PACKAGE

STATUS

STATE

AUTO_RUN

SYSTEM

SG-CFS-pkg

up

running

enabled

yes

SG-CFS-DG-1

up

running

enabled

no

SG-CFS-MP-1

up

running

enabled

no

SG-CFS-MP-2

up

running

enabled

no

SG-NFS-XP-1

up

running

enabled

no

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.Create the nfs.conf file for each package with the cmmakepkg command. You must create one package for each server.

#cd /etc/cmcluster/nfs_modular

#cmmakepkg -m sg/all -m nfs/hanfs /etc/cmcluster/nfs_modular/\ nfs1.conf

#cmmakepkg -m sg/all -m nfs/hanfs /etc/cmcluster/nfs_modular/\ nfs2.conf

2. Edit the nfs.conf files (nfs1.conf, nfs2.conf) as follows:

a)Specify the IP address for the package and the subnet to which the IP address belongs:

ip_subnet15.13.112.0

ip_address15.13.114.243

This IP address is the relocatable IP address for the package. NFS clients that mount the file systems in the package will use this IP address to identify the server. You must configure a name for this IP address in the DNS, NIS, or LDAP database, or in the /etc/hosts file.

b)By default the service_name is enabled and is set to nfs.monitor. To monitor NFS services, change nfs.monitor to a unique name for each package.

service_name

nfs1.monitor

service_cmd

"$SGCONF/scripts/nfs/nfs_upcc.mon"

service_restart

none

service_fail_fast_enabled

no

service_halt_timeout

0

In the nfs2.conf file, set service_name to nfs2.monitor. If you do not want to monitor NFS services, comment out the service_name, service_cmd, service_restart, service_fail_fast_enabled and service_halt_timeout variables

23

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