HP Serviceguard Toolkit for NFS manual Contents

Models: Serviceguard Toolkit for NFS

1 93
Download 93 pages 21.07 Kb
Page 3
Image 3

Contents

1. Overview of Serviceguard NFS

Limitations of Serviceguard NFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Overview of the NFS File Lock Migration Feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Supported Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Simple Failover to an Idle NFS Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Failover from One Active NFS Server to Another . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 A Host Configured as Adoptive Node for Multiple Packages . . . . . . . . . . . . . . . . . . . 15 Cascading Failover with Three Adoptive Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Server-to-Server Cross Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 How the Control and Monitor Scripts Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Starting the NFS Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Starting File Lock Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Halting the NFS Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Monitoring the NFS Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 On the Client Side . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

2. Installing and Configuring Serviceguard NFS

Installing Serviceguard NFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Monitoring NFS/TCP Services with Serviceguard NFS Toolkit . . . . . . . . . . . . . . . . . . 27 Before Creating a Serviceguard NFS Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Configuring a Serviceguard NFS Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Copying the Template Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Editing the Control Script (nfs.cntl) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Editing the NFS Control Script (hanfs.sh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Editing the File Lock Migration Script (nfs.flm). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Editing the NFS Monitor Script (nfs.mon) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Editing the Package Configuration File (nfs.conf) . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Configuring Server-to-ServerCross-Mounts (Optional) . . . . . . . . . . . . . . . . . . . . . . . 48 Creating the Cluster Configuration File and Bringing Up the Cluster. . . . . . . . . . . 51

3. Sample Configurations

Example One - Three-Server Mutual Takeover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Cluster Configuration File for Three-Server Mutual Takeover . . . . . . . . . . . . . . . . . 57 Package Configuration File for pkg01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 NFS Control Scripts for pkg01. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Package Configuration File for pkg02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 NFS Control Scripts for pkg02. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Package Configuration File for pkg03 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

3

Page 3
Image 3
HP Serviceguard Toolkit for NFS manual Contents