Sun Cluster 2.2 Software Installation Guide

11.1 Sun Cluster HA for NFS Overview

This chapter describes the steps necessary to configure and run Sun Cluster HA for NFS on your Sun Cluster servers. It also describes the steps necessary to add Sun Cluster HA for NFS to a system that is already running Sun Cluster.

Before beginning the tasks in this chapter, see Chapter 2, Planning the Configuration, for more information on setting up file systems. Refer to "2.6 Configuration Restrictions", for HA-NFS configuration restrictions.


Note -

To avoid any failures due to name service lookup, all logical host names should be present in the server's and client's /etc/hosts file. Name service mapping on the servers should be configured to look first at the local files before trying to access NIS or NIS+. This prevents timing related errors in this area and ensures that ifconfig and statd do not fail in resolving logical host names.


Table 11-1 shows the high-level steps to configure Sun Cluster HA for NFS to work with Sun Cluster. The tasks should be performed in the order shown.

Table 11-1 High-Level Steps to Configure Sun Cluster HA for NFS

Task 

Go To ... 

  1. Updating the name service with logical host names

Step 4 in the procedure "3.2.2 How to Install the Server Software". (This should have been done prior to running the scinstall(1M) command.)

  1. Modifying name service lookups in the /etc/nsswitch.conf file to access /etc files first

Step 7 in the procedure "3.2.2 How to Install the Server Software". (This should have been done prior to running the scinstall(1M) command.)

  1. Initializing NAFO

Step 21in the procedure "3.2.2 How to Install the Server Software". (This should have been done as part of the scinstall(1M) process.)

  1. Setting up logical hosts

Step 22 in the procedure "3.2.2 How to Install the Server Software". (This should have been done as part of the scinstall(1M) process.)

  1. Assigning net names and disk groups

Step 25 in the procedure "3.2.2 How to Install the Server Software". (This should have been done as part of the scinstall(1M) process.)

  1. Configuring the volume manager

For Solstice DiskSuite configurations, refer to Appendix B, Configuring Solstice DiskSuite. For Sun StorEdge Volume Manager configurations, refer to Appendix C, Configuring Sun StorEdge Volume Manager and Cluster Volume Manager.

  1. Creating NAFO backup groups

Step 8 in the procedure "3.2.3 How to Configure the Cluster". (This should have been done as part of the installation process.)

  1. Creating multihost file systems

For Solstice DiskSuite configurations, refer to Appendix B, Configuring Solstice DiskSuite." For Sun StorEdge Volume Manager configurations, refer to Appendix C, Configuring Sun StorEdge Volume Manager and Cluster Volume Manager."

  1. Editing the dfstab.logicalhost files

Refer to "11.2.1 How to Share NFS File Systems".

  1. Registering Sun Cluster HA for NFS

Refer to "11.2.2 How to Register and Activate NFS".

The mount points for NFS file systems placed under the control of Sun Cluster HA for NFS must be the same on all nodes that are capable of mastering the logical host containing those file systems.


Note -

To avoid "stale file handle" errors on the client during NFS failovers, make sure that the Sun StorEdge Volume Manager vxio driver has identical pseudo-device major numbers on all cluster nodes. This number can be found in the /etc/name_to_major file after you complete the installation.

See Appendix C, Configuring Sun StorEdge Volume Manager and Cluster Volume Manager, for pseudo-device major number administrative procedures.