Upgrading to 5.3 is only recommended from version 5.2 - upgrading from any other build or release will require manually recreating all WRKCSE, WRKCSEDTA and WRKCSECRDL entries. Use the following command to display the 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 443.
On the HMC, allow the toolkit user profile remote access via the web (this also allows use of the REST APIs).
To upgrade the controllers:
- Upgrade the controllers to 5.2
- Ensure no 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(*ALL) 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:
SETUPFSR NODEROLE(*CTL) MIGRATE(*YES)
To upgrade a source LPAR:
End the toolkit subsystem:
ENDSBS QZRDFSR *IMMED
On each controller, issue the restore command:
RSTLIB SAVLIB(QZRDHASM) DEV(*SAVF) SAVF(QGPL/QZRDHASM53) MBROPT(*ALL) ALWOBJDIF(*ALL) OMITOBJ((QZRDHASM/*ALL *DTAQ))
On each production LPAR issue the setup command:
SETUPFSR NODEROLE(*PRD)
Add a call to CFGSTRPRSC at the beginning of the startup program:
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)
An *FC entry in WRKSTRPRSC is no longer required.
- Remove any calls to RUNLPARCMD QZRDENDSBS.
Issue the commands to ensure the Activation Engine / Cloud-init is properly disabled:
CALL PGM(QSYS/QAENGCHG) PARM(*DISABLE)
CALL PGM(QSYS/QAENGCHG) PARM('WAITTIME=0')
- After these steps have been performed, check that the entries in WRKSTRPRSC, particularly the port numbers associated with communication resources, migrated correctly and perform a CHKCSE and a detach prior to the next switch to test the configuration.