Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next
Chapter 7

Installing the Software for Diskless Nodes

When you have installed and configured the master-eligible nodes of the cluster, you can add diskless nodes and dataless nodes to the cluster.

This chapter pertains to diskless nodes. To add dataless nodes to your cluster, see Chapter 8, Installing the Software on the Dataless Nodes.

Information about installing software for diskless nodes is provided the following sections:

Preparing to Install a Diskless Node

Before installing and configuring the software for a diskless node, check that the node is connected to the cluster and that there is enough disk space on the master-eligible nodes.

ProcedureTo Connect a Diskless Node to the Cluster

  1. To connect a diskless node to a cluster, you connect the two network interfaces of the diskless node to the two switches of the cluster.

    For details on how to connect the diskless node to other nodes in the cluster, see the Netra High Availability Suite Foundation Services 2.1 6/03 Hardware Guide.

ProcedureTo Check Disk Space on the Master Node

  1. Check that an exported file system is configured for the diskless node on a shared partition of the master node.

    The number of diskless nodes in a cluster depends on your hardware configuration and the disk space that is available in your shared file system. For each diskless node, there must be a mounted file system on the master node with a capacity of 100 Mbytes. The file system for diskless nodes is in the /export directory. For example disk partitions for a master-eligible node, see Defining Disk Partitions on the Master-Eligible Nodes.


    Note - Each diskless node must be configured with sufficient physical memory so that swapping is not required. Swapping to a file system across NFS has a serious impact on performance.


Installing the Solaris Operating System for Diskless Nodes on the Master Node

Install the Solaris operating system for diskless nodes by using the smosservice command on the master node. You run this command only the first time you add a diskless node to a cluster to install the common Solaris services for all diskless nodes. The common Solaris services for the diskless node is installed in the directory /export/exec on the master node. You must also install the following packages: SMEvplr.u, SUNWsiox.u, SUNWkvm.u, SMEvplu.u. Install SMEvplr.u and SUNWsiox.u on the root file system for the diskless nodes. Install SUNWkvm.u and SMEvplu.u on the /usr directory for each diskless node.

For every additional diskless node, you only need to create the root file system for the new node by using the smdiskless command. The root file system is installed in the /export/root/diskless-node-name directory for each diskless node.

To install the Solaris operating system for the diskless nodes, see the following procedures.

ProcedureTo Install the Common Solaris Services for Diskless Nodes on the Master Node

  1. Ensure that the mount points to the software distributions have been configured.

    For more information, see To Mount an Installation Server Directory on the Master-Eligible Nodes.

  2. Log in to the master node as superuser.

  3. Start the Solaris Management Console.

    # smc
    # ps -ef | grep smc
        root   474   473  0   Jul 29 ?        0:00 /usr/sadm/lib/smc/bin/smcboot
        root   473     1  0   Jul 29 ?        0:00 /usr/sadm/lib/smc/bin/smcboot

    For more information, see the smc(1M) man page.

  4. Run the smosservice command:

    # /usr/sadm/bin/smosservice add -p root-password -- \
    -x mediapath=Solaris-distribution-dir \
    -x platform=Solaris-platform \
    -x cluster=Solaris-cluster \
    -x locale=locale

    • root-password is the superuser password. By default, this password is sunrules.

    • Solaris-distribution-dir is the mounted directory on the master node that contains the Solaris distribution.

    • Solaris-platform is the Solaris platform, for example, sparc.sun4u.Solaris_9.

    • Solaris-cluster is the Solaris cluster to install, for example, SUNWCuser.

    • locale is the locale to install. For U.S. English, the value is en_US.

    For example, to install the Solaris services for diskless nodes, type:

    # /usr/sadm/bin/smosservice add -p sunrules -- \
    -x mediapath=/Solaris9-Distribution
    -x platform=sparc.sun4u.Solaris_9
    -x cluster=SUNWCuser
    -x locale=en_US

    The common Solaris services for all diskless nodes are installed in the /export/exec directory on the master node.

    For more information, see the smosservice(1M) man page.

ProcedureTo Install the SUNWkvm.u and SMEvplu.u Solaris Packages

  1. Ensure that the mount points to the software distributions have been configured.

    For more information, see To Mount an Installation Server Directory on the Master-Eligible Nodes.

  2. Log in to the master node as superuser.

  3. Install the SUNWkvm.u package:

    # pkgadd -R /export/Solaris_x/usr_sparc.all SUNWkvm.u

  4. Install the SMEvplu.u package:

    # pkgadd -R /export/Solaris_x/usr_sparc.all SMEvplu.u

Previous Previous     Contents     Index     Next Next