Before You Begin
Complete the procedure How to Configure the File System on the Secondary Cluster for the NFS Application.
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.
nodeA# clresourcetype register SUNW.HAStoragePlus
nodeA# clresourcegroup create -n nodeA,nodeB devgrp-stor-rg
Specifies that cluster nodes nodeA and nodeB can master the replication resource group.
The name of the replication resource group. In this name, devgrp specifies the name of the device group.
nodeA# clresource create -g devgrp-stor-rg -t SUNW.HAStoragePlus \ -p GlobalDevicePaths=nfsset \ -p AffinityOn=True \ devgrp-stor
Specifies the resource group to which resource is added.
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.
For more information about these extension properties, see the SUNW.HAStoragePlus(5) man page.
nodeA# clreslogicalhostname create -g devgrp-stor-rg lhost-reprg-prim
The logical hostname for the replication resource group on the primary cluster is named lhost-reprg-prim.
nodeA# clresourcegroup online -emM -n nodeA devgrp-stor-rg
Enables associated resources.
Manages the resource group.
Specifies the node on which to bring the resource group online.
nodeA# clresourcegroup status devgrp-stor-rg
Examine the resource group state field to confirm that the replication resource group is online on nodeA.
Next Steps
Go to How to Create a Replication Resource Group on the Secondary Cluster.