![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| |||||||||||||||||||
Setting Up File Systems on the Master-Eligible Nodes
|
# mkdir /SUNWcgha # mkdir /SUNWcgha/local # mkdir /SUNWcgha/local/export # mkdir /SUNWcgha/local/export/data # mkdir /SUNWcgha/local/export/services # mkdir /SUNWcgha/local/export/services/NetraHASuite_version/opt |
where NetraHASuite_version is the version of the Foundation Services you install, for example, ha_v1.
These directories contain packages and data shared between the master-eligible nodes.
Create the following mount points on each master-eligible node:
# mkdir /SUNWcgha # mkdir /SUNWcgha/services # mkdir /SUNWcgha/remote # mkdir /SUNWcgha/swdb |
These directories are used as mount points for the directories that contain shared data.
Add the following lines to the /etc/vfstab file on each master-eligible node:
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 - no rw,hard,fg,intr,noac master-cgtp:/SUNWcgha/local/export/services/ha_v1/opt \ - /SUNWcgha/services nfs - no rw,hard,fg,intr,noac master-cgtp:/SUNWcgha/local/export/services - \ /SUNWcgha/swdb nfs - no rw,hard,fg,intr,noac |
where master-cgtp is the host name associated with the floating address of the cgtp0 interface of the master node. For more information, see To Create Floating Address Triplet Assigned to the Master Role.
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 - no rw,hard,fg,intr,noac master-nic0:/SUNWcgha/local/export/services/ha_v1/opt \ - /SUNWcgha/services nfs - no rw,hard,fg,intr,noac master-nic0:/SUNWcgha/local/export/services - \ /SUNWcgha/swdb nfs - no rw,hard,fg,intr,noac |
where master-nic0 is the host name associated with the floating address of the NIC0 interface of the master node. For more information, see To Create Floating Address Triplet Assigned to the Master Role.
Note - The noac mount option suppresses data and attribute caching. Use the noac option only if the impact on performance is acceptable.
Check the following in the /etc/vfstab file:
The mount at boot field is set to no for all physical, replicated partitions.
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1 /SUNWcgha/local ufs 2 no logging |
The root file system (/) has the logging option.
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no logging |
Note - Only partitions identified in the nhfs.conf file can be replicated. For more information about the nhfs.conf file, see Configuring the nhfs.conf File.
The Reliable NFS daemon, nhcrfsd, is installed on each master-eligible node. To determine which partitions are managed by this daemon, do the following:
Check the RNFS.Slice parameters of the /etc/opt/SUNWcgha/nhfs.conf file.
For example, in the following table, the replicated file systems are /dev/rdsk/c0t0d0s3 and /dev/rdsk/c0t0d0s4.
Table 6-4 Example File Systems Managed by the nhcrfsd Daemon
File System Name | Bitmap Partition | Size (in Mbytes) |
---|---|---|
/export | /dev/rdsk/c0t0d0s3 | 2000 |
/SUNWcgha/local | /dev/rdsk/c0t0d0s4 | 2000 |
Log in to a master-eligible node as superuser.
Add the man page package:
# pkgadd -d /NetraHASuite/Packages/ SUNWnhman |
The man pages are installed in the /opt/SUNWcgha/man directory. To access the man pages, see To Access Man Pages on the Master-Eligible Nodes.
The /etc/opt/SUNWcgha/not_configured file was installed automatically when you installed the CMM packages. This file enables you to reboot a cluster node during the installation process without starting the Foundation Services.
After you have installed the Foundation Services packages on each master-eligible node, delete the not_configured file on each master-eligible node.
Unmount the shared file system, /NetraHASuite, on each master-eligible node by using the umount command.
See the umount(1M) man page and To Mount an Installation Server Directory on the Master-Eligible Nodes.
Reboot the first master-eligible node, which becomes the master node:
# init 6 |
After the first master-eligible node has completed rebooting, reboot the second master-eligible node:
# init 6 |
This node becomes the vice-master node. To check the role of each node in the cluster, see the nhcmmrole(1M) man page.
Create the INST_RELEASE file to allow patching of shared packages:
# /opt/SUNWcgha/sbin/nhadm confshare |
Use the nhadm tool to verify that the master-eligible nodes have been configured correctly.
![]() ![]() |