C H A P T E R 4 |
Installing the Software in an NFS Configuration |
This chapter contains the following sections:
The following is a summary of the basic operations involved in installing Sun HPC ClusterTools software in an NFS client/server configuration:
You configure the Sun HPC ClusterTools software using the CLI utilities:
The procedures in this chapter show how to install Sun HPC ClusterTools software in an NFS configuration. For information about how to install the software in a non-NFS configuration, see Chapter 3.
To Set Up Installation From a Server Running Solaris 9 Software |
For installations from an NFS server, increase the number of concurrent server requests allowed from 16 to 256.
1. Change the relevant line in /etc/default/nfs and restart the NFS server:
2. Restart the NFS server daemon.
To Set Up Installation From a Server Running Solaris 10 Software |
Note - This procedure applies to both SPARC- and AMD Opteron and Intel x64-based servers. |
1. Open the /etc/default/nfs file in a text editor.
2. Change the value for NFSD_SERVER in the file from 16 to 256. the portion of the file that you edit looks like the following:
# Maximum number of concurrent NFS requests. # Equivalent to last numeric argument on nfsd command line. NFSD_SERVERS=16 |
Use the ctnfssvr command to install the Sun HPC ClusterTools software packages on the NFS server and to enable the Sun HPC ClusterTools software.
Note - You can set up the server and clients in any order, but the Sun HPC ClusterTools software cannot be activated until the NFS server is installed and the shared file system has been exported. |
See TABLE 4-1 for a summary of the ctnfssvr options.
Note - You must be logged in as superuser to run ctnfssvr. |
To Install the Software on the NFS Server |
This command sets up the NFS server and installs the packages from the Sun HPC ClusterTools software suite. However, the NFS server has not been enabled to service Sun HPC ClusterTools software requests from the NFS clients (that is, the cluster nodes).
After you have installed the Sun HPC ClusterTools software on the NFS server, you need to make the file system on which you installed the software available to the client nodes.
To Export the Shared File System |
If you installed the software in a location other than the default (/opt/SUNWhpc/HPC8.1), then specify the path to the file system where you installed the Sun HPC ClusterTools software in place of the default path.
When you want to install or activate Sun HPC ClusterTools 8.1 software in an NFS configuration, you must ensure that ctinstall and the other CLI commands are available to all nodes on the shared mount point. The ctinstall -c command is able to locate the shared mount point on the NFS server. ctinstall ensures that you have access to the activation tools by mounting the correct directory in /opt/SUNWhpc/HPC8.1.
This means that your mount point can be any location except /opt/SUNWhpc/HPC8.1.
You can do this in either of the following ways:
Use the ctinstall command to install Sun HPC ClusterTools software on cluster nodes. See TABLE 4-2 for a summary of the ctinstall options.
This section shows examples of software installations in which the ctinstall command is initiated from a central host in an NFS configuration.
This command is the same as the code example shown in To Install From a Central Host Using rsh, except that node1 and node2 are NFS client nodes. The -c option specifies the server and mount path for the installation. If the NFS server is to be used as a cluster node, run this command on it as well.
Use ctnfssvr to set up the NFS server and install the packages on it.
This command is the same as that shown in the previous example, except it includes the option -a, which causes the software to be activated automatically.
Note - Since this command activates the software on NFS client nodes as soon as the installation completes, the NFS server must be properly installed and enabled before this operation is performed. See Installing the Sun HPC ClusterTools Software Packages on an NFS Server for details on NFS server setup. |
This section shows examples of software installations in which the ctinstall command is initiated on the local node in NFS configurations.
This command installs the Sun HPC ClusterTools software packages on the local node.
Note - The NFS server must be installed and enabled before you can perform this step. For more information, see Installing the Client Software From a Central Host. |
This command is the same as that shown n the previous example, except the software is activated as soon as the installation completes.
For more information about activating Sun HPC ClusterTools software, see the following section.
In Sun HPC ClusterTools 8.1 software, the activation step sets up symbolic links to the program binaries. These symbolic links are convenient, but not required. You may skip the activation step and run Sun HPC ClusterTools 8.1 software from the directory in which it is installed (by default /opt/SUNWhpc/HPC8.1/bin).
Use the ctact command to activate Sun HPC ClusterTools software on cluster nodes. See TABLE 4-3 for a summary of the ctact options.
This section shows examples of software activation in which the ctact command is initiated from a central host.
This command activates the Sun HPC ClusterTools software packages on the local node.
Use the ctdeact command to deactivate Sun HPC ClusterTools software on cluster nodes. See TABLE 4-4 for a summary of the ctdeact options.
This section shows examples of software deactivation in which the ctdeact command is initiated from a central host.
To Deactivate Specified Cluster Nodes in an NFS Configuration |
This command deactivates the software on the nodes node1 and node2 from the central server.
Use the ctremove command to remove Sun HPC ClusterTools software from cluster nodes. See TABLE 4-5 for a summary of the ctremove options.
Note - If the nodes are active at the time ctremove is initiated, they will be deactivated automatically before the removal process begins. |
This section shows examples of software removal in which the ctremove command is initiated from a central host.
To Remove Software From Specified Cluster Nodes in an NFS Configuration |
The following command removes the software from nodes node1 and node2 from the server myserver. In this example, telnet is the connection type.
Note - The ctremove command unmounts the nodes from the mount point, but it does not unshare the shared file system. |
To Unshare the Shared File System |
If you installed the Sun HPC ClusterTools 8.1 software to a location other than the default, then substitute the path to the file system where you installed the Sun HPC ClusterTools software for/export/SUNWhpc/HPC8.1.
Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.