How to clear a DEGRADED resource status with $RMSTSET?

Document ID : KB000009678
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

If you are using the procedure $RMSTSET (GENERAL PURPOSE PROCEDURE TO SET A STATUS) to set resource states, you will need to treat DEGRADED differently.

Instructions:

If you are using the procedure $RMSTSET (GENERAL PURPOSE PROCEDURE TO SET A STATUS) to set resource states, you will need to treat DEGRADED differently.

In order to clear a DEGRADED status by using $RMSTSET, you will have to use a STATUS of RECOVERED.

The syntax is $RMSTSET CLASS=<resource-class> NAME=<resource-name STATUS=RECOVERED

The command would look like - $RMSTSET CLASS=USRCLS NAME=STEVET STATUS=RECOVERED

 

For example - In the below example the Resource STEVET is currently in a Actual State of DEGRADED.

 

 CSNM9---------------- Resource Monitor : Filter(USRCLS) --------------CA11-0001    

 Command ===>                                                   Scroll ===> CSR     

                      S=Status L=Transient Log D=Display DB=Database ?=List Cmds    

     System   Class       Resource           Desired    Actual          Mode          Logical          Ovr    

     CA11     LOGICAL  STEVET             ACTIVE   DEGRADED   MANUAL     ATTENTION   G    

     **END**                                                                        

 

If the following command is issued - 

$RMSTSET CLASS=USRCLS NAME=STEVET STATUS=recovered 

 

Now the Resource Status is set to ACTIVE.

 

CSNM9---------------- Resource Monitor : Filter(USRCLS) --------------CA11-0001  

Command ===>                                                   Scroll ===> CSR   

                     S=Status L=Transient Log D=Display DB=Database ?=List Cmds  

    System   Class        Resource           Desired    Actual     Mode          Logical     Ovr  

    CA11      LOGICAL  STEVET             ACTIVE   ACTIVE     MANUAL     OK          G  

    **END**