I'm unable to install a management agent on my host

Note

It is recommended to run Agent Installation Diagnostics in troubleshooting issues during the installation process. It displays error messages, warning messages, and debug information. The command is included in the OMA software installer and the install script, which provides valuable feedback and identifies any potential installation problems.

Before attempting installation, confirm that your host and environment meet the following prerequisites:

If you're unable to Install Management Agent or Deploy JMS Plug-in, verify the following:

Network Accessibility

The installation process requires access to OCI endpoints for successful installation. If there are network issues, the installer or diagnostics might output an error similar to:
Validation URL [https://management-agent.<region_identifier>.oci.oraclecloud.com]https://management-agent.<region_identifier>.oci.oraclecloud.com is not available
This typically indicates that your host can't reach required OCI services due to network restrictions. If you're operating in a restricted network environment:
  • Use a proxy by passing proxy parameters during agent installation.
  • Ensure your organization firewall's egress allow access to:
    • All public OCI IPs listed in IP Adresses Range. Select the Downloading the JSON File link to view the complete list.
    • Domains: *.oraclecloud.com and *.oci.customer-oci.com

Policies Not Configured Correctly

Missing or misconfigured policies can result in authentication failures during agent registration.

During installation, if the following error occurs:
CloudRegistrationStep: The registration attempt failed with HTTP Status 401 (The required information to complete authentication was not provided or was incorrect.)

this likely indicates that required policies have not been set up properly.

Refer to Setting Up Oracle Cloud Infrastructure for Fleets to ensure the prerequisite OCI resources are created and configured as required.

Insufficient Privileges on the Host System

Ensure the user installing the agent has administrative or sudo privileges. Lack of proper privileges may prevent the installation scripts from running necessary configuration steps.