Sun Cluster Geographic Edition Data Replication Guide for EMC Symmetrix Remote Data Facility

ProcedureHow to Configure a Highly Available File System for EMC Symmetrix Remote Data Facility Replication

Before You Begin

Before you configure the file system on cluster-paris, ensure that the Sun Cluster entities you require, such as application resource groups, device groups, and volumes, have already been configured.

  1. Create the required file system on the vol1 volume at the command line.

  2. On each node in the cluster, create mount points for the file system you just created.

    # mkdir -p /mounts/sample

    Your mount point.

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

    Whether the file system is to be mounted locally or globally depends on various factors, such as your performance requirements, or the type of application resource group you are using.

    Note –

    You must set 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.

  4. Add the HAStoragePlus resource to the application resource group, apprg1.

    Adding the resource to the application resource group ensures that the necessary file systems are mounted before the application is brought online.

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

  5. Verify that the device group was registered properly.

    The following command should display the device group dg1.

    phys-paris-1# cldevicegroup show dg1

Example 1–2 Configuring a Highly Available Cluster File System

This example creates a locally mounted filesystem, with HAStoragePlus. The filesystem created in this example is mounted locally every time the resource is brought online.

This example assumes that the following already exist:

  1. Create a UNIX file system (UFS).

    phys-paris-1# newfs dev/vx/dsk/dg1/vol1
  2. On each node in the cluster, create mount points for the file system.

    phys-paris-1# mkdir -p /mounts/sample
    phys-paris-2# mkdir -p /mounts/sample
  3. Create mount points on all cluster paris nodes.

    phys-paris-1# mkdir /mounts/sample
  4. Add the following entry to the /etc/vfstab file:

    phys-paris-1# /dev/vs/dsk/dg1/vol1 /dev/vx/rdsk/dg1/vol1 /mounts/sample \
    ufs 2 no logging
  5. Add the HAStoragePlus resource type.

    phys-paris-1# clresource create -g apprg1 -t SUNW.HAStoragePlus \
    -p FilesystemMountPoints=/mounts/sample -p Affinityon=TRUE \
    -p GlobalDevicePaths=dg1 rs-hasp