Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

Configuring the Node State Manager

The following procedure describes how to configure the Node State Manager in the network.conf file.

ProcedureTo Configure the Node State Manager

  1. In the machine.conf file, do the following:

    • Add a dedicated NIC to the master-eligible nodes.

    • Assign the role NSM to the dedicated NIC.

    For example:

    ELEMENT nic nic2@peerNode1 device qfe0
            type PHYSICAL class SECONDARY role NSM
            USE ip external-access

  2. In the network.conf file, define the associated address and the related network.

    This address must be configured as a floating address in the network.conf file, for example:

    ELEMENT network external type IPV4 number 129.157.201.0 netmask 255.255.255.0
    
    ELEMENT ip external-access address 129.157.201.10 type FLOATING
            BELONG_TO network external

  3. In the cluster.conf file, configure the cluster domain.

    ELEMENT domain cluster_domain id 100
            INVOLVE network phys-A
                    network phys-B
                    network cgtp
                    network external
            USE ip master-cgtp
                ip master-nic0
                ip master-nic1

Configuring a Switch

The following procedure describes how to configure a switch in the network.conf file.

ProcedureTo Configure the Switch

  1. Add the configuration element switch in the machine.conf file.

  2. Add the port elements with their connections to the NICs on the board in the machine.conf file.

  3. In the network.conf file, add the IP addresses of the switches.

    The IP addresses of the switches may be on a different subnet to the three CGTP subnets. In this case, add the subnet to the cluster domain definition in the cluster.conf file and to the network.conf file.

Reconfiguring the Disk Controller Type

If your prototype machine does not have exactly the same specification as your target cluster machine, you may need to reconfigure the disk controller type.

ProcedureTo Reconfigure the Disk Controller Type

  1. In the configuration element disk, change the device parameter value.

Configuring the Boards and NICs According to the Diskless Node Boot Policy

The following procedure describes how to configure the boards and NICs in the network.conf file, according to the diskless node boot policy.

ProcedureTo Configure the Boards and NICs According to the Diskless Node Boot Policy

  1. For the STATIC_CLIENT_ID_POLICY boot policy, configure the clientId parameter in the configuration element board.

  2. For the MAC_ADDR_POLICY boot policy, configure the Ethernet address in the configuration element nic for the two physical NICs.

Adding Cluster-Specific Configuration Data to the cluster.conf File

This section describes how to add cluster-specific network data to the cluster.conf file. You can define the node IDs in the cluster.conf file if you did not do so in stage 1. For more information, see the cluster.conf(4) man page.

ProcedureTo Configure the Floating Address Triplet

  1. In the cluster.conf file, configure the floating address triplet.

    The floating address triplet must be a CGTP address named master-cgtp, and two IP addresses associated to the two physical networks. In the following program listing, id is the ID of the CMM domain.

    # Cluster domain definition
    #
    # id -> CMM domainId
    # ip -> master master-nic0 master-nic1 floating addresses
    #
    ELEMENT domain cluster_domain id 100
            INVOLVE network phys-A 
                    network phys-B 
                    network cgtp 
                    network external 
                    router default-router
            USE ip master-cgtp
                ip master-nic0
                ip master-nic1

  2. Ensure that the floating address triplet is defined in the network.conf configuration file.

    For example:

    #
    # Master floating addresses
    #
    ELEMENT ip master-cgtp address 10.101.3.1 type FLOATING alias master
    	BELONG_TO network cgtp 
    
    ELEMENT ip master-nic0 address 10.101.1.1 type FLOATING
    	BELONG_TO network phys-A 
    
    ELEMENT ip master-nic1 address 10.101.2.1 type FLOATING
    	BELONG_TO network phys-B 

Configuring the Bitmap Partitions

The SMCT automatically configures the bitmap partitions to write updates to memory. The information thus stored in memory is written to the disk when the node is shut down.

However, you also have the option writing the updates to the disk directly. When an update is made to a mounted directory, the update is stored on the disk in the bitmap partition. To change the way the bitmaps are configured, perform the following procedure.

ProcedureTo Change the Configuration of Bitmap Partitions

  1. Log in to the build server.

  2. Copy the following files from the /opt/SUNWcgha/nhsmct/etc/services/ directory to your smct-config-dir/services directory:

    • sndr.conf.sh

    • config.NHAS_MASTER_ELIGIBLE.SPARC.SOLARIS

  3. Change to the smct-config-dir/services directory.

  4. Edit the smct-config-dir/services/sndr.conf.sh file:

    Replace the following line:

    /usr/bin/sed -e "s,rdc_bitmap_mode=0,rdc_bitmap_mode=2," > $RDC_CONF

    With the following line:

    /usr/bin/sed -e "s,rdc_bitmap_mode=0,rdc_bitmap_mode=1," > $RDC_CONF

  5. Edit the smct-config-dir/services/config.NHAS_MASTER_ELIGIBLE.SPARC.SOLARIS file:

    Replace the line:

    location 'file:/NHAS_PROD_DIR/nhsmct/etc/services/sndr.conf.sh'

    With the line:

    location 'file:/smct-config-dir/services/sndr.conf.sh'

Previous Previous     Contents     Index     Next Next