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 MC/ServiceGuard NFS for Linux > Chapter 2 Installing and Configuring MC/ServiceGuard NFS for Linux

Before Creating an MC/ServiceGuard NFS Package

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Before creating a MC/ServiceGuard NFS package, perform the following tasks:

  1. Select the NFS Server package during Red Hat Linux installation and verify that the NFS is properly installed.

    After RedHat installation is complete, check for both the NFS kernel and NFS utility to verify NFS installation:

    • Verify the NFS utility, run the command:

      # rpm -qa | grep nfs

      If the output contains nfs-utils-<release_version> , the utility is installed.

    • Verify NFS kernel, do the following: (the following steps are for Linux run-level 5)

      • Use the following command to change directory:

        # cd /usr/src/linux-2.4

      • Run make xconfig command.

        A kernel configuration window is displayed.

      • From the configuration window, click the File Systems button.

        A File System configuration window is displayed

      • From the File Systems window, click the Network File Systems button.

      • Verify that both NFS file system support and NFS server support items are checked.

        If both are checked, NFS is included in Linux Kernel.

  2. Set up your MC/ServiceGuard cluster according to the instructions in the Managing MC/ServiceGuard for Linux manual.

  3. Configure the disk hardware for high availability. Disks may be protected using disk mirroring or an HP High Availability Disk Array. Data disks associated with MC/ServiceGuard NFS must be external disks. All the nodes that support the MC/ServiceGuard NFS package must have access to the external disks. For most disks, this means that the disks must be attached to a shared bus that is connected to all nodes that support the package.

    Create appropriate multiple device (MD) definitions for your storage. For information on configuring multiple devices, see the Managing MC/ServiceGuard for Linux, Chapter 5.

  4. Use LVM commands to set up volume groups, logical volumes, and file systems as needed for the data that will be exported to clients. Refer to the Managing MC/ServiceGuard manual.

    1. Create a directory for each NFS package. For example:

      /usr/local/cmcluster/nfs1
    2. In the directory create a raidtab.nfs1 file describing this package's MD definitions.

    The names of the volume groups must be unique within the cluster, and the major and minor numbers associated with the volume groups must be the same on all nodes. In addition, the mounting points and exported file system names must be the same on all nodes.

    The preceding requirements exist because NFS uses the major number, minor number, inode number, and exported directory as part of a file handle to uniquely identify each NFS file. If differences exist between the primary and adoptive nodes, the client's file handle would no longer point to the correct file location after movement of the package to a different node.

  5. Make sure the user IDs and group IDs of those who access the MC/ServiceGuard NFS file system are the same on all nodes that can run the package.

    Make sure the user IDs and group IDs in the /etc/passwd and /etc/group files are the same on the primary node and all adoptive nodes, or use NIS to manage the passwd and group databases.

  6. Create an entry for the name of the package in the DNS or NIS name resolution files, or in /etc/hosts, so that users will mount the exported file systems from the correct node. This entry maps the package name to the package's relocatable IP address.

  7. Decide whether to place executables locally on each client or on the NFS server. There are a number of trade-offs to be aware of regarding the location of executables with MC/ServiceGuard NFS.

    The advantages of keeping executables local to each client are as follows:

    • No failover time. If the executables are local to the client, there is no delay if the NFS server fails.

    • Faster access to the executables than accessing them through the network.

    The advantage of putting the executables on the NFS server is as follows:

    • Ease of management. If the executables are located in one centralized location, the administrator must update only one copy when changes are made.

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