Upgrading to 5.3 is only recommended from version 5.2 - upgrading from any other release will require manually re-creating all WRKCSE, WRKCSEDTA and WRKCSECRDL entries. Use the following command to display the version and build date:
DSPDTAARA DTAARA(QZRDHASM/BUILD)
All the controllers and source LPARs in a cluster must be at the same version (i.e. 5.3). We strongly recommend that they also all be at the same build date. The version and build date is stored in data area QZRDHASM/BUILD.
The 5.3 controllers will support non-cluster source LPARs running at 5.2 or 5.3, which facilitates upgrading source LPARs in stages.
Firewall changes may be necessary between the controllers and FlashSystem / Storwize units. In version 5.3 of the toolkit, communications with Storwize / FlashSystem units uses REST API's which use port 7443. Communications with the HMC uses REST API's on port 12443.
Use WRKCSE opt 2 to update any FSFC environments using FlashCopy from FlashSystem MMIR targets. Add the source device IP and consistency group. This will enable the toolkit to pause replication before a FlashCopy to prevent torn pages.
To upgrade the controllers:
- Ensure the controllers are at 5.2 before proceeding.
- Ensure no STRFSFLASH or STRFLASH or SWCSE commands are in process.
End the toolkit subsystem:
ENDSBS QZRDFSR *IMMED
Generate a text file with all of the WRKCSE / WRKCSEDTA information:
QZRDHASM/DMPINF ENV(*ALL) EXTDLOGS(*NO)
Save the DDD information:
MKDIR '/tmp/ddd52backups'
QZRDHASM/SAVDDD PATH('/tmp/ddd52backups')
On each controller, issue the restore command:
RSTLIB SAVLIB(QZRDHASM) DEV(*SAVF) SAVF(QGPL/QZRDHASM53) MBROPT(*ALL) ALWOBJDIF(*COMPATIBLE) OMITOBJ((QZRDHASM/*ALL *DTAQ))
SSH is no longer used in version 5.3. The jsch jar files can be removed:
RMVLNK OBJLNK('/QIBM/Qzrdhasm/ssh/jsch.jar')
RMV OBJLNK('/QIBM/Qzrdhasm/ssh/jsch-0.1.55.jar')
On each controlling partition issue the setup command:
QZRDHASM/SETUPFSFC NODEROLE(*CTL) MIGRATE(*YES)
To upgrade a source LPAR:
End the toolkit subsystem:
ENDSBS QZRDFSR *IMMED
On each source partition, issue the restore command:
RSTLIB SAVLIB(QZRDHASM) DEV(*SAVF) SAVF(QGPL/QZRDHASM53) MBROPT(*ALL) ALWOBJDIF(*COMPATIBLE) OMITOBJ((QZRDHASM/*ALL *DTAQ))
On each source partition issue the setup command:
QZRDHASM/SETUPFSFC NODEROLE(*SRC)
On each source partition add CFGSTRPRSC to the beginning of the startup program (the intent is to skip the rest of the startup program if the node role is not a *PSxx, *PTxx, or *Hx usage):
DCL VAR(&IPLTYPE) TYPE(*CHAR) LEN(5) VALUE('?????')
/* PowerHA Tools for IBM i */
QZRDHASM/CFGSTRPRSC RTNVAR(&IPLTYPE)
MONMSG MSGID(CPF0000)
IF COND(%SST(&IPLTYPE 1 2) *NE '*P' *AND +
%SST(&IPLTYPE 1 2) *NE '*H') +
THEN(RETURN)
STRTCP
MONMSG MSGID(CPF0000)
Issue the commands to ensure the Activation Engine / Cloud-init is properly disabled (skip if also using DRA / VMRM):
CALL PGM(QSYS/QAENGCHG) PARM(*DISABLE)
CALL PGM(QSYS/QAENGCHG) PARM('WAITTIME=0')
- Remove any calls to RUNLPARCMD QZRDENDSBS.
- On each source partition add a *PS entry to WRKSTRPRSC (only the 'System Information' panel)
- An *FC entry in WRKSTRPRSC is no longer required.
- After these steps have been performed, it is recommended that CHKFSFLASH be performed before the next planned flashcopy to test the configuration.