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

Page 19

Starting a Serviceguard NFS failover package

1.Copy the configuration files to each server in the cluster:

#rcp –p /etc/cmcluster/nfs/* {hostname}:/etc/cmcluster/nfs

2.Verify the cluster and package configuration files on each server:

#cmcheckconf –k –v –C /etc/cmcluster/cluster.conf –P /etc/cmcluster/nfs/nfs1.conf –P /etc/cmcluster/nfs/nfs2.conf

3.Verify and apply the cluster package configuration files on a single server:

#cmapplyconf –v –C /etc/cmcluster/cluster.conf –P /etc/cmcluster/nfs/nfs1.conf –P /etc/cmcluster/nfs/nfs2.conf

4.Run the failover packages:

#cmrunpkg –n thyme –v SG-NFS1

#cmrunpkg –n basil –v SG-NFS2

If you run the cmviewcl command, the output is similar to the following:

# cmviewcl

 

 

 

 

 

CLUSTER

STATUS

 

 

 

cluster1

up

 

 

 

 

NODE STATUS

STATE

 

 

 

thyme up

 

running

 

 

PACKAGE

STATUS

STATE

AUTO_RUN

NODE

SG-NFS1

up

 

running

enabled

thyme

NODE STATUS

STATE

 

 

 

basil

up

 

running

 

 

PACKAGE

STATUS

STATE

AUTO_RUN

NODE

SG-NFS2

up

 

running

enabled

basil

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

7.Configuring Serviceguard NFS Modular Package over CFS Packages

This section describes how to configure and start Serviceguard NFS modular packages in a Serviceguard over CFS environment. It is assumed that you have already setup your Serviceguard cluster, and have performed the steps listed in the “Before Creating

19

Image 19
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-NFS1 SG 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