Switching the master domain manager to the previous version
Switching a master domain manager to the version 9.4.x after being upgraded to version 9.5.x.
Note: If you used the new functions introduced with the latest release, you cannot switch your
environment to the previous version because new records have been created in the database and they
are not compatible with previous versions.
If you upgraded the master domain manager to the version 9.5.x and you want to
switch it to the version 9.4.x, proceed as follows:
- Ensure that the broker version 9.4.x is stopped by running
the checkBrokerApplicationStatus command located in the
following path:
On UNIX operating systems
- TWA_home>/wastools
On Windows operating systems
- TWA_home>\wastools
- Open the server.xml file located in the following path:
On UNIX operating systems
- <TWA_home>/usr/servers/engineServer
On Windows operating systems
- <TWA_home>\usr\servers\engineServer
- Comment the following piece of
code:
<enterpriseApplication id="SchedulerEAR" location="SchedulerEAR.ear" name="SchedulerEAR"> <classloader commonLibraryRef="DBDriverLibs" delegation="parentFirst" privateLibraryRef="libs.sdo, libs.plugin, twa-properties, libs.ccmdb, libs.emf, libs.jlog, libs.act, libs.cars"/> <ejb-jar-bnd moduleName="JDEJB"> . . </session> <session name="JobManagerBean" id="JobManagerBean"> . </session> </ejb-jar-bnd> <ejb-jar-bnd moduleName="RAEJB"> . . </session> <session name="AllocationManagerBean" id="AllocationManagerBean"> . . </session> </ejb-jar-bnd> <ejb-jar-bnd moduleName="TWSAgent"> <session name="TWSAgentStartupBean" id="TWSAgentStartupBean"> . </session> <session name="TWSJobManagerBean" id="TWSJobManagerBean"> . </session> </ejb-jar-bnd> <web-bnd moduleName="JobManagerRESTWeb"> . </web-bnd> </enterpriseApplication>
- Restart WebSphere Application Server Liberty Base, as described in Application server - starting and stopping.
- Switch to the 9.4 version using the switchmgr command. For further information see Switching a master domain manager or dynamic domain manager.
- Start the broker version 9.4.x by running the
startBrokerApplication.sh command in the following path:
On UNIX operating systems
- TWA_home>/wastools
On Windows operating systems
- TWA_home>\wastools
Note: For further information about the complete syntax of startBrokerApplication.sh, see Starting, stopping, and displaying dynamic workload broker status.
If you want to come back to use the master domain manager version 9.5.x, you
need to:
- Stop the broker application on the master domain manager by running the following command: stopBrokerApplication.sh.
- Uncomment the part that you previously commented in the server.xml file.
- Switch the backup master domain manager and the master domain manager. For further information see Switching a master domain manager or dynamic domain manager.