Dynamically Add or Remove CTC Devices
search cancel

Dynamically Add or Remove CTC Devices

book

Article ID: 67766

calendar_today

Updated On:

Products

MIM Resource Sharing (MIM) MIM Data Sharing (MII) MIM Tape Sharing (MIA) MIM Message Sharing (MIC)

Issue/Introduction

Sites that cannot afford to plan a global outage may also need to add or remove CTC devices. Beginning at release 12.0, users can define or remove CTC devices dynamically using the process below. 

For this example, we are establishing a CTCPATH between systems JF03 and JF13. The device to be used is '0B35'. Currently, this device is not defined to MIM:                              

     DEV  SYSTEM  STATE   IO-STAT     READS  WRITES  ERR TIME/RSV  CYCLES
XCF  JF13    USABLE               0      0                    0
N/A  JF03    LOCAL                   0       0     0.000395      73
0B43 JF62    USABLE  IDLE            0       0                    0
1843 JF62    USABLE  IDLE            0       0                     0
1835 JF13    USABLE  IDLE           28      28                     0

 

Environment

Release: MIM R12.5; MIM R12.1

Component: All

Resolution

To Dynamically Add CTC Devices

  • Issue the following MIM command on the FROMSYSTEM to establish a path between the lpars. Note the command needs to be issued on both connecting lpars:
F MIM,CTCPATH FROMSYSTEM=lpar ADDRESS=dddd
  • This example adds device 0B35 to connect with lpars JF03 and JF13:
    JF03:
   -----
   /CTCPATH FROMSYSTEM=JF03 ADDRESS=0B35
   /MIM0067I Command CTCPATH 655      
    /MIM0703I Path added for device 0B35

   JF13:
   -----
   /CTCPATH FROMSYSTEM=JF13 ADDRESS=0B35                           
   /MIM0067I Command CTCPATH 603                                   
   /MIM0703I Path added for device 0B35                            
   /MIM0413I 0B35 path now available from system JF13 to system JF03
  • Issue the MIM D PATHS command to verify the device was added and is in USABLE status:
    /D PATHS                                                              
   /MIM0067I Command DISPLAY 937                                         
   /MIM0176 MIM PATH DISPLAY:                                             
   LAST RESTART AT  14:13:04 ON 2014.364                                 
     DEV  SYSTEM   STATE   IO-STAT     READS   WRITES  ERR TIME/RSV  CYCLES
     0B35 JF03     USABLE  IDLE             0        0                    0
     N/A  JF13     LOCAL                    0        0                    0
     0B73 JF62     USABLE  IDLE             0        0                    0
     1873 JF62     USABLE  IDLE             0        0                    0
   > 1835 JF03     IN-USE  IDLE            64       64     0.001210      64
     XCF  JF03     USABLE                   0        0                    0
  • Update the MIMINIT CTCPATH statements to include the new devices

 

To Dynamically Remove CTC Devices

  • Issue the MIM DEALLOCATE command on one lpar for any CTC device being deleted. Note that you can only deallocate CTC devices in USABLE status. 
F MIM,DEALLOCATE CTC=dddd
  • On systems not currently defined as the VCF MASTER, issue the following command to change the IN-USE CTC device to one of the new lpars. Note that this command may need to be issued more than once to obtain the desired CTC device as a specific device cannot be selected in the syntax.
F MIM,CTC SWITCH
  • Remove the old CTC devices from the MIMINIT CTCPATH statements.

Additional Information