![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| ||||||||||||||||||||||||
|
# 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.
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.
Log in to the master node as superuser.
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.
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> |
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 |
Each node in the cluster has a cluster configuration file, nhfs.conf. Create this file for the new diskless node by performing this procedure.
Log in to the master node as superuser.
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 |
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.
![]() ![]() |