Go to main content

Planning and Administering Data Services for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: November 2019
 
 

Switching Resource Groups to Preferred Primaries

The clresourcegroup remaster command can switch the resource group offline from current primaries in order to switch the resource group online on preferred nodes. Similar to the clresourcegroup online command, the RGM computes the most preferred set of nodes based on the resource group's Nodelist property, but also takes into account the following factors:

  • The RG_affinities property settings

  • The Load_factors property settings, compared against node load limits and current loads

  • The failure history of each resource group


Note -  You can also use the Oracle Solaris Cluster Manager browser interface to remaster a resource group. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Administering an Oracle Solaris Cluster 4.4 Configuration.

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
  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