Upgrade from 7.2.x or earlier 7.x

When running a 7.2.x version or any earlier 7.x version, create a configuration backup, then use a system console to upgrade to the new version.

The upgrade process includes a major upgrade of the operating system. It takes several steps and more time than usual. If this process fails or is interrupted, you can re-image the appliance using an image of the new version and install the configuration backup.

Download an image of the new version from the download page of the McAfee Content & Cloud Security Portal at https://contentsecurity.mcafee.com/software_mwg7_download.

For more information about re-imaging, see the McAfee Web Gateway Installation Guide.

Task

  1. Create a configuration backup.
    Tip: Use the options provided under Troubleshooting | Backup/Restore on the user interface to create the backup.
  2. From the local system console, or using SSH, log on to the appliance you want to perform the upgrade on.
  3. Run the following commands:

    yum upgrade yum yumconf\*

    mwg-dist-upgrade 7.7.0.1

    The upgrade to the new version is performed in two phases. After each phase, the appliance restarts automatically.
  4. Proceed in one of the following ways to complete the installation:
    • If you are using a local system console:

      When the second restart has completed, a logon prompt appears. You can now log on to the user interface and start working with the new version.

    • If you are using SSH:

      When the appliance restarts after the first upgrade phase, you are disconnected and the second upgrade phase begins.

      After this phase has completed, including the automatic restart, you can log on to the user interface and start working with the new version.

      The following command lets you view messages about the upgrade progress:

      tail -F /opt/mwg/log/update/mlos2.upgrade.log

      When you see that the upgrade has completed, press Ctrl+C to stop the process. You can now log on to the user interface and start working with the new version.