Complete the procedure How to Configure a Device Group on the Secondary Cluster.
On nodeA and nodeB, become superuser or assume a role that provides solaris.cluster.admin RBAC authorization.
On nodeA and nodeB, create a mount-point directory for the NFS file system.
For example:
nodeA# mkdir /global/mountpoint |
On nodeA and nodeB, configure the master volume to be mounted automatically on the mount point.
Add or replace the following text in the /etc/vfstab file on nodeA and nodeB. The text must be on a single line.
/dev/vx/dsk/devgrp/vol01 /dev/vx/rdsk/devgrp/vol01 \ /global/mountpoint ufs 3 no global,logging |
For a reminder of the volumes names and volume numbers that are used in the device group, see Figure A–8.
On nodeA, create a volume for the file system information that is used by the Sun Cluster HA for NFS data service.
nodeA# vxassist -g devgrp make vol05 120m disk1 |
Volume 5, vol05, contains the file system information that is used by the Sun Cluster HA for NFS data service.
On nodeA, resynchronize the device group with the Sun Cluster software.
nodeA# cldevicegroup sync devgrp |
On nodeA, create the file system for vol05.
nodeA# newfs /dev/vx/rdsk/devgrp/vol05 |
On nodeA and nodeB, create a mount point for vol05.
The following example creates the mount point /global/etc.
nodeA# mkdir /global/etc |
On nodeA and nodeB, configure vol05 to be mounted automatically on the mount point.
Add or replace the following text in the /etc/vfstab file on nodeA and nodeB. The text must be on a single line.
/dev/vx/dsk/devgrp/vol05 /dev/vx/rdsk/devgrp/vol05 \ /global/etc ufs 3 yes global,logging |
Mount vol05 on nodeA.
nodeA# mount /global/etc |
Make vol05 accessible to remote systems.
Create a directory called /global/etc/SUNW.nfs on nodeA.
nodeA# mkdir -p /global/etc/SUNW.nfs |
Create the file /global/etc/SUNW.nfs/dfstab.nfs-rs on nodeA.
nodeA# touch /global/etc/SUNW.nfs/dfstab.nfs-rs |
Add the following line to the /global/etc/SUNW.nfs/dfstab.nfs-rs file on nodeA.
share -F nfs -o rw -d "HA NFS" /global/mountpoint |
Go to How to Configure the File System on the Secondary Cluster for the NFS Application.