# Sun Cluster HA for NFS

> Overview
> Before Starting
> Installing Sun Cluster HA for NFS
> Modifying the Sun Cluster HA for NFS Configuration

## Overview

SunPlexTM Manager installs Sun Cluster HA for Network File System (NFS) by setting up a basic configuration that uses one exported directory. You must configure Sun Cluster HA for NFS as a failover service.

After the Sun Cluster HA for NFS installation is complete, you can customize the configuration by modifying, adding, and removing the exported directories. The section Modifying the Sun Cluster HA for NFS Configuration contains more information.

Note: Multiple instances of Sun Cluster HA for NFS can run on the cluster as long as the location of the configuration files and installation files are different for each installation and the ports do not conflict.

To customize your Sun Cluster HA for NFS installation, follow the procedures in the Sun Cluster 3.1 Data Services Installation and Configuration Guide.

Return to top

## Before Starting

Before you install the Sun Cluster HA for NFS, check the following items:

- Ensure that the logical host name is set up. In most cases, you set up the logical host name when you install Sun Cluster. If the logical host name is not set up, see Creating a Logical Host Name Resource.

- Determine where you want the configuration files to be installed. The configuration files must be installed in a global directory.

- Ensure that you have the CD that contains the Sun Cluster 3.1 data service.

Return to top

## Installing Sun Cluster HA for NFS

| The Sun Cluster HA for NFS takes approximately 10 minutes to install.
| When you exit SunPlex Manager or click Back in your web browser after you begin the installation, the data service disconnects you from the installation. This disconnection can result in an incomplete installation because of insufficient information or an unresolved error message. To clean up an incomplete installation, you must remove the application files and resources and resource groups that were created.

To install Sun Cluster HA for NFS, complete the following steps:

1. From the navigation frame in SunPlex Manager, choose [cluster name] Cluster.

   The Cluster window appears.

2. From the Install Data Service menu, choose NFS.

   SunPlex Manager ensures that:

   - The NFS data service package is already installed.
   - The NFS data service is registered with RGM.

   If the NFS data service package is installed and is registered, proceed to the next step.

   If SunPlex Manager does not find the NFS data service package already installed and registered, SunPlex Manager guides you through installation and registration. You need to provide the location of the CD that contains the Sun Cluster 3.1 data service.

   A window that contains configuration information appears.

3. Modify the information on the configuration page for your system.

   Field | Description
   --- | ---
   Export Directory | The global directory that is exported.
   Path Prefix | The directory that is to hold the configuration files.
   Resource Name | The name of the Sun Cluster HA for NFS resource that is created. This name must be unique within the cluster.
   Network Resource | The logical host name that is used to access NFS over the network.

4. To install Sun Cluster HA for NFS by using the parameters that you have set on this page, click Continue.

   SunPlex Manager verifies the information on the configuration page. If SunPlex Manager finds no errors, it installs Sun Cluster HA for NFS. If SunPlex Manager discovers errors, it displays an error message and then displays the configuration page.

5. To configure and start a resource, click Continue.

   SunPlex Manager lists the commands that it executes to configure and start the resource.

Return to top

## Modifying the Sun Cluster HA for NFS Configuration

You can modify the Sun Cluster HA for NFS by completing one of the following tasks:

- Adding an exported directory
- Removing an exported directory
- Changing the access options to read only or read and write for an exported directory
- Adding or changing the description for an exported directory

Note: The share_nfs (1M) man page provides additional information about how to modify the Sun Cluster HA for NFS configuration.

To modify the configuration, complete the following steps:

1. From the navigation frame in SunPlex Manager, choose [cluster name] Cluster.

   The Cluster window appears.

2. From the Configure Data Service menu, choose NFS.

   The Configure NFS window appears.

3. Choose the resource you want to modify, then click Modify.

   A second Configure NFS window appears. This window contains a list of all the Sun Cluster HA for NFS exported directories.

4. Change or add information to the table.

   Field | Description
   --- | ---
   Exported Directory | The path for the exported directory
   Access Options | The type of access that is permitted (rw = read and write, ro = read only)
   Description | The description of the exported directory
   Action | Whether or not the directory is exported

5. To implement your changes, click Continue.

   A confirmation page appears. This page contains a list of the commands that SunPlex Manager used to make the changes.

Note: Do not remove all directories from the export list, as a Sun Cluster HA for NFS resource must export at least one directory. If you want to stop exporting all directories, take the resource offline, delete the resource, or do both.

Return to top