Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Copy the *.tar file with the upgrade software to the Execution Container host.

  2. Set the environment variables:

    Insert excerpt
    Preparations
    Preparations
    nopaneltrue

    Info
    titleExample - Setting environment variables


    Code Block
    languagetext
    themeEclipse
    $ export MZ_HOME=/opt/mz 
    $ export JAVA_HOME=/opt/jdk/jdk-17.0.2
    $ export PATH=$JAVA_HOME/bin:$MZ_HOME/bin:$PATH 



    Note
    titleNote!

    If the software is installed on a GlusterFS storage, you must also set the environment variable IGNORE_TAR_EXIT to true. This will suppress non-critical errors that are caused by the tar command during upgrade. If these errors are not suppressed, the upgrade process will abort.

    Info
    titleExample - Setting environment variable IGNORE_TAR_EXIT


    Code Block
    languagetext
    themeEclipse
    $ export IGNORE_TAR_EXIT=true



      

  3. If the Execution Container is located on the same host as the Platform Container, proceed to step 4. If the Execution Container is located on a separate host, extract the software:

    Code Block
    languagetext
    themeEclipse
    $ tar xvf <licenseName>.tar


    Info
    titleExample - Extracting the upgrade software


    Code Block
    languagetext
    themeEclipse
    $ tar xvf MZ8.0.tar


    The setup script for the new version of  will be is extracted in into the directory you are located in when executing the command.

  4. Use the setup script setup.sh to upgrade the Execution Container:

    Code Block
    languagetext
    themeEclipse
    $ ./setup.sh patch


  5. Enter user name and password at the prompt.

  6. Enter the path to the Platform web interface at the prompt, e g  http://platform1:9000, and the upgrade will start. 

    By default, the script validates that the Platform Container can connect to the Execution Container and then enables remote access.


  7. Repeat steps 1 to 6 for each Execution Container that you want to upgrade.

...