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.
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 ... |
---|---|
|
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.) |
|
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.) |
|
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.) |
|
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.) |
|
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.) |
|
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. |
|
Step 8 in the procedure "3.2.3 How to Configure the Cluster". (This should have been done as part of the installation process.) |
|
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." |
|
Refer to "11.2.1 How to Share NFS File Systems". |
|
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.
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.