![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| |||||||||
Configuring the Node State ManagerThe following procedure describes how to configure the Node State Manager in the network.conf file.
|
ELEMENT nic nic2@peerNode1 device qfe0 type PHYSICAL class SECONDARY role NSM USE ip external-access |
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 |
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 |
The following procedure describes how to configure a switch in the network.conf file.
Add the configuration element switch in the machine.conf file.
Add the port elements with their connections to the NICs on the board in the machine.conf file.
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.
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.
The following procedure describes how to configure the boards and NICs in the network.conf file, according to the diskless node boot policy.
For the STATIC_CLIENT_ID_POLICY boot policy, configure the clientId parameter in the configuration element board.
For the MAC_ADDR_POLICY boot policy, configure the Ethernet address in the configuration element nic for the two physical NICs.
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.
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 |
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 |
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.
Log in to the build server.
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
Change to the smct-config-dir/services directory.
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 |
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' |
![]() ![]() |