RMS uses scripts to perform actions such as moving a resource from one state to another (for example, from Offline to Online). The two types of scripts are as follows:
Request-triggered scripts initiate a state change to a resource.
The request-triggered scripts are as follows:
InitScript - It is executed only once when RMS is started.
PreCheckScript - It is executed to determine if Online or Standby processing is needed or possible.
PreOfflineScript - It is executed before a transition to the Offline state.
OfflineScript - It is executed to set a resource to the Offline state.
PreOnlineScript - It is executed before a transition to the Online or Standby state.
OnlineScript - It is executed to set a resource to the Online state.
State-triggered scripts react to specific events.
The state-triggered scripts are as follows:
PostOnlineScript - It is executed after a transition to the Online or Standby state.
PostOfflineScript - It is executed after a transition to the Offline state.
OfflineDoneScript - It is executed after Offline processing is completed.
FaultScript - It is executed when a transition is made to the Faulted state.
WarningScript - It is executed when a transition is made to the Warning state.
StateChangeScript - It is executed when the state of the controlled child application and the state of the node where the child application is running transition.
Scripts that control the functions provided by OS are provided with RMS Wizard Tools.