Versions Compared

Key

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

...

  1. Ensure that the environment variables are set correctly:

    Excerpt-include

    Variable

    Upgrade Preparations

    DescriptionMZ_HOME
    This environment variable specifies where the software is installed.
    JAVA_HOMEThis environment variable specifies where the JDK is installed.PATHThis environment variable specifies the search path and must contain the following directories: $JAVA_HOME/bin:$MZ_HOME/bin

    Upgrade Preparations
    nameupgrade_variables
    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!
    You must specify the Java version required for the version that you are upgrading from.


  2. Make a backup system export of all your configurations with System Export.

    Code Block
    languagetext
    $ mzsh mzadmin/<password> systemexport <backup directory>/<filename>
    Note
    titleNote!

    These configurations must be imported after the upgrade.

  3. For safety, make an online backup of the database(s). For information about how to perform an online backup, see Preventive Maintenance Procedures.
     

    If you are performing an upgrade of a system with large configurations, you may need to increase the maximum number of file descriptors.

    Info
    titleExample - Changing the Maximum Number of File Descriptors on Linux.
    Code Block
    languagetext
    themeEclipse
    $ cat /proc/sys/fs/file-max 5000 $ su - root Password: $sysctl -w fs.filemax=10000

    Backup and Disaster Recovery Procedures.