Oracle Solaris Cluster Generic Data Service (GDS) Guide

Exit Print View

Updated: July 2014, E48652-01
 
 

The method_command Sequence

To see a complete list of all callback methods executed by the RGM, see RGM Callback Methods. The RGM callback method and subsequent GDSv2 method_command sequences are listed in the following sections.

The ORCL.gds method_command Sequence

The table below lists the ORCL.gds method_command extension properties.

Action
RGM Callback Method
ORCL.gds method_command
Resource creation
Validate
Validate_command
If set, the Validate_command is executed on all nodes within the resource group's node list.
Init
Init_command
If set, the Init_command is executed on all nodes identified by the Init_nodes property.
Resource enable
Start
Start_command
Start_command is a required property.
Monitor start
Probe_command
Monitor_start will only execute Probe_command if it is set. If Probe_command is not set but PMF_managed=TRUE is set, then Monitor_start will start an internal probe.
Resource disable
Monitor stop
Probe_command
Monitor_stop will only stop the probe if Probe_command was set. If Probe_command was not set but PMF_managed=TRUE was set, then Monitor_stop will stop the internal probe.
Stop
Stop_command
Stop_command is only executed if it is set. If Stop_command is not set but PMF_managed=TRUE is set, then Stop_signal is sent to the application process tree if Stop_command failed to stop the application.
Resource delete
Fini
Fini_command
If set, Fini_command is executed on all nodes within the resource group's node list.
Resource unmonitor
Monitor stop
Probe_command
Monitor_stop will only stop the probe if Probe_command was set. If Probe_command was not set but PMF_managed=TRUE was set, then Monitor_stop will stop the internal probe.
Resource monitor
Monitor start
Probe_command
Monitor_start will only execute Probe_command if it is set. If Probe_command is not set but PMF_managed=TRUE is set, then Monitor_start will start an internal probe.
Property update for an enabled resource
Validate
Validate_command
If set, the Validate_command is executed on all nodes within the resource group's node list.
Update
On the node where the resource is online, the RGM Update method will kill the fault monitor process tree and then use PMF to restart the fault monitor.
Property update for a disabled resource
Validate
Validate_command
If set, the Validate_command is executed on all nodes within the resource group's node list.
Upon reboot for an enabled and monitored resource
Boot
Boot_command
If set, Boot_command is executed on all nodes identified by the Init_nodes property.
Start
Start_command
Start_command is a required property.
Monitor Start
Probe_command
Monitor_start will only execute Probe_command if it is set. If Probe_command is not set but PMF_managed=TRUE is set, then Monitor_start will start an internal probe.
Upon reboot for a disabled resource
Boot
Boot_command
If set, Boot_command is executed on all nodes identified by the Init_nodes property.

The ORCL.gds_proxy method_command Sequence

The table below lists the ORCL.gds_proxy method_command extension properties.

Action
RGM Callback Method
ORCL.gds_proxy method_command
Resource creation
Validate
Validate_command
If set, the Validate_command is executed on all nodes within the resource group's node list.
Init
Init_command
If set, the Init_command is executed on all nodes identified by the Init_nodes property.
Resource enable
Prenet start
Prenet_start_command
Prenet_start_command is a required property.
Resource disable
Postnet stop
Postnet_stop_command
If set, Postnet_stop_command is executed on the node where the resource is being disabled. If Postnet_stop_command is not set, then the Stop_signal property is sent to the proxy PMF tag.
Resource delete
Fini
Fini_command
If set, Fini_command is executed on all nodes within the resource group's node list.
Upon reboot for an enabled resource
Boot
Boot_command
If set, Boot_command is executed on all nodes identified by the Init_nodes property.
Prenet start
Prenet_start_command
Prenet_start_command is a required property.
Upon reboot for a disabled resource
Boot
Boot_command
If set, Boot_command is executed on all nodes identified by the Init_nodes property.

The Resource Group method_command Sequence

The table below lists the resource group method_command extension properties.

Action
RGM Callback Method
RGM Callback Method and method_command
Resource group offline with an enabled resource
Postnet stop
Postnet_stop_command
If set, Postnet_stop_command is executed on the node where the resource is being disabled. If Postnet_stop_command is not set, then the Stop_signal property is sent to the proxy PMF tag.
Resource group online with previously enabled resource
Prenet start
Prenet_start_command
Prenet_start_command is a required property.
Resource group switch from unmanaged to managed
Init
Init_command
If set, the Init_command is executed on all nodes identified by the Init_nodes property.
Resource group switch from managed to unmanaged
Fini
Fini_command
If set, Fini_command is executed on all nodes within the resource group's node list.