Upgrading Usage Metering Collector

Last Updated : Jan 13, 2021 |

About this task

Usage Metering automatically detects daily if a Usage Metering update is available.

If an update is available, Usage Metering automatically upgrades to the newer version at 3:00 a.m. local time.

If a restart is required, Usage Metering automatically restarts after the upgrade is completed.

After the Usage Metering software is upgraded, Usage Metering sends a notification email.

Important:

Periodically upgrade the CentOS or RHEL operating system. Updating the system changes some components that the system uses. Restart Usage Metering after you upgrade the system.

Avaya recommends you to periodically update the yum software on the server to get the latest updates and security enhancements.

You can, however, use the following procedure if you want to upgrade Usage Metering manually.

If your IT infrastructure uses a proxy server, you have configured the proxy details in the bash_profile file, and you are using root credentials, then run the commands in this procedure without using sudo. If you run the commands by using sudo, Usage Metering Collector upgrade tries to connect to the cloud services without using the proxy server.

Procedure

  1. Run the following command to update Usage Metering:

    sudo yum -y update avaya-usage-metering

  2. Run the following command to verify if Usage Metering requires a restart after the update:

    sudo um-needs-restarting

  3. If the output of the preceding command indicates that Usage Metering requires a restart, run the following command to restart Usage Metering:

    sudo um-restart