Upgrading Management Console Manually

If you installed MC manually, follow the procedure below to upgrade MC.

If you installed MC automatically on AWS resources, see Upgrading MC Automatically on AWS .

Before You Upgrade

  1. Log in as root or a user with sudo privileges on the server where MC is already installed.
  2. Open a terminal window and shut down the MC process:

    # /etc/init.d/vertica-consoled stop

    For versions of Red Hat 7/CentOS 7 and above, use:

    # systemctl stop vertica-consoled
  3. Back up MC to preserve configuration metadata.

    A full backup is required in order to restore MC to its previous state. Restoring MC is essential if the upgrade fails, or you decide to revert to the previous version of Vertica. For details, see Backing Up MC .

  4. Stop the database if MC was installed on an Ubuntu or Debian platform.

Extended Monitoring Upgrade Recommendations

If you use Extended Monitoring to monitor a database with MC, Vertica recommends the following upgrade procedure to avoid data loss.

  1. Log in to MC as an administrator.
  2. To stop the monitored database, navigate to the Existing Infrastructure > Databases and Clusters page, select the monitored database and click Stop.
  3. On MC Settings > MC Storage DB Setup, click Disable Streaming to stop the storage database's collection of monitoring data.
  4. To stop the storage database, navigate to the Existing Infrastructure > Databases and Clusters page, select the monitored database and click Stop.
  5. Upgrade MC and Vertica according to Upgrade MC and Upgrading Vertica instructions.
  6. To start the storage database, navigate to the Existing Infrastructure > Databases and Clusters page, select the monitored database and click Start.
  7. Start the monitored database.
  8. On MC Settings > MC Storage DB Setup, click Enable Streaming to enable collection of monitoring data.

    To avoid data loss, enable streaming soon after starting your monitored database. While your storage database is down and streaming is disabled, the Kafka server can retain data from your running monitored database for a limited amount of time. Data loss occurs when the data exceeds the Kafka retention policy's log size or retention time limits.

Upgrade MC

  1. Download the MC package from the myVertica portal:
    vertica-console-current-version.Linux-distro) 

    Save the package to a location on the target server, such as /tmp.

  2. On the target server, log in as root or a user with sudo privileges.
  3. Change to the directory where you saved the MC package.
  4. Install MC using your local Linux distribution package management system—rpm, yum, zypper, apt, dpkg. For example:

    Red Hat 6

    # rpm -Uvh vertica-console-current-version.x86_64.RHEL6.rpm 

    Debian and Ubuntu

    # dpkg -i vertica-console-current-version.deb
  5. If you stopped the database before upgrading MC, restart the database.

    As the root user, use the following command:

    /etc/init.d/verticad start

    For versions of Red Hat 7/CentOS 7 and above, run:

    # systemctl start vertica-consoled
  6. Open a browser and enter the URL of the MC installation, one of the following:

    • IP address:
      https://ip-address:mc-port/
    • Server host name:
      https://hostname:mc-port/					

    By default, mc-port is 5450.

  7. If MC was not previously configured, the Configuration Wizard dialog box appears. Configuration steps are described in Configuring MC.

    If MC was previous configured, Vertica prompts you to accept the end-user license agreement (EULA) when you first log in to MC after the upgrade.