Access nodeA as superuser.
Register SUNW.HAStoragePlus as a resource type.
nodeA# /usr/cluster/bin/scrgadm -a -t SUNW.HAStoragePlus
Create a replication resource group for the disk device group.
nodeA# /usr/cluster/bin/scrgadm -a -g devicegroup-stor-rg -h nodeA,nodeB
The name of the disk device group.
The name of the replication resource group.
Specifies the cluster nodes that can master the replication resource group.
Add a SUNW.HAStoragePlus resource to the replication resource group.
nodeA# /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.
Specifies the extension property that Sun StorEdge Availability Suite software relies on.
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.
Add a logical hostname resource to the replication resource group.
nodeA# /usr/cluster/bin/scrgadm -a -L \ -j lhost-reprg-prim -g devicegroup-stor-rg -l lhost-reprg-prim
Where lhost-reprg-prim is the logical hostname for the replication resource group on the primary cluster.
Enable the resources, manage the resource group, and bring the resource group online.
nodeA# /usr/cluster/bin/scswitch -Z -g devicegroup-stor-rg nodeA# /usr/cluster/bin/scswitch -z -g devicegroup-stor-rg -h nodeA
Verify that the resource group is online.
nodeA# /usr/cluster/bin/scstat -g
Examine the resource group state field to confirm that the replication resource group is online for nodeA and nodeB.
Repeat the procedure in How to Create a Replication Resource Group on the Primary Cluster, with these exceptions:
Replace nodeA with nodeC.
Do not use nodeB.
Replace references to lhost-reprg-prim with lhost-reprg-sec.