When a shared address resource is disabled, the resource might still be able to respond to ping(1M) commands from some hosts. To ensure that a disabled shared address resource cannot respond to ping commands, you must bring the resource's resource group to the UNMANAGED state.
Ensure that you have the following information.
The name of the resources to be disabled
The name of the resource group to move into the UNMANAGED state
To determine the resource and resource group names that you need for this procedure, type the following command:
# scrgadm -pv |
Become superuser on a cluster member.
Disable all resources in the resource group.
# scswitch -n -j resource-list |
Disables the resources
Specifies a comma-separated list of the resources in the resource group
You can specify the resources in resource-list in any order. The scswitch command disables the resources in the order that is required to satisfy dependencies between the resources, regardless of their order in resource-list.
Run the following command to switch the resource group offline.
# scswitch -F -g resource-group |
Switches a resource group offline
Specifies the name of the resource group to take offline
Move the resource group into the UNMANAGED state.
# scswitch -u -g resource-group |
Moves the specified resource group in the UNMANAGED state
Specifies the name of the resource group to move into the UNMANAGED state
Verify that the resources are disabled and the resource group is in the UNMANAGED state.
# scrgadm -pv -g resource-group |
This example shows how to disable the resource (resource-1) and then move the resource group (resource-group-1) into the UNMANAGED state.
# scswitch -n -j resource-1 # scswitch -F -g resource-group-1 # scswitch -u -g resource-group-1 # scrgadm -pv -g resource-group-1 Res Group name: resource-group-1 (resource-group-1) Res Group RG_description: <NULL> (resource-group-1) Res Group management state: Unmanaged (resource-group-1) Res Group Failback: False (resource-group-1) Res Group Nodelist: phys-schost-1 phys-schost-2 (resource-group-1) Res Group Maximum_primaries: 2 (resource-group-1) Res Group Desired_primaries: 2 (resource-group-1) Res Group RG_dependencies: <NULL> (resource-group-1) Res Group mode: Failover (resource-group-1) Res Group network dependencies: True (resource-group-1) Res Group Global_resources_used: All (resource-group-1) Res Group Pathprefix: (resource-group-1) Res name: resource-1 (resource-group-1:resource-1) Res R_description: (resource-group-1:resource-1) Res resource type: SUNW.apache (resource-group-1:resource-1) Res resource group name: resource-group-1 (resource-group-1:resource-1) Res enabled: True (resource-group-1:resource-1) Res monitor enabled: False (resource-group-1:resource-1) Res detached: False |
The following man pages: