Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

ProcedureTo Create a Root File System for a Diskless Node on the Master Node

After the common Solaris services for the diskless nodes are installed, use the smdiskless command on the master node to create a root file system for each diskless node in the cluster. You must create the root file system for each diskless node in the cluster.

  1. Log in to the master node as superuser.

  2. Create the root file system for each diskless node:

    # /usr/sadm/bin/smdiskless add -p root-password -- \
    -i IP-address-NIC0 \
    -e Ethernet-address \
    -n diskless-node-name \
    -x os=Solaris-platform \
    -x locale=locale

    • root-password is the root password; by default this password is sunrules.

    • IP-address-NIC0 is the IP address of the diskless node on the NIC0 interface, for example, 10.250.1.30.

    • Ethernet-address is the Ethernet address of the diskless node, for example, 08:00:20:01:02:03.

    • diskless-node-name is the name of the diskless node, for example, netraDISKLESS1.

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

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

    For example, to add a new diskless node that is named netraDISKLESS1 that runs Solaris 9 on a Sun4U™ machine, type:

    # /usr/sadm/bin/smdiskless add -p sunrules -- -i 10.250.1.20  \
    -e 08:00:20:01:02:03 -n netraDISKLESS1 -x os=sparc.sun4u.Solaris_9 \
    -x locale=en_US

    The root file system for the diskless node is created in the /export/root/netraDISKLESS1 directory.

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

ProcedureTo Install the SMEvplr.u and SUNWsiox.u Solaris Packages for Diskless Nodes

  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 SMEvplr.u package for each diskless node:

    # pkgadd -R /export/root/<diskless-node-name> -d /mnt SMEvplr.u

  4. Install the SUNWsiox.u package:

    # pkgadd -R /export/root/<diskless-nodename> -d /mnt SUNWsiox.u

ProcedureTo Configure the Trivial File Transfer Protocol on the Master-Eligible Nodes

The smdiskless command creates the directory /tftpboot on the master node. This directory contains the boot image for each diskless node. Create the same directory on the vice-master node. Then, after a switchover, the new master node can boot the diskless nodes.

  1. Log in to the master node as superuser.

  2. Modify the /etc/inetd.conf file to configure the Trivial File Transfer Protocol (TFTP).

    Uncomment the tftp line, by deleting the comment mark at the beginning of the line, for example:

    # tftp   dgram   udp6    wait    root
    /usr/sbin/in.tftpd      in.tftpd -s /tftpboot

    For more information, see the inetd.conf(4) man page.

  3. Copy the /tftpboot directory to the vice-master node:

    # find /tftpboot | cpio -omB | rsh vice-master-cgtp0-address cpio -idumvB

  4. Log in to the vice-master node.

  5. Repeat Step 2 on the vice-master node.

ProcedureTo Install Solaris Patches

In the root directory for each diskless node on the master node, install the necessary Solaris patches. The Netra High Availability Suite Foundation Services 2.1 6/03 README contains the list of Solaris patches that you must install. The contents of this list depends on the version of the Solaris operating system you installed.


Note - Some of these patches are required for CGTP. If you do not plan to install CGTP, do not install the CGTP patches. For more information about the impact of not installing CGTP, see Choosing a Cluster Network.


  1. Log in to the master node as superuser.

  2. Check that the directory containing the Foundation Services software distribution on the installation server is mounted on the master node:

    # mount
    ...
    /NetraHASuite on 10.250.1.100:/software-distribution-dir  \
    remote/read/write/setuid/dev=3ec0004 on Tue Sep 24 17:06:09 2002
    #

    • 10.250.1.100 is the IP address of the installation server network interface that is connected to the cluster.

    • software-distribution-dir is the directory that contains the Foundation Services packages.

    If the directory is not mounted, mount the directory as described in To Mount an Installation Server Directory on the Master-Eligible Nodes.

  3. Install the Solaris services patches for the diskless nodes on the master node:

    # patchadd -S Solaris_x /NetraHASuite/Patches/patch-number

    where x is 8 or 9 depending on the Solaris version installed.

  4. Apply the patches for each diskless node:

    # patchadd -R /export/root/diskless-node-name \
    /NetraHASuite/Patches/patch-number

Installing the DHCP and the Reliable Boot Service

The Reliable Boot Service ensures continuous availability of the DHCP server in a cluster. In the event of a failover of the master node, the vice-master node takes over from the master node. In the event of the failure of a diskless node, the Reliable Boot Service enables the diskless node to reboot automatically. This service also reassigns IP addresses to diskless nodes. For more information, see the Netra High Availability Suite Foundation Services 2.1 6/03 Overview.

The Reliable Boot Service is included in Foundation Services packages SUNWnhrbs and SUNWnhrbb. These packages contain a DHCP public module. These packages also contain template files for the DHCP service configuration file, the network containers, and dhcptab containers.

ProcedureTo Install the DHCP and the Reliable Boot Service

  1. Log in to each master-eligible node as superuser.

  2. Check that the Solaris DHCP packages are installed on the master-eligible nodes.

    The DHCP is delivered in the SUNWdhcm, SUNWdhcsr, and SUNWdhcsu packages.

    # pkginfo SUNWdhcm SUNWdhcsr SUNWdhcsu

    If not already installed, install the Solaris DHCP packages on each master-eligible node:

    # pkgadd -d Solaris-distribution-dir SUNWdhcm SUNWdhcsr SUNWdhcsu

  3. Install the SUNWnhrbs and SUNWnhrbb Reliable Boot Service packages on each master-eligible node:

    # pkgadd -d /NetraHASuite/Packages/ SUNWnhrbs SUNWnhrbb

Previous Previous     Contents     Index     Next Next