![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| |||||||||
Integrating a Diskless Node Into the ClusterYou must update the /etc/hosts file on each peer node in the cluster to include the IP addresses of the diskless node. You must also update the nhfs.conf file and the cluster_nodes_table file on the master-eligible nodes to include the diskless node. See the following procedures.
|
IP-address-NIC0 nic0-diskless-node-name IP-address-NIC1 nic1-diskless-node-name IP-address-cgtp0 cgtp0-diskless-node-name |
Now, the master node can "see" the three network interfaces of the new diskless node.
Log in to the vice-master node as superuser.
Repeat Step 2.
Now, the vice-master node can "see" the three network interfaces of the new diskless node.
Log in to a diskless node that is part of the cluster, if a diskless node already exists.
Repeat Step 2.
Now, the diskless node can "see" the three network interfaces of the new diskless node.
Repeat Step 5 and Step 6 on all other diskless nodes that are already part of the cluster.
Update the cluster node table file, cluster_nodes_table, and the cluster configuration file, nhfs.conf, with the addressing information for the new diskless node.
Log in to the master node as superuser.
Using the following format, edit the /etc/opt/SUNWcgha/cluster_nodes_table file to add an entry for the diskless node:
#NodeId Domain_id Name Attributes nodeid domainid diskless-node-name - |
The nodeid that you define in the cluster_nodes_table file must be the decimal representation of the host part of the node's IP address. For more information, see the cluster_nodes_table(4) man page.
Create the cluster_nodes_table file on the master node disk:
# /opt/SUNWcgha/sbin/nhcmmstat -c reload |
Repeat Step 2 for each diskless node you are adding to the cluster.
Specify the shared directory configuration in the nhfs.conf file on the master node and the vice-master node. Ensure that there is no existing shared directory configuration already specified in the /etc/dfs/dfstab file.
Log in to the master node as superuser.
Edit the /etc/opt/SUNWcgha/nhfs.conf file to add the following:
Rnfs.Share.0=share -F nfs -o rw=nic0-diskless-node-name: \ nic1-diskless-node-name:cgtp0-diskless-node-name, \ root=nic0-diskless-node-name:nic1-diskless-node-name: \ cgtp-diskless-node-name /export/swap/diskless-node-name Rnfs.Share.1=share -F nfs -o rw=nic0-diskless-node-name: \ nic1-diskless-node-name:cgtp0-diskless-node-name, \ root=nic0-diskless-node-name:nic1-diskless-node-name: \ cgtp0-diskless-node-name /export/root/diskless-node-name |
Update the RNFS.Share.0 parameter that is used to share the /SUNWcgha/local/export directory to include the cgtp0-diskless-node-name of the diskless node:
Log in to the vice-master node.
On the master node, edit the /etc/dfs/dfstab file to remove all uncommented lines.
To integrate the new diskless node into the cluster, you delete the not_configured file and reboot the master-eligible nodes. When the Solaris operating system and the Foundation Services have been booted onto the diskless nodes, verify the new configuration before the cluster is restarted.
The /export/root/diskless-node-name/etc/opt/SUNWcgha/not_configured file is automatically created during the installation of the CMM packages for the diskless node. This file enables you to reboot a cluster node during the installation and configuration process without starting the Foundation Services.
After you complete the installation and configuration procedures, but before starting the cluster, delete this file for the diskless node.
Log in to the master node as superuser.
Reboot the master node:
# init 6 |
After the master node has completed booting, log in to the vice-master node as superuser.
Reboot the vice-master node:
# init 6 |
After the vice-master node has completed booting, get the ok prompt on the diskless node:
# halt # Control-C telnet> send brk Type 'go' to resume ok> |
Configure the OpenBoot PROM parameters:
ok> setenv local-mac-address? true ok> setenv auto-boot-retry? true ok> setenv diag-switch? false ok> setenv boot-device net:dhcp,,,,,5 net2:dhcp,,,,,5 |
Reboot the diskless node:
ok> boot |
Use the nhadm tool to verify that the diskless nodes have been configured correctly and are integrated into the cluster.
![]() ![]() |