Go to main content

Oracle® Solaris Cluster 4.3 System Administration Guide

Exit Print View

Updated: June 2017
 
 

How to Create a Replication Resource Group on the Secondary Cluster

Before You Begin

  1. Access nodeC as the role that provides solaris.cluster.modify, solaris.cluster.admin, and solaris.cluster.read authorization.
  2. Register SUNW.HAStoragePlus as a resource type.
    nodeC# clresourcetype register SUNW.HAStoragePlus
  3. Create a replication resource group for the device group.
    nodeC# clresourcegroup create -n nodeC devgrp-stor-rg
    create

    Creates the resource group.

    –n

    Specifies the node list for the resource group.

    devgrp

    The name of the device group.

    devgrp-stor-rg

    The name of the replication resource group.

  4. Add a SUNW.HAStoragePlus resource to the replication resource group.
    nodeC# clresource create \
    -t SUNW.HAStoragePlus \
    -p GlobalDevicePaths=nfsset \
    -p AffinityOn=True \
    devgrp-stor
    create

    Creates the resource.

    –t

    Specifies the resource type.

    -p GlobalDevicePaths=

    Specifies the device group that Availability Suite software relies on.

    -p AffinityOn=True

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

    devgrp-stor

    The HAStoragePlus resource for the replication resource group.

    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# clreslogicalhostname create -g devgrp-stor-rg lhost-reprg-sec

    The logical hostname for the replication resource group on the secondary cluster is named lhost-reprg-sec.

  6. Enable the resources, manage the resource group, and bring the resource group online.
    nodeC# clresourcegroup online -eM -n nodeC devgrp-stor-rg
    online

    Brings online.

    –e

    Enables associated resources.

    –M

    Manages the resource group.

    –n

    Specifies the node on which to bring the resource group online.

  7. Verify that the resource group is online.
    nodeC# clresourcegroup status devgrp-stor-rg

    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.