How to clear a DEGRADED resource status with $RMSTSET?
search cancel

How to clear a DEGRADED resource status with $RMSTSET?

book

Article ID: 9678

calendar_today

Updated On:

Products

CMDB for z/OS NetSpy Network Performance NetMaster Network Automation SOLVE NetMaster Network Management for SNA NetMaster Network Management for TCP/IP NetMaster File Transfer Management

Issue/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.



Environment

Release: SLOPFC00200-12.1-NetMaster-File Transfer Management
Component:

Resolution

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.

 

      ---------------- 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    

     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.

 

-  --------------- 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  

    CA11      LOGICAL  STEVET             ACTIVE   ACTIVE     MANUAL     OK          G  

    **END**