Skip To Content

Upgrade ArcGIS Monitor 2024.x

Follow the steps in the sections below to upgrade ArcGIS Monitor 2024.x.

Learn more about upgrading Monitor 2025.0 or later

Learn more about upgrading Monitor 2023.x or earlier

Note:

All machines in a Monitor deployment must be upgraded to the same major.minor version.

Prepare to upgrade Monitor

Review the following information and complete any required actions before you upgrade Monitor:

  • Review the Monitor system requirements to ensure that your hardware meets the current requirements.
  • Create a backup of the Monitor database and all Monitor machines in the deployment, and store the backup files in a secure, remote location.
  • Download the latest ArcGIS Monitor software installation files and authorization file from My Esri.
  • Do not uninstall the previous version of ArcGIS Monitor Server or ArcGIS Monitor Agent until instructed to do so. There is no need to obtain and install each previously released version in sequence.
    Note:

    Only one version can be installed on a machine at a time; when you install a new version, the previous version is replaced.

  • For Monitor Agent machines to function, they must be the same major.minor version as the Monitor Server machine.
  • Ensure that the ArcGIS Monitor account has shell access.

    In earlier versions of Monitor, the setup package automatically created the ArcGIS Monitor account without shell access. To create a password and allow shell access for the ArcGIS Monitor account, run the following commands as a user in the sudoers group:

    sudo passwd <ArcGIS Monitor account name>
    sudo usermod -s /bin/bash <ArcGIS Monitor account name>

  • Stop the arcgis-monitor-server service on the Monitor Server machine and the arcgis-monitor-agent service on all Monitor Agent machines by running the following commands as a user in the sudoers group:
    • Monitor Server: sudo systemctl stop arcgis-monitor-server
    • Monitor Agent: sudo systemctl stop arcgis-monitor-agent

    Monitoring is not available when the service is stopped.

    Note:

    Some deployments may contain an installation of Monitor Agent on the Monitor Server machine.

Upgrade a Monitor deployment

The recommended order of steps to upgrade a Monitor deployment is as follows:

  1. Upgrade Monitor Server.
  2. Upgrade Monitor Agent.
    Note:

    Some deployments may contain an installation of Monitor Agent on the Monitor Server machine.

Starting with the Monitor 2024.0 release, all host machines must have Monitor Agent installed to collect metrics.

Learn more about deploying Monitor

Upgrade Monitor Server

Once you have the installation and backup files, complete the upgrade steps for Monitor Server. Do not uninstall the existing Monitor Server version until instructed to do so.

You can upgrade using an interactive command line interface (CLI), or silently upgrade Monitor Server from the CLI. The setup script detects and updates the existing installation of Monitor Server.

Upgrade using an interactive CLI

After you complete the prerequisites outlined in the Prepare to upgrade Monitor section, complete the steps below to upgrade Monitor Server using an interactive CLI. To perform a silent upgrade instead, proceed to the next section.

  1. Start a terminal session on the Monitor Server machine with a user account in the sudoers group.
  2. Run the following commands to uninstall previous versions of Monitor Server:
    • Ubuntu:
      sudo systemctl stop arcgis-monitor-server
      sudo systemctl disable arcgis-monitor-server
      sudo rm -rf /usr/lib/systemd/system/arcgis-monitor-server.service
      sudo rm -rf /etc/systemd/system/multi-user.target.wants/arcgis-monitor-server.service
      sudo dpkg --purge arcgis-monitor-server
    • Red Hat Enterprise Linux Server:
      sudo systemctl stop arcgis-monitor-server
      sudo systemctl disable arcgis-monitor-server
      sudo rm -rf /usr/lib/systemd/system/arcgis-monitor-server.service
      sudo rm -rf /etc/systemd/system/multi-user.target.wants/arcgis-monitor-server.service
      sudo rpm -ev ArcGIS-Monitor-server
  3. Start a terminal session on the Monitor Server machine with the ArcGIS Monitor account.
    Note:

    In earlier versions of Monitor, the setup package automatically created the ArcGIS Monitor account without shell access. To create a password and allow shell access for the ArcGIS Monitor account, run the following commands as a user in the sudoers group:

    sudo passwd <ArcGIS Monitor account name>
    sudo usermod -s /bin/bash <ArcGIS Monitor account name>

  4. Change the directory to the location that contains the Monitor .tar.gz file and uncompress it.

    The following is an example:

    tar -zxvf ArcGIS_Monitor_Server.tar.gz

  5. Change the directory to the location that contains the extracted Monitor Server setup file.
  6. From the command shell, run Setup.sh.

    The following is an example:

    ./Setup.sh

  7. During the installation, read the license agreement and accept it, or exit if you do not agree with the terms.
    Tip:

    Press Q on your keyboard to close the Master Agreement.

  8. Follow the prompts on the screen to install the software.
  9. After the installation has finished, run the following command as a user in the sudoers group to configure the arcgis-monitor-server service to automatically start with the operating system:
    sudo <Monitor Server installation location>/framework/etc/scripts/create_Monitor_Server_service.sh

    The default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/server.

    The service is configured to start with the operating system and a message appears indicating the service's status. If the service is not running, run the following command as a user in the sudoers group to start the service:

    sudo systemctl start arcgis-monitor-server
  10. Once you update the Monitor Server installation, open a supported web browser, access Monitor, and verify that the software is updated and licensed.

