Example: resuming operations after a sympathetic suspension

An error has occurred in the coupled session named TUCSON. Because you specified the error level as SESSION on the ERRORLEVEL parameter when you issued the XSTART command, XRC suspends all volume pairs in TUCSON. The session named PHOENIX issues an ANTC8402W message to indicate that a sympathetic suspend must be done and why. The session named PHOENIX suspends all volumes in the session.

The following scenario describes how to resume operations after a sympathetic suspension that is caused by an error.

An error occurs on a secondary device for session TUCSON. Session PHOENIX suspends all volumes to the msession recoverable time.

Result: This is an example of the message that was generated:

ANTX5104E XRC SESSION(TUCSON) ENCOUNTERED AN ERROR PROCESSING
VOLUME(SEC001) IN VOLUME PAIR(PRIM01,SEC001), RC=613 REAS=0

ANTV8107I SUSPEND COMPLETE FOR VOLUME PAIR(PRIM01,SEC001) FOR SESSION(TUCSON)
  AT CONSISTENCY_GROUP TIME(2004.080 ANTV8107I (CONT) 22:33:21.680331)

ANTV8107I SUSPEND COMPLETE FOR VOLUME PAIR(PRIM02,SEC002) FOR SESSION(TUCSON)
  AT CONSISTENCY_GROUP TIME(2004.080 ANTV8107I (CONT) 22:33:21.680331)

ANTX8120I ALL VOLUMES IN SESSION(TUCSON) ARE NOW SUSPENDED

ANTC8402W XRC SESSION(PHOENIX) COUPLED TO MSESSION(CXRC) DETECTED
  HOLD_STATUS CONDITION IN MSESSION(CXRC),
ANTC8402W (CONT) SUSPENDING ALL VOLUMES

ANTV8107I SUSPEND COMPLETE FOR VOLUME PAIR(PRIM03,SEC003) FOR SESSION(PHOENIX)
 AT CONSISTENCY_GROUP TIME(2004.080 ANTV8107I (CONT) 22:33:24.429661)

ANTV8107I SUSPEND COMPLETE FOR VOLUME PAIR(PRIM04,SEC004) FOR SESSION(PHOENIX)
  AT CONSISTENCY_GROUP TIME(2004.080 ANTV8107I (CONT) 22:33:24.429661)

ANTX8120I ALL VOLUMES IN SESSION(PHOENIX) ARE NOW SUSPENDED

Perform the following steps to resume operations after a sympathetic suspension:

  1. Generate an XQUERY MASTER report for the master session named CXRC, with a default master high-level qualifier of SYS1 by entering:
    XQUERY CXRC MASTER
    The report indicates the status of the XRC sessions coupled to the master session.

    Result: The output from this report allows you to determine whether an error has occurred in the coupled session named TUCSON. It also shows the HOLD status of the master session.

    ANTQ8300I XQUERY STARTED FOR MSESSION(CXRC) MHLQ(SYS1)          
    ANTQ8202I XQUERY MASTER REPORT - 002                                    
    ANTQ8302I SESSION   STA VOL INT CMD   JOURNAL DELTA      RCV/ADV DELTA  
    ANTQ8303I ------------------------------------------------------------- 
    ANTQ8304I TUCSON    ACT ERR  Y       =00:00:00.000000  +00:00:02.749330 
    ANTQ8304I PHOENIX   ACT SYM  Y       +00:00:01.253732  =00:00:00.000000 
    ANTQ8305I TOTAL=2  ACT=2  SUS=0  END=0  ARV=0  RCV=0  UNK=0             
    ANTQ8306I MSESSION STATUS=HOLD                                          
    ANTQ8308I MSESSION RECOVERABLE TIME(2004.080 22:33:24.429661)           
    ANTQ8309I INTERLOCKED=2  NON-INTERLOCKED=0                              
    ANTQ8301I XQUERY MASTER REPORT COMPLETE FOR MSESSION(CXRC) 
  2. Correct the problem for XRC session TUCSON.

    In this case, the RC=613 on the ANTX5104E message indicates that a hardware error was detected writing to a secondary device. Determine the cause of the problem so that you can resolve it.

  3. Update the secondary volumes of the session named TUCSON to msession recoverable time, that is, to a time that is consistent with the volumes of the session named PHOENIX. Issue the following command:
    XADVANCE TUCSON 
  4. Back up secondary devices for both sessions.

    You can perform your installation backup procedures to back up the data on your secondary devices for both sessions. Both sessions are consistent to the msession recoverable time.

  5. Generate an XQUERY MASTER report for the master session named CXRC, with a default master high-level qualifier of SYS1. Issue the following command:
    XQUERY CXRC MASTER

    Result: The following output is generated:

    ANTQ8300I XQUERY STARTED FOR MSESSION(CXRC) MHLQ(SYS1)          
    ANTQ8202I XQUERY MASTER REPORT - 002                                    
    ANTQ8302I SESSION   STA VOL INT CMD   JOURNAL DELTA      RCV/ADV DELTA  
    ANTQ8303I ------------------------------------------------------------- 
    ANTQ8304I TUCSON    ACT ERR  Y       =00:00:00.000000  +00:00:00.000000 
    ANTQ8304I PHOENIX   ACT SYM  Y       +00:00:01.253732  =00:00:00.000000 
    ANTQ8305I TOTAL=2  ACT=2  SUS=0  END=0  ARV=0  RCV=0  UNK=0             
    ANTQ8306I MSESSION STATUS=HOLD                                          
    ANTQ8308I MSESSION RECOVERABLE TIME(2004.080 22:33:24.429661)           
    ANTQ8309I INTERLOCKED=2  NON-INTERLOCKED=0                              
    ANTQ8301I XQUERY MASTER REPORT COMPLETE FOR MSESSION(CXRC)
  6. Issue the XCOUPLE command with the RELEASE option to release the master session named CXRC, with a default master high-level qualifier of SYS1, from the HOLD status.
    XCOUPLE CXRC RELEASE SYS1
    See What to do if the master session is in coupled HOLD status for additional information regarding the HOLD status for a master session.
  7. Issue the following command to generate a report for the master session CXRC that shows the changed status. After the RELEASE function has completed, the recoverability status of each session is changed to N (meaning coupled NON-INTERLOCKED status).
    XQUERY CXRC MASTER

    Result:The XQUERY MASTER command generates the following output for the master session CXRC, with the change in status displayed:

    ANTQ8300I XQUERY STARTED FOR MSESSION(CXRC) MHLQ(SYS1)           
    ANTQ8202I XQUERY MASTER REPORT - 002                                   
    ANTQ8302I SESSION   STA VOL INT CMD   JOURNAL DELTA      RCV/ADV DELTA 
    ANTQ8303I -------------------------------------------------------------
    ANTQ8304I TUCSON    ACT AVS  N                                         
    ANTQ8304I PHOENIX   ACT AVS  N                                         
    ANTQ8305I TOTAL=2  ACT=2  SUS=0  END=0  ARV=0  RCV=0  UNK=0            
    ANTQ8308I MSESSION RECOVERABLE TIME(NO_TIME_AVAILABLE)                 
    ANTQ8309I INTERLOCKED=0  NON-INTERLOCKED=2                             
    ANTQ8301I XQUERY MASTER REPORT COMPLETE FOR MSESSION(CXRC) 
  8. Issue the following command to add all suspended volumes back into the coupled session named TUCSON:
    XADDPAIR TUCSON SUSPENDED
  9. Issue the following command to add all suspended volumes back into the coupled session named PHOENIX:
    XADDPAIR PHOENIX SUSPENDED
  10. Issue the following command:
    XQUERY CXRC MASTER

    Result: After you add the volume pairs again, the recoverability status is changed to Y (sessions are now interlocked), as displayed by the XQUERY MASTER output for master session CXRC with a default master high-level qualifier of SYS1.

    ANTQ8300I XQUERY STARTED FOR MSESSION(CXRC) MHLQ(SYS1)         
    ANTQ8202I XQUERY MASTER REPORT - 002                                   
    ANTQ8302I SESSION   STA VOL INT CMD   JOURNAL DELTA      RCV/ADV DELTA 
    ANTQ8303I -------------------------------------------------------------
    ANTQ8304I TUCSON    ACT      Y       =00:00:01.830727  =00:00:00.000000
    ANTQ8304I PHOENIX   ACT      Y       +00:00:00.000000  +00:00:02.352970
    ANTQ8305I TOTAL=2  ACT=2  SUS=0  END=0  ARV=0  RCV=0  UNK=0            
    ANTQ8308I MSESSION RECOVERABLE TIME(2004.080 22:43:21.526671)          
    ANTQ8309I INTERLOCKED=2  NON-INTERLOCKED=0                             
    ANTQ8301I XQUERY MASTER REPORT COMPLETE FOR MSESSION(CXRC) MHLQ(SYS1)