Sun Cluster 2.2 Software Installation Guide

11.3.2 How to Add an Existing File System to a Logical Host

  1. From a cconsole(1) window, use an editor such as vi to add an entry for the file system to the /etc/opt/SUNWcluster/conf/hanfs/vfstab.logicalhost file.

    By using a cconsole(1) window, you can make changes on all potential masters of these file systems.

  2. Run the mount(1M) command to mount the new file system.

    Specify the device and mount point. Alternatively, you can wait until the next membership reconfiguration for the file system to be automatically mounted.

    Here is an example for Solstice DiskSuite.

    # mount -F ufs /dev/md/hahost1/dsk/d2 /hahost1/2
    

    Here is an example for Sun StorEdge Volume Manager.

    # mount -F vxfs /dev/vx/dsk/dg1/vol1 /vol1
    
  3. Add the Sun Cluster HA for NFS file system to the logical host.

    1. From a cconsole(1) window, use an editor such as vi to make the appropriate entry for each file system that will be shared by NFS to the vfstab.logicalhost and dfstab.logicalhost files.

      By using a cconsole(1) window, you can make changes on all potential masters of these file systems.

    2. Execute a membership reconfiguration of the servers.

      # haswitch -r
      

      Refer to the Sun Cluster 2.2 System Administration Guide for more information on forcing a cluster reconfiguration.

      Alternatively, the file system can be shared manually. If the procedure is performed manually, the fault monitoring processes will not be started either locally or remotely until the next membership reconfiguration is performed.