Before You Begin
Complete the procedure How to Create a Replication Resource Group on the Primary Cluster.
Ensure that the /etc/netmasks file has IP-address subnet and netmask entries for all logical hostnames. If necessary, edit the /etc/netmasks file to add any missing entries.
nodeC# clresourcetype register SUNW.HAStoragePlus
nodeC# clresourcegroup create -n nodeC devgrp-stor-rg
Creates the resource group.
Specifies the node list for the resource group.
The name of the device group.
The name of the replication resource group.
nodeC# clresource create \ -t SUNW.HAStoragePlus \ -p GlobalDevicePaths=nfsset \ -p AffinityOn=True \ devgrp-stor
Creates the resource.
Specifies the resource type.
Specifies the device group that 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 -p GlobalDevicePaths=. Therefore, when the replication resource group fails over or is switched over, the associated device group is switched over.
The HAStoragePlus resource for the replication resource group.
For more information about these extension properties, see the SUNW.HAStoragePlus(5) man page.
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.
nodeC# clresourcegroup online -eM -n nodeC devgrp-stor-rg
Enables associated resources.
Manages the resource group.
Specifies the node on which to bring the resource group online.
nodeC# clresourcegroup status devgrp-stor-rg
Examine the resource group state field to confirm that the replication resource group is online on nodeC.