Installing Usage Metering Collector

Last Updated : Nov 02, 2022 |

About this task

Use this procedure to install Usage Metering Collector on CentOS 7.x, RHEL 7.x, or RHEL 8.x server.

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 installation tries to connect to the cloud services without using the proxy server.

Procedure

  1. Open an SSH session to the CentOS or RHEL server on which you want to install the Usage Metering Collector.
  2. To add the Usage Metering Yum repository to your Yum configuration, do one of the following:
    • If you are installing Usage Metering Collector on CentOS 7.x or RHEL 7.x, run the following command in your SSH session:

      sudo curl -o /etc/yum.repos.d/avaya-um.repo \

      https://yum.avaya.com/um-repo/avaya-um.repo

      Ensure that there is a space before the backslash (\) and no space after the backslash (\) on the first line.

      If you manually type this command, do not type a space after the "\" on the first line. You can type the entire command on one line.

    • If you are installing Usage Metering Collector on RHEL 8.x, run the following command in your SSH session:

      sudo curl -o /etc/yum.repos.d/avaya-um-rhel8.repo https://yum.avaya.com/um-repo-rhel8/avaya-um-rhel8.repo

  3. Run the following command to install Usage Metering Collector and all required dependencies:

    sudo yum -y install avaya-usage-metering

    The Usage Metering software installation can update the kernel or other core operating system libraries of your server.

  4. Run the following command to declare a stage name for the Usage Metering deployment and replicate it in the Avaya back-office systems:

    echo "stage=<stage name>" | sudo tee -a /opt/Avaya/usage-metering/um.properties

  5. Run the following command to restart Usage Metering:

    um-restart