Upgrade silently from the CLI

Rather than running the interactive CLI, you can upgrade Monitor Server silently.

After you complete the prerequisites outlined in the Prepare to upgrade Monitor section, complete the following steps to upgrade Monitor Server:

  1. Start a terminal session on the Monitor Server machine with a user account in the sudoers group.
  2. Run the following commands to uninstall previous versions of Monitor Server:
    • Ubuntu:
      sudo systemctl stop arcgis-monitor-server
      sudo systemctl disable arcgis-monitor-server
      sudo rm -rf /usr/lib/systemd/system/arcgis-monitor-server.service
      sudo rm -rf /etc/systemd/system/multi-user.target.wants/arcgis-monitor-server.service
      sudo dpkg --purge arcgis-monitor-server
    • Red Hat Enterprise Linux Server:
      sudo systemctl stop arcgis-monitor-server
      sudo systemctl disable arcgis-monitor-server
      sudo rm -rf /usr/lib/systemd/system/arcgis-monitor-server.service
      sudo rm -rf /etc/systemd/system/multi-user.target.wants/arcgis-monitor-server.service
      sudo rpm -ev ArcGIS-Monitor-server
  3. Start a terminal session on the Monitor Server machine with the ArcGIS Monitor account.
    Note:

    In earlier versions of Monitor, the setup package automatically created the ArcGIS Monitor account without shell access. To create a password and allow shell access for the ArcGIS Monitor account, run the following commands as a user in the sudoers group:

    sudo passwd <ArcGIS Monitor account name>
    sudo usermod -s /bin/bash <ArcGIS Monitor account name>

  4. Change the directory to the location that contains the Monitor .tar.gz file and uncompress it.

    The following is an example:

    tar -zxvf ArcGIS_Monitor_Server.tar.gz

  5. Change the directory to the location that contains the extracted ArcGIS Monitor Server setup file.
  6. From the command shell, run Setup.sh.

    The --license-agreement parameter is required to accept the End User License Agreement (EULA) during a silent installation. Specify yes to agree to the EULA and install the software. Specifying no results in a failed installation.

    The following is an example:

    ./Setup.sh -l yes [options]

    -l; --license-agreement CHOICE

    This property is required to accept the EULA during a silent installation. Specify yes to agree to the EULA and install the software. Specifying no or omitting this property will result in a failed installation. The download contains a PDF of the EULA. The EULA.pdf file is in the Documentation folder.

    -d; --directory DIRECTORY

    This property is optional. By default, Monitor Server is installed to the $HOME directory. DIRECTORY specifies a different installation directory.

    The /arcgis/monitor/server path is appended to the installation directory.

    -h; --help

    This property displays command line help and exits.

  7. After the installation has finished, run the following command as a user in the sudoers group to configure the arcgis-monitor-server service to automatically start with the operating system:
    sudo <Monitor Server installation location>/framework/etc/scripts/create_Monitor_Server_service.sh

    The default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/server.

    The service is configured to start with the operating system and a message appears indicating the service's status. If the service is not running, run the following command as a user in the sudoers group to start the service:

    sudo systemctl start arcgis-monitor-server
  8. Once you update the Monitor Server installation, open a supported web browser, access Monitor, and verify that the software is updated and licensed.

Upgrade Monitor Agent

Once you have the installation and backup files, complete the upgrade steps on each Monitor Agent machine in the Monitor deployment. All machines in the Monitor deployment must be upgraded to the same major.minor version. Do not uninstall the existing Monitor Agent version until instructed to do so.

You can upgrade using a CLI, or silently upgrade Monitor Agent from the CLI. The setup script detects and updates the existing installation of Monitor Agent.

Note:

Some deployments may contain an installation of Monitor Agent on the Monitor Server machine.

Upgrade using an interactive CLI

