Go to main content

Oracle® Solaris Cluster Data Replication Guide for ZFS Snapshots

Exit Print View

Updated: October 2018
 
 

Changing Oracle Solaris ZFS Snapshot Application Resource Groups Between Failover and Scalable

When the application resource group is changed from scalable to failover or from failover to scalable, you must remove the replication component from the protection group then re-add it to have the correct infrastructure resource group and resources created for the application resource group.

The Oracle Solaris ZFS snapshot infrastructure resource group name is dependent on RG_mode of the application resource group where the HAStoragePlus resource managing the zpool being replicated resides. If the application resource group is of failover type, the infrastructure resource group name is <pg>-<AppRGName>-infr-rg. If the application resource group is of scalable type, the infrastructure resource group name is <pg>-<zpool>-infr-rg.

When the application is changed from scalable to failover or from failover to scalable, you must remove the replication component from the protection group then re-add it to have the correct infrastructure resource group and resources created for the application resource group.

How to Change the Resource Type of an Application Resource Group

The rg_mode can only be set at creation time. In order to change the application resource group type, you must delete the current resource group, and re-create it with the new type. Use this procedure to change an application resource group type.

  1. Issue the geopg show <pg> command and have the output available to re-enter this info when the replication component is re-added to the protection group.
  2. Remove the replication component from the protection group.

    See How to Remove an Application Resource Group From an Oracle Solaris ZFS Snapshot Protection Group.

  3. Create or re-create the application resource group with the new rg_mode you require. If this has already been done go to the next step.
  4. Re-add the replication component to the protection group.

    Refer to the output from Step 1. If the application resource group name changed, use the new name.

    See How to Add a Replication Component to an Oracle Solaris ZFS snapshot Protection Group.