Oracle® Solaris Cluster Geographic Edition Data Replication Guide for Oracle Solaris Availability Suite

Exit Print View

Updated: July 2014, E39670-01
 
 

How to Configure a Highly Available File System for Use With Availability Suite

  1. Create the required file system on the volume set that you created in the previous step, vol-data-paris.

    The application writes to this file system.

  2. Add an entry to the /etc/vfstab file that contains information such as the mount location.

    You can use either a cluster file system (PxFS) or a highly available local file system as a highly available file system. A highly available file system can be accessed simultaneously by all nodes of the cluster.


    Note -  You must specify the mount at boot field in this file to no. This value prevents the file system from mounting on the secondary cluster at cluster startup. Instead, the Oracle Solaris Cluster software and the Geographic Edition framework handle mounting the file system by using the HAStoragePlus resource when the application is brought online on the primary cluster. You must not mount data on the secondary cluster because data on the primary will not be replicated to the secondary cluster.
  3. To handle the new file system, add the HAStoragePlus resource to the application resource group, apprg1.

    Adding this resource ensures that the necessary file systems are remounted before the application is started.

    For more information about the HAStoragePlus resource type, refer to the Oracle Solaris Cluster Data Services Planning and Administration Guide .

  4. Repeat steps 1–3 on both cluster-paris and cluster-newyork.
Example 1-7  Configuring a Highly Available File System for Solaris Volume Manager Volumes

This example configures a highly available file system for Solaris Volume Manager volumes. This example assumes that the resource group apprg1 already exists.

  1. Create a UNIX file system (UFS).

    # newfs /dev/md/avsset/rdsk/d100
  2. Update the /etc/vfstab file on each node of the cluster.

    /dev/md/avsset/dsk/d100 /dev/md/avsset/rdsk/d100 /global/sample ufs 2 no global,logging
  3. Add the HAStoragePlus resource.

    # clresource create -g apprg1 -t SUNWHAStoragePlus \
    -p FilesystemMountPoints=/global/sample rs-hasp
Example 1-8  Configuring a Highly Available File System for Raw Device Volumes

This example assumes that the apprg1 resource group already exists.

  1. Create a UNIX file system (UFS).

    # newfs /dev/did/rdsk/d3s3
  2. Update the /etc/vfstab file on each node of the cluster.

    /dev/md/avsset/dsk/d100 /dev/md/avsset/rdsk/d100 /global/sample ufs 2 no global,logging
  3. Add the HAStoragePlus resource.

    # clresource create -g apprg1 -t SUNWHAStoragePlus \
    -p FilesystemMountPoints=/global/sample rs-hasp