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.
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=TEST STATUS=RECOVERED
For example - In the below example the Resource TEST is currently in a Actual State of DEGRADED.
---------------- Resource Monitor : Filter(USRCLS) --------------
Command ===> Scroll ===> CSR
S=Status L=Transient Log D=Display DB=Database ?=List Cmds
System Class Resource Desired Actual Mode Logical Ovr
AAAA LOGICAL TEST ACTIVE DEGRADED MANUAL ATTENTION G
**END**
If the following command is issued -
$RMSTSET CLASS=USRCLS NAME=TEST STATUS=recovered
Now the Resource Status is set to ACTIVE.
- --------------- Resource Monitor : Filter(USRCLS) --------------
Command ===> Scroll ===> CSR
S=Status L=Transient Log D=Display DB=Database ?=List Cmds
System Class Resource Desired Actual Mode Logical Ovr
AAAA LOGICAL TEST ACTIVE ACTIVE MANUAL OK G
**END**