How To
Summary
If QUSRIJS is being replicated to a HA system, these steps can be followed to prepare AJS for the role swap.
Steps
These are the commands to run on the production system to get it ready to become the backup, HA, system:
ENDJS DTALIB(*ALL)
SETDLJS USER(*DEFAULT) DTALIB(QUSRIJSBKP)
SETDLJS USER(*ALL) DTALIB(QUSRIJSBKP)
CHGDLJS DTALIB(QUSRIJS) AUTOSTART(*NO)
CHGDLJS DTALIB(QUSRIJSBKP) MON(*YES) AUTOSTART(*YES)
SETDLJS USER(*DEFAULT) DTALIB(QUSRIJSBKP)
SETDLJS USER(*ALL) DTALIB(QUSRIJSBKP)
CHGDLJS DTALIB(QUSRIJS) AUTOSTART(*NO)
CHGDLJS DTALIB(QUSRIJSBKP) MON(*YES) AUTOSTART(*YES)
These are the commands to run on the HA system to prepare it to become the production system:
ENDJS DTALIB(*ALL)
SETDLJS USER(*DEFAULT) DTALIB(QUSRIJS)
SETDLJS USER(*ALL) DTALIB(QUSRIJS)
CHGDLJS DTALIB(QUSRIJS) AUTOSTART(*YES)
CHGDLJS DTALIB(QUSRIJSBKP) MON(*NO) AUTOSTART(*NO)
SETDLJS USER(*DEFAULT) DTALIB(QUSRIJS)
SETDLJS USER(*ALL) DTALIB(QUSRIJS)
CHGDLJS DTALIB(QUSRIJS) AUTOSTART(*YES)
CHGDLJS DTALIB(QUSRIJSBKP) MON(*NO) AUTOSTART(*NO)
The above steps assume you are using a software to replicate QUSRIJS from your production system to QUSRIJS on the HA system. We are also assuming you are replicating QUSRIJSBKP, the library can be named whatever you want, from the HA system to production.
NOTE: QUSRIJS should NOT be moved to an iASP. If an iASP is used for replication, you should be using a different scheduling environment data library and replicate to that data library in the iASP. The data libraries for those environments can be moved/created on an iASP. Unpredictable errors including the installation of PTFs for AJS could occur if the QUSRIJS library is moved to an iASP.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CNEAA2","label":"Advanced Job Scheduler"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.3.0;7.4.0;7.5.0"}]
Was this topic helpful?
Document Information
Modified date:
18 September 2023
UID
ibm17033874