A system downgrade is a user controlled downgrade to an older version of
.This procedure can be used after a simplified upgrade.
Note | |
---|---|
title | Note!You must rollback to Java 1.8 before you downgrade to an earlier version than 8.0. |
To revert to a previously installed version, execute the following procedure:
Ensure that the environment variables are set correctly:
...
Variable | Description |
---|---|
MZ_HOME | This environment variable specifies where the software is installed. |
JAVA_HOME | This environment variable specifies where the JDK is installed. |
PATH | This environment variable specifies where the search path must contain the following directories:
|
Info | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Disable all workflow groups, either from the Execution Manager in Desktop, or by entering an mzsh command, for example:
Code Block
...
$ mzsh mzadmin/<password> wfgropudisable \*
Note title Note! If you use the
wfgroupdisable
command, make sure that you enable all system tasks again when you are done.Stop all workflows.
Shut down all connected Desktops.
If you want to see which Desktops that are connected, you can use the following command:
Code Block
...
$ mzsh mzadmin/<password> pico -view
Note title Note! This command will also display other pico instances, such as ECs.
Shut down the Platform and all ECs.
Code Block
...
$ mzsh shutdown Platform <ec name> ...
Remove MZ_HOME.
Code Block
...
$ rm -rf $MZ_HOME
Restore the backup of MZ_HOME.
Code Block
...
$ cp -r <backup directory> $MZ_HOME
If you are downgrading a system using Oracle, restore the database backup.
Note title Note! If you are using SAP HANA as the Platform database, you will need to disable TLS/SSL on the SAP HANA database before you downgrade your Platform. Refer to Downgrade on the Release Documentation for the steps.
Resume Workflow Execution
Set the environment variables JAVA_HOME and PATH according to the system requirements of the restored version.
Info title Example - Setting Environment Variables Code Block language text theme Eclipse $ export MZ_HOME=/opt/mz $ export JAVA_HOME=/opt/jdk/jdk1.8.0_121 $ export PATH=$JAVA_HOME/bin:$MZ_HOME/bin:$PATH
Start the Platform and all ECs.
Code Block
...
$ mzsh startup Platform <ec names> ...
Import the configurations that were exported in the old version prior to the upgrade.
Code Block
...
$ mzsh mzadmin/<password> systemimport <backup directory>/<filename>
Start the real-time workflows.
Enable the Workflow Groups.
Scroll pagebreak |
---|