Oracle® Solaris Cluster Data Services Planning and Administration Guide

Exit Print View

Updated: September 2014, E39648–02
 
 

How to Switch Resource Groups to Preferred Primaries

Perform this task from any cluster node.

  1. On a cluster member, assume the root role that provides solaris.cluster.admin RBAC authorization.
  2. Type the command to switch the resource groups to their preferred primaries.
    • If you have intentionally disabled a resource or a fault monitor that must remain disabled, type the following command:
      # clresourcegroup remaster rg-list
      rg-list

      Specifies a comma-separated list of the names of the resource groups to switch to the preferred primaries. The resource groups must exist. The list may contain one resource group name or more than one resource group name.

    • If you require the resources and their fault monitors to be enabled when the resource groups are switched to the preferred primary, type the following command:
      # clresourcegroup remaster -emM rg-list
      rg-list

      Specifies a comma-separated list of the names of the resource groups to switch to the preferred primaries. The resource groups must exist. The list can contain one resource group name or more than one resource group name.

  3. Verify that each resource group that you specified in Step 2 has been switched to the preferred primary.

    The output from this command indicates the new nodes for the resource groups that were switched.

    # clresourcegroup status