Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
MC/ServiceGuard NFS for Linux Version A.01.01 Release Notes > Chapter 1 MC/ServiceGuard NFS for Linux Version A.01.01 Release Notes

Compatibility Information and Installation Requirements

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

In addition to the instructions provided below, see Managing MC/ServiceGuard NFS on Linux (T1142-90007) for more detailed installing and configuring instructions.

IMPORTANT: You cannot use MC/ServiceGuard NFS Toolkit without NFS Services. The NFS server programs must be installed on your Linux sytem before you install, configure, and test your NFS package. (When installing the RedHat Linux distribution, you select the "NFS Server" option. The RedHat installation program will install both NFS kernel and utility.)

Installing MC/ServiceGuard NFS for Linux

  1. Before you start, use the following steps to remove any previous version of MC/ServiceGuard NFS for Linux:

    To query the NFS Toolkit from the rpm database use:

    # rpm -qa |grep nfstoolkit

    If any part of the NFS Toolkit is installed, erase it using:

    # rpm -e nfstoolkit-<release>

  2. To install the NFS Toolkit use the following commands:

    # rpm -i nfstoolkit-A.01.01-0.product.redhat.i386.rpm

    The files will be installed in the /usr/local/cmcluster/nfstoolkit and /usr/lib directories. The following files are part of the toolkit:

    • /usr/local/cmcluster/nfstoolkit/README. Description of the tool kit contents.

    • /usr/local/cmcluster/nfstoolkit/hanfs.sh. The NFS control script template that starts and stops NFS daemons and exports and unexports file systems.

    • /usr/local/cmcluster/nfstoolkit/nfs.mon. The NFS monitor script.

    • /usr/bin/sync_rmtab. Remote mount table synchronization binary code.

    • /usr/local/cmcluster/nfstoolkit/toolkit.sh. The interface script between the Package Control Script and hanfs.sh.

  3. Run cmmakepkg command to generate a package configuration file and package control script template to the the /usr/local/cmcluster/nfstoolkit directory with the following :

    # cd /usr/local/cmcluster/nfstoolkit

    # cmmakepkg -p pkg.conf

    # cmmakepkg -s pkg.cntl

  4. Create a directory for your package files called /usr/local/cmcluster/<pkg_name>

  5. Issue the following command to copy the MC/ServiceGuard NFS template files to the newly created package directory:

    # cp /usr/local/cmcluster/nfstoolkit/* \

    /usr/local/cmcluster/<pkg_name>

Copying the Template Files

If you will run only one MC/ServiceGuard NFS package in your MC/ServiceGuard cluster, you do not have to copy the template files. However, if you will run multiple MC/ServiceGuard NFS packages, each package must have its own package directory, package configuration file and control scripts. For each MC/ServiceGuard NFS package you will run, make a copy of all the package files including package configuration file (pkg.conf), package control script (pkg.cntl), interface script (toolkit.sh), NFS Control Script (hanfs.sh), and NFS monitor script (nfs.mon). You can use package specific file names for the scripts, such as pkg1.conf and pkg1.cntl.

NOTE: pkg.cntl, toolkit.sh, and hanfs.sh should be in the same directory. Do not rename the toolkit.sh, hanfs.sh and nfs.mon. These files are hard coded in the two control scripts.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.