Sun Cluster 3.0 Data Services Installation and Configuration Guide

Example-Disabling a Resource and Moving the Resource Group Into the Unmanaged State

This example shows how to disable the resource (r-1) and then move the resource group (rg-1) into the unmanaged state.


# scswitch -n -j r-1
# scswitch -F -g rg-1
# scswitch -u -g rg-1
# scrgadm -pv -g rg-1
Res Group name:                              rg-1
  (rg-1) Res Group RG_description:           <NULL>
  (rg-1) Res Group management state:         Unmanaged
  (rg-1) Res Group Failback:                 False
  (rg-1) Res Group Nodelist:                 phys-schost-1 phys-schost-2
  (rg-1) Res Group Maximum_primaries:        2
  (rg-1) Res Group Desired_primaries:        2
  (rg-1) Res Group RG_dependencies:          <NULL>
  (rg-1) Res Group mode:                     Failover
  (rg-1) Res Group network dependencies:     True
  (rg-1) Res Group Global_resources_used:    All
  (rg-1) Res Group Pathprefix:
 
  (rg-1) Res name:                           r-1
    (rg-1:r-1) Res R_description:
    (rg-1:r-1) Res resource type:            SUNW.apache
    (rg-1:r-1) Res resource group name:      rg-1
    (rg-1:r-1) Res enabled:                  True
    (rg-1:r-1) Res monitor enabled:          False
    (rg-1:r-1) Res detached:                 False