Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Create a Replication Resource Group on the Secondary Cluster

Before You Begin

Ensure that you completed steps in How to Create a Replication Resource Group on the Primary Cluster.

  1. Access nodeC as superuser.

  2. Register SUNW.HAStoragePlus as a resource type.

    nodeC# /usr/cluster/bin/scrgadm -a -t SUNW.HAStoragePlus
  3. Create a replication resource group for the disk device group.

    nodeC# /usr/cluster/bin/scrgadm -a -g devicegroup-stor-rg -h nodeC

    The name of the disk device group


    The name of the replication resource group

    -h nodeC

    Specifies the cluster node that can master the replication resource group

  4. Add a SUNW.HAStoragePlus resource to the replication resource group.

    nodeC# /usr/cluster/bin/scrgadm -a -j devicegroup-stor \
    -g devicegroup-stor-rg -t SUNW.HAStoragePlus \
    -x GlobalDevicePaths=devicegroup \
    -x AffinityOn=True

    The HAStoragePlus resource for the replication resource group.

    -x GlobalDevicePaths=

    Specifies the extension property that Sun StorEdge Availability Suite software relies on.

    -x AffinityOn=True

    Specifies that the SUNW.HAStoragePlus resource must perform an affinity switchover for the global devices and cluster file systems defined by -x GlobalDevicePaths=. Therefore, when the replication resource group fails over or is switched over, the associated device group is switched over.

    For more information about these extension properties, see the SUNW.HAStoragePlus(5) man page.

  5. Add a logical hostname resource to the replication resource group.

    nodeC# /usr/cluster/bin/scrgadm -a -L -j lhost-reprg-sec \
    -g devicegroup-stor-rg -l lhost-reprg-sec

    lhost-reprg-sec is the logical hostname for the replication resource group on the primary cluster.

  6. Enable the resources, manage the resource group, and bring the resource group online.

    nodeC# /usr/cluster/bin/scswitch -Z -g devicegroup-stor-rg
  7. Verify that the resource group is online.

    nodeC# /usr/cluster/bin/scstat -g

    Examine the resource group state field to confirm that the replication resource group is online on nodeC.

Next Steps

Go to How to Create an NFS Application Resource Group on the Primary Cluster.