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:
- Updating Resource Manager to release 6.9.0
- Updating Resource Manager to release 6.8.0
- Updating Resource Manager to release 6.7.0
- Updating Resource Manager to release 6.6.0
- Updating Resource Manager to release 6.5.0
- Updating Resource Manager to release 6.4.1
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
- Prepare your deployment for update
- Download update file
- 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.
- Manage MariaDB passwords, if necessary
- Stop Resource Manager
- Remove Docker containers on the master host
Updating the master host
Post-update procedures
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
- Prepare your deployment for update
- Download update file
- 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.
- Manage MariaDB passwords, if necessary
- Stop Resource Manager
- 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.
- Log in to the delegate host as the root user.
- In the Appliance Administration menu, select Root Shell, select Run, and then press Enter.
-
Mount the update ISO.
mount -o ro /dev/cdrom /mnt/cdrom -
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
Updating delegate hosts
Update the delegate hosts one at a time. Wait until a host finishes and reboots before you start the next host.
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
Post-update procedures
- Remove the pre-upgrade snapshot
- Start Control Center on all hosts
- Start Resource Manager
- 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.
-
Gain access to the Control Center host, through the console interface of your hypervisor, or through a remote shell utility.
-
Log in as the root user.
-
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.
-
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.
-
Press any key to reboot.
If your ssh session drops at the reboot prompt,
servicedcan 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.
-
In the Appliance Administration menu, select Root Shell, select Run, and then press Enter.
-
Mount the update ISO.
mount -o ro /dev/cdrom /mnt/cdrom -
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> -
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.
-
After Resource Manager starts, log in to the Control Center master host as a user with
servicedCLI privileges. -
Attach to the
zopeservice as thezenossuser.serviced service attach zope/0 su - zenoss -
Expire all device configurations. Do not give a device argument.
configcache device expireAt the prompt
Recreate all device configurations. Are you sure (y/N)?, entery. The command reports how many device configurations it expired, and the configurations rebuild within a minute. -
Exit the
zopeservice.exit