We have two test LPARS and bring them down around 7:00 pm.
While test LPARS (eg. YYYY) are getting FREEd, we receive a MIM abend on one of the production LPARs (eg. DDDD).
How to prevent U0322 abend of MIM?
DDDD 22165 19:09:04.60 D 00000094 MII0911I system YYYY reported INACTIVE in XCF group MIM##I
DDDD 22165 19:09:06.43 D 00000094 MIM0911I system YYYY reported INACTIVE in XCF group MIMAC#
DDDD 22165 19:09:07.65 D 00000090 *MIM0112E Local system's status has been externally altered; code=1
DDDD 22165 19:09:09.67 S0009314 00000090 MIM0901I system DDDD leaving XCF group MIMAC#
DDDD 22165 19:09:09.68 S0009314 00000090 *MIM2014I GTAF deactivated - Reverting devices OFFLINE
DDDD 22165 19:09:09.68 S0009314 00000090 *MIM2020I TPCF deactivated
DDDD 22165 19:09:09.68 S0009314 00000290 MIM3064I CONSOLE GCMD0001 has been scheduled for deallocation
DDDD 22165 19:09:09.69 D 00000090 IEF524I 20FF PENDING OFFLINE
< repeated lines omitted >
DDDD 22165 19:09:09.69 D 00000090 IEF524I 20FD PENDING OFFLINE
DDDD 22165 19:09:09.69 D 00000090 IEF524I 20F5 PENDING OFFLINE
DDDD 22165 19:09:11.96 00000090 MIM0036I All GLOBAL functions deactivated
DDDD 22165 19:09:11.96 00000094 IEA995I SYMPTOM DUMP OUTPUT 713
713 00000094 USER COMPLETION CODE=0322 REASON CODE=00000001
713 00000094 TIME=19.09.09 SEQ=44787 CPU=0000 ASID=0035
713 00000094 PSW AT TIME OF ERROR 078C1000 AEE5B26E ILC 2 INTC 0D
713 00000094 ACTIVE MODULE ADDRESS=00000000_2EE55000 OFFSET=0000626E
713 00000094 NAME=MIMDRDRV
713 00000094 DATA AT PSW 2EE5B268 - 00181610 0A0D0000 C1C2C5D5
DDDD 22165 19:09:12.99 00000094 IEF450I CAMIM MIM - ABEND=S000 U0322 REASON=00000001
Release : 12.5
Component : MIM
Based on the logs and configuration, the problem appears to be timing related.
Following the guidance in the documentation for message MIM0112E, the code=1 or 2 can result if:
Ensure that when you shutdown the MII and MIA address spaces, MIA task is shutdown prior to the MII task.