Sun Cluster Geographic Edition Data Replication Guide for Sun StorageTek Availability Suite

ProcedureHow to Configure a Highly Available Cluster Global File System for Use With Sun StorageTek 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.


    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 Sun Cluster software and the Sun Cluster 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 Sun Cluster Data Services Planning and Administration Guide for Solaris OS.

  4. Repeat steps 1–3 on both cluster-paris and cluster-newyork.


Example 1–8 Configuring a Highly Available Cluster Global File System for Solaris Volume Manager Volumes

This example configures a highly available cluster global 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
    

    This command creates the following entry in the /etc/vfstab file:


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


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


Example 1–9 Configuring a Highly Available Cluster Global File System for VERITAS Volume Manager Volumes

This example assumes that the apprg1 resource group already exists.

  1. Create a UNIX file system (UFS).


    # newfs /dev/vx/rdsk/avsdg/vol-data-paris
    

    This command creates the following entry is created in the /etc/vfstab file:


    /dev/vx/dsk/avsdg/vol-data-paris /dev/vx/rdsk/avsdg/vol-data-paris 
    /global/sample ufs 2 no logging
  2. Add the HAStoragePlus resource.


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


Example 1–10 Configuring a Highly Available Cluster Global 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
    

    This command creates the following entry in the /etc/vfstab file:


    /dev/did/dsk/d3s3 /dev/did/rdsk/d3s3 
    /global/sample ufs 2 no logging
  2. Add the HAStoragePlus resource.


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