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
Managing Serviceguard NFS for Linux > Chapter 2 Installing and Configuring Serviceguard NFS for Linux

Installing Serviceguard NFS for Linux

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The following describes the Serviceguard NFS Toolkit for Linux installation process.

  1. Check for and remove any previous version of Serviceguard NFS for Linux:

    Query the rpm database for the NFS Toolkit:

    # rpm -qa |grep nfs-toolkit

    If any part of the NFS Toolkit is installed, the grep returns the version number.

    Remove older versions of the NFS Toolkit, if needed:

    # rpm -e nfs-toolkit-<release_version>

  2. Use the Red hat and SuSE Package Management rpm command to install the Serviceguard NFS file set. Change to your RPM file directory, then issue the following commands:

    Red Hat:

    Proliant Servers (running the 32 bit version of the distribution):

    # rpm -i nfs-toolkit-A.03.01-0.product.redhat.i386.rpm

    Proliant Servers (running the x86_64 bit version of the distribution):

    # rpm -i nfs-toolkit-A.03.01-0.product.redhat.x86_64.rpm

    Integrity Servers:

    # rpm -i nfs-toolkit-A.03.01-0.product.redhat.ia64.rpm

    SUSE Linux Enterprise Server:

    Proliant Servers (running the 32 bit version of the distribution):

    # rpm -i nfs-toolkit-A.03.01-0.product.suse.i386.rpm

    Proliant Servers (running the x86_64 bit version of the distribution):

    # rpm -i nfs-toolkit-A.03.01-0.product.suse.x86_64.rpm

    Integrity Servers:

    # rpm -i nfs-toolkit-A.03.01-0.product.suse.ia64.rpm

    NOTE: The following procedures assume your environment is Red Hat. If your environment is SLES, replace all occurrences of "/usr/local" with /opt

    The files will be installed in the following directories: /usr/bin and /usr/local/cmcluster/conf/modules/tkit/nfs, /usr/local/cmcluster/conf/scripts/tkit/nfs and /usr/local/cmcluster/nfstoolkit for Red Hat. The following files are part of the toolkit:

    • /usr/local/cmcluster/nfstoolkit/README.

      Description of the toolkit contents.

    • /usr/local/cmcluster/nfstoolkit/hanfs.conf.

      The NFS configuration file to set user configuration parameters

    • /usr/local/cmcluster/nfstoolkit/hanfs.sh.

      The NFS control script that starts and stops NFS daemons and exports and unexports file systems.

    • /usr/local/cmcluster/nfstoolkit/nfs.mon.

      The NFS monitor script.

    • /usr/local/cmcluster/conf/modules/tkit/nfs/nfs.1.

      The Attribute Definition File (ADF) to generate package configuration template in Modular packages.

    • /usr/local/cmcluster/conf/modules/tkit/nfs/nfs.

      Softlink to the ADF file above.

    • /usr/local/cmcluster/conf/scripts/tkit/nfs/tkit_module.sh.

      Script which calls toolkit.sh to start and stop the NFS application in Modular packages.

    • /usr/local/cmcluster/conf/scripts/tkit/nfs/tkit_gen.sh.

      Script which generates the toolkit configuration file in Modular packages.

    • /usr/local/cmcluster/conf/scripts/tkit/nfs/lock_migration.sh.

      Script which starts the lock migration process in Modular packages.

    • /usr/local/cmcluster/nfstoolkit/nfs.flm.

      The NFS File Lock Migration synchronization script

    • /usr/bin/sync_rmtab.

      Remote mount table synchronization executable 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 in case of legacy packages. The command must be run in the /usr/local/cmcluster/nfstoolkit directory with the following commands:

    For Legacy packages:

    # cd /usr/local/cmcluster/nfstoolkit

    # cmmakepkg -p pkg.conf

    # cmmakepkg -s pkg.cntl

    For Modular packages:

    # cd /usr/local/cmcluster/nfstoolkit

    # cmmakepkg -m tkit/nfs/nfs pkg.conf

    NOTE: For more information about creating Modular packaging, see the Modular package support in Serviceguard for Linux and ECM Toolkits white paper available at: http://docs.hp.com -> High Availability.
  4. Create a directory for your package files, for example:

    # mkdir /usr/local/cmcluster/<pkg_name>

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

    # cp /usr/local/cmcluster/nfstoolkit/* \ /usr/local/cmcluster/<pkg_name>

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.