Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Services Planning and Administration Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

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

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

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |