Restarting resource structures

You can cold start a resource structure by shutting down any CQS systems that connect to the resource structure, deleting the resource structure on the coupling facility, and restarting a CQS to reallocate the resource structure.

To cold start a resource structure, you must:

Procedure

  1. Shut down any CQS systems that connect to the resource structure.
    For example, issue the following command, where cqs_name is the CQS subsystem name.
    P cqs_name

    The response will be shown as follows:

    CQS0021I CQS SHUTDOWN COMPLETE
    CQS0101I CQS CLEANUP SUCCESSFUL
  2. Delete the resource structure on the coupling facility.
    For example, issue the following command, where structure_name is the resource structure name.
    SETXCF FORCE,STRUCTURE,STRNAME=structure_name

    The response will be shown as follows:

    IXC353I THE SETXCF FORCE REQUEST FOR STRUCTURE
    structure_name WAS COMPLETED:        
    STRUCTURE WAS DELETED              
  3. Restart a CQS. CQS initialization will reallocate the resource structure.
    For example, use the CQS startup procedure.
  4. Verify that the resource structure is empty.
    For example, issue the following command, where structure_name is the resource structure name.
    D XCF,STR,STRNAME=structure_name

    The response will be shown as follows:

    ...
    STORAGE INCREMENT SIZE: 256 K                              
    ENTRIES:  IN-USE:          3 TOTAL:       4238,   0% FULL  
    ELEMENTS: IN-USE:          3 TOTAL:       4238,   0% FULL  
    EMCS:     IN-USE:          0 TOTAL:       6634,   0% FULL  
    ...

When structure cold start completes, CQS automatically performs cold start restart processing.