Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

ProcedureTo Configure External IP Addresses

To configure external IP addresses for a diskless node, the node must have an extra physical network interface or logical network interface. A physical network interface is an unused interface on an existing Ethernet card or a supplemental HME Ethernet card or QFE Ethernet card, for example, hme2. A logical network interface is an interface that is configured on an existing Ethernet card, for example, hme1:101.

  1. Configure an external IP address for the extra network interface based on your public network policy.

ProcedureTo Disable the Router Feature

Because the cluster network is not routable, you must disable the diskless node as a router.

  1. Log in to the master node as superuser.

  2. Create the notrouter file:

    # touch /export/root/diskless-node-name/etc/notrouter

    For a description of the advantages of using a private cluster network, see the "Cluster Addressing and Networking" in Netra High Availability Suite Foundation Services 2.1 6/03 Overview.

ProcedureTo Set Up File Systems for a Diskless Node

To set up file systems for a diskless node, you create the mount points /SUNWcgha/remote, SUNWcgha/services, and /SUNWcgha/swdb. Add the NFS mount points for the directories that contain middleware data and services on the master node. Update the /etc/vfstab file in the root directory for the diskless node. Then, these file systems are exported from the master node through the NFS, and are automatically mounted for the diskless nodes at boot time.

Table 7-3 explains the file systems that are exported on the master node and the corresponding mount points for the diskless nodes. For information about how to export these file systems on the master node, see To Set Up File Systems on the Master-Eligible Nodes.

Table 7-3 Mounted File Systems

Description

Exported Mount Point on the Master Node

Mount Point for Diskless Nodes

Root file systems

/export/root/diskless-node-name

/

Foundation Services data used locally

/SUNWcgha/local

Not exported

Foundation Services exported data

/SUNWcgha/local/export/data

/SUNWcgha/remote

Foundation Services exported data

/SUNWcgha/local/export/services/ha_v1/opt

/SUNWcgha/services

Foundation Services exported data

/SUNWcgha/local/export/services

/SUNWcgha/swdb

All file systems that you mount using NFS must be mounted with the options fg, hard, and intr. You can also set the noac mount option, which suppresses data and attribute caching. Use the noac option only if the impact on performance is acceptable.

  1. Log in to the master node as superuser.

  2. Edit the entries in the /export/root/diskless-node-name/etc/vfstab file.

    • If you have configured the CGTP, replace the host name of the master node with the host name associated with the floating IP address for the cgtp0 interface that is assigned to the master role, for example, master-cgtp.

      For more information, see To Create Floating Address Triplet Assigned to the Master Role.

    • If you have not configured the CGTP, replace the host name of the master node with the host name associated with the floating IP address for the NIC0 interface that is assigned to the master role, for example, master-nic0.

  3. Define the mount points /SUNWcgha/remote, SUNWcgha/services, and /SUNWcgha/swdb.

    • If you have configured the CGTP, use the floating IP address for the cgtp0 interface that is assigned to the master role to define the mount points.

      master-cgtp:/SUNWcgha/local/export/data -       \
      /SUNWcgha/remote        nfs     -       yes     \
      rw,hard,fg,intr
      master-cgtp:/SUNWcgha/local/export/services/ha_v1/opt   \
      -       /SUNWcgha/services      nfs     -       yes    \
      rw,hard,fg,intr
      master-cgtp:/SUNWcgha/local/export/services     -     \
      /SUNWcgha/swdb  nfs    -       yes     rw,hard,fg,intr

    • If you have not configured the CGTP, use the floating IP address for the NIC0 interface that is assigned to the master role.
      master-nic0:/SUNWcgha/local/export/data -       \
      /SUNWcgha/remote        nfs     -       yes     \
      rw,hard,fg,intr
      master-nic0:/SUNWcgha/local/export/services/ha_v1/opt   \
      -       /SUNWcgha/services      nfs     -       yes    \
      rw,hard,fg,intr
      master-nic0:/SUNWcgha/local/export/services     -     \
      /SUNWcgha/swdb  nfs    -       yes     rw,hard,fg,intr


    Note - Do not use IP addresses in the /etc/vfstab file for the diskless nodes. Instead, use logical host names. Otherwise, the pkgadd -R command fails and returns the following message:

    WARNING: <cannot install to or verify on <master_ip>


  4. In the diskless node directory /export/root/diskless-node-name, create the mount points:

    # mkdir -p SUNWcgha/remote
    # mkdir -p SUNWcgha/services
    # mkdir -p SUNWcgha/swdb

  5. Repeat Step 2 and Step 4 for all diskless nodes.

ProcedureTo Create the nhfs.conf File for a Diskless Node

Each node in the cluster has a cluster configuration file, nhfs.conf. Create this file for the new diskless node by performing this procedure.

  1. Log in to the master node as superuser.

  2. Create the nhfs.conf file for the diskless node:

    # cp /etc/opt/SUNWcgha/nhfs.conf.template \
    /export/root/diskless-node-name/etc/opt/SUNWcgha/nhfs.conf

  3. Configure the /export/root/diskless-node-name/etc/opt/SUNWcgha/nhfs.conf file.

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

    If you have not installed the CGTP patches and packages, do the following:

    • Disable the Node.NIC1 and Node.NICCGTP parameters.

      To disable these parameters, add a comment mark (#) at the beginning of the line containing the parameter if this mark is not already present.

    • Configure the Node.UseCGTP and the Node.NIC0 parameters:

      • Node.UseCGTP=False

      • Node.NIC0=interface-name

        where interface-name is the name of the NIC0 interface, for example, hme0, qfe0, or eri0.

  4. Repeat Step 2 and Step 3 for all diskless nodes.

Previous Previous     Contents     Index     Next Next