After you complete the prerequisites outlined in the Prepare to upgrade Monitor section, complete the steps below to upgrade Monitor Agent using an interactive CLI. To perform a silent upgrade instead, proceed to the next section.

  1. Start a terminal session on the Monitor Agent machine with a user account in the sudoers group.
  2. Run the following commands to uninstall previous versions of Monitor Agent.
    • Ubuntu:
      sudo systemctl stop arcgis-monitor-agent
      sudo systemctl disable arcgis-monitor-agent
      sudo rm -rf /usr/lib/systemd/system/arcgis-monitor-agent.service
      sudo rm -rf /etc/systemd/system/multi-user.target.wants/arcgis-monitor-agent.service
      sudo dpkg --purge arcgis-monitor-agent
    • Red Hat Enterprise Linux Server:
      sudo systemctl stop arcgis-monitor-agent
      sudo systemctl disable arcgis-monitor-agent
      sudo rm -rf /usr/lib/systemd/system/arcgis-monitor-agent.service
      sudo rm -rf /etc/systemd/system/multi-user.target.wants/arcgis-monitor-agent.service
      sudo rpm -ev ArcGIS-Monitor-agent
  3. Start a terminal session on the Monitor Agent machine with the ArcGIS Monitor account.
    Note:

    In earlier versions of Monitor, the setup package automatically created the ArcGIS Monitor account without shell access. To create a password and allow shell access for the ArcGIS Monitor account, run the following commands as a user in the sudoers group:

    sudo passwd <ArcGIS Monitor account name>
    sudo usermod -s /bin/bash <ArcGIS Monitor account name>

  4. Change the directory to the location that contains the Monitor .tar.gz file and uncompress it.

    The following is an example:

    tar -zxvf ArcGIS_Monitor_Agent.tar.gz

  5. Change the directory to the location that contains the extracted Monitor Agent setup file.
  6. From the command shell, run Setup.sh.

    The following is an example:

    ./Setup.sh

  7. During the installation, read the license agreement and accept it, or exit if you do not agree with the terms.
    Tip:

    Press Q on your keyboard to close the Master Agreement.

  8. Follow the prompts on the screen to install the software.
  9. After the installation has finished, run the following command as a user in the sudoers group to configure the arcgis-monitor-agent service to automatically start with the operating system:
    sudo <Monitor Agent installation location>/framework/etc/scripts/create_Monitor_Agent_service.sh

    The default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/agent.

    The service is configured to start with the operating system and a message appears indicating the service's status. If the service is not running, run the following command as a user in the sudoers group to start the service:

    sudo systemctl start arcgis-monitor-agent
  10. Once you update the Monitor Agent installation, open a supported web browser, access Monitor, and verify that the Monitor Agent machine is connected to Monitor Server.

Upgrade silently from the CLI

Rather than running the interactive CLI, you can upgrade Monitor Agent silently.

After you complete the prerequisites outlined in the Prepare to upgrade Monitor section, complete the following steps to upgrade Monitor Agent:

  1. Start a terminal session on the Monitor Agent machine with a user account in the sudoers group.
  2. Run the following commands to uninstall previous versions of Monitor Agent:
    • Ubuntu:
      sudo systemctl stop arcgis-monitor-agent
      sudo systemctl disable arcgis-monitor-agent
      sudo rm -rf /usr/lib/systemd/system/arcgis-monitor-agent.service
      sudo rm -rf /etc/systemd/system/multi-user.target.wants/arcgis-monitor-agent.service
      sudo dpkg --purge arcgis-monitor-agent
    • Red Hat Enterprise Linux Server:
      sudo systemctl stop arcgis-monitor-agent
      sudo systemctl disable arcgis-monitor-agent
      sudo rm -rf /usr/lib/systemd/system/arcgis-monitor-agent.service
      sudo rm -rf /etc/systemd/system/multi-user.target.wants/arcgis-monitor-agent.service
      sudo rpm -ev ArcGIS-Monitor-agent
  3. Start a terminal session on the Monitor Agent machine with the ArcGIS Monitor account.
    Note:

    In earlier versions of Monitor, the setup package automatically created the ArcGIS Monitor account without shell access. To create a password and allow shell access for the ArcGIS Monitor account, run the following commands as a user in the sudoers group:

    sudo passwd <ArcGIS Monitor account name>
    sudo usermod -s /bin/bash <ArcGIS Monitor account name>

  4. Change the directory to the location that contains the Monitor .tar.gz file and uncompress it.

    The following is an example:

    tar -zxvf ArcGIS_Monitor_Agent.tar.gz

  5. Change the directory to the location that contains the extracted Monitor Agent setup file.
  6. From the command shell, run Setup.sh.

    The --license-agreement parameter is required to accept the EULA during a silent installation. Specify yes to agree to the EULA and install the software. Specifying no results in a failed installation.

    The following is an example:

    ./Setup.sh -l yes [options]

    -l; --license-agreement CHOICE

    This property is required to accept the EULA during a silent installation. Specify yes to agree to the EULA and install the software. Specifying no or omitting this property will result in a failed installation. The download contains a PDF of the EULA. The EULA.pdf file is in the Documentation folder.

    -d; --directory DIRECTORY

    This property is optional. By default, Monitor Server is installed to the $HOME directory. DIRECTORY specifies a different installation directory.

    The /arcgis/monitor/agent path is appended to the installation directory.

    -h; --help

    This property displays command line help and exits.

  7. After the installation has finished, run the following command as a user in the sudoers group to configure the arcgis-monitor-agent service to automatically start with the operating system:
    sudo <Monitor Agent installation location>/framework/etc/scripts/create_Monitor_Agent_service.sh

    The default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/agent.

    The service is configured to start with the operating system and a message appears indicating the service's status. If the service is not running, run the following command as a user in the sudoers group to start the service:

    sudo systemctl start arcgis-monitor-agent
  8. Once you update the Monitor Agent installation, open a supported web browser, access Monitor, and verify that the Monitor Agent machine is connected to Monitor Server.

Considerations after upgrading

It is recommended that you create a backup of the Monitor database and all Monitor machines in the deployment after upgrading. After upgrading, confirm that the deployment is collecting data as expected by accessing Monitor and viewing collection details and component details.