Skip to content

Upgrading to release 6.10.0

This section includes instructions for updating from Resource Manager 6.9.0 with Control Center 1.11.0 to Resource Manager 6.10.0 with Control Center 2.1.0.

Updates from Resource Manager 6.8.0 have been minimally tested. Release 6.10.0 contains many changes since 6.8.0, so update to 6.9.0 first when you can.

To update earlier releases, see one of the following pages:

Tips for a successful update:

  • Before proceeding, review the release notes and the Control Center 2.1.0 release notes.
  • For optimum results, review update procedures before performing an update.
  • To update appliance-based deployments, keep this page open and open new tabs or windows for each procedure.

This update changes the order of hosts

Earlier releases updated the delegate hosts first. For release 6.10.0, update the master host first, and then update each delegate host, one at a time. Updating one delegate host at a time keeps two of the three ZooKeeper members running.

The update ISO requires Rocky Linux 9 or AlmaLinux 9

The update ISO installs Control Center 2.1.0 from repository mirrors for Rocky Linux 9.4 and AlmaLinux 9.4 only. Before you attach the ISO, confirm that every host runs Rocky Linux 9 or AlmaLinux 9.

grep -E '^(NAME|VERSION_ID)=' /etc/os-release

On a host with no matching mirror, the update stops at its first step with the message This ISO installs Control Center 2.1.0 on: alma9.4 rocky9.4. This host runs <OS>., and nothing on the host is changed. CentOS 7 is not supported: move the hosts to Rocky Linux 9 or AlmaLinux 9 first.

Updating from Control Center 1.11.0 changes Control Center

The update to Control Center 2.1.0 adds registry authentication on every host and clears the Control Center internal services HBase data. This removes the Control Center internal metric history only. It does not remove Resource Manager device metrics. You cannot return to Control Center 1.11.0 after the update starts, so take a backup first.


Updating non-appliance deployments

Use the following page to update Resource Manager deployments that are not based on the Resource Manager virtual appliance:


Updating single-host, appliance-based deployments

Use the instructions in this section to update single-host deployments of Resource Manager based on virtual appliances. The update software includes updates of the virtual machine operating system.

Preparing to update

  1. Prepare your deployment for update
  2. Download update file
  3. Attach the update ISO. The ISO does not attach itself. Upload it to the datastore, and connect the CD/DVD drive of the virtual machine.
  4. Manage MariaDB passwords, if necessary
  5. Stop Resource Manager
  6. Remove Docker containers on the master host

Updating the master host

  1. Update Control Center
  2. Set OpenTSDB credentials

  3. Update Resource Manager

Post-update procedures

  1. Remove the pre-upgrade snapshot
  2. Start Resource Manager
  3. Rebuild device configurations

Updating multi-host, appliance-based deployments

Use the instructions in this section to update multi-host deployments of Resource Manager based on virtual appliances. The update software includes updates of the virtual machine operating system.

Preparing to update

  1. Prepare your deployment for update
  2. Download update file
  3. Attach the update ISO to every virtual machine. The ISO does not attach itself. Upload it to the datastore, and connect the CD/DVD drive of each virtual machine.
  4. Manage MariaDB passwords, if necessary
  5. Stop Resource Manager
  6. Remove Docker containers on the master host

Optional: Let Resource Manager run during the delegate updates

Do not start Resource Manager until every delegate host runs Control Center 2.1.0. A delegate host that still runs Control Center 1.11.0 has no registry login and cannot pull images from the master host.

If you want to start Resource Manager while you update the delegate hosts, pre-seed the registry login first. Complete this step on each delegate host before you update the master host.

  1. Log in to the delegate host as the root user.
  2. In the Appliance Administration menu, select Root Shell, select Run, and then press Enter.
  3. Mount the update ISO.

    mount -o ro /dev/cdrom /mnt/cdrom
    
  4. Configure the registry login. Replace <master> with the host name or IP address of the master host.

    python3 /mnt/cdrom/common/appliance/standard/registry_auth.py --role delegate --registry <master>:5000 --force
    

Updating the master host

  1. Update Control Center
  2. Set OpenTSDB credentials

Updating delegate hosts

Update the delegate hosts one at a time. Wait until a host finishes and reboots before you start the next host.

  1. Remove Docker containers
  2. Update Control Center

You do not distribute authentication tokens. After the reboot, a delegate host gets its authentication token from the master host by itself.

Updating Resource Manager on the master host

Update Resource Manager

Post-update procedures

  1. Remove the pre-upgrade snapshot
  2. Start Control Center on all hosts
  3. Start Resource Manager
  4. Rebuild device configurations

Updating Control Center on a host

Use this procedure on the master host and then on each delegate host. Before you start, attach the update ISO to the host.

Note

The update software creates a record of its work in /tmp/upgrade-zsd-cc-*.log.

  1. Gain access to the Control Center host, through the console interface of your hypervisor, or through a remote shell utility.

  2. Log in as the root user.

  3. In the Appliance Administration menu, use the down arrow key to select Update System, and then press Enter.

    • To update the system, press Enter.
    • To cancel the update, press Tab, and then press Enter.
  4. In the Upgrade Options menu, choose Upgrade to Control Center 2.1.0, and then press Enter.

    The update takes about 5 to 12 minutes for each host. The update script also configures the registry credentials on the host. When the update completes, the host prompts you to reboot.

  5. Press any key to reboot.

    If your ssh session drops at the reboot prompt, serviced can stay masked on a delegate host. Run the following commands, and then reboot.

    systemctl unmask serviced
    systemctl enable serviced
    

Using custom registry credentials

The update sets the default registry credentials. To use your own, run the update script by hand instead of from the Appliance Administration menu. The menu cannot pass the credentials.

  1. In the Appliance Administration menu, select Root Shell, select Run, and then press Enter.

  2. Mount the update ISO.

    mount -o ro /dev/cdrom /mnt/cdrom
    
  3. Set the credentials. Replace <user> with the registry user name and <file> with the path of a file that contains the password.

    export REGISTRY_USER=<user> REGISTRY_PASSWORD_FILE=<file>
    
  4. Run the update script.

    bash /mnt/cdrom/update-zenoss.sh
    

Rebuilding device configurations

Device configurations that were built before the update stay current afterward. Until each device changes, collectors keep using objects that the old ZenPack code built. For example, CiscoMonitor status thresholds fail. To rebuild all device configurations, expire them.

  1. After Resource Manager starts, log in to the Control Center master host as a user with serviced CLI privileges.

  2. Attach to the zope service as the zenoss user.

    serviced service attach zope/0 su - zenoss
    
  3. Expire all device configurations. Do not give a device argument.

    configcache device expire
    

    At the prompt Recreate all device configurations. Are you sure (y/N)?, enter y. The command reports how many device configurations it expired, and the configurations rebuild within a minute.

  4. Exit the zope service.

    exit