On-premises macOS

This section describes the steps to set up the Oracle Management Agent and deploy JMS plug-ins on a macOS host.

Prerequisites: Download the agent software and response file as described in Download Management Agent Software and Manual Install sections.

Steps

  1. Go to the folder where you saved the management agent software and the response file.
  2. Verify that the response file that you downloaded contains the following parameter: Service.plugin.jms.download=true

    Also, ensure that the response file has read permissions for mgmt_agent user.

  3. Log in to the host and edit the /etc/sudoers file and add the following to the end of the file:
    mgmt_agent ALL=(ALL)NOPASSWD:/Library/Oracle/mgmt_agent/agent_inst/bin/chown_recursive_ep.sh
    mgmt_agent ALL=(root) NOPASSWD: ALL
  4. Install and start the management agent, as described in Install Management Agents. The Java Management Service plug-in will be deployed during installation.
    Note

  5. Verify the output from the setup script. If the console output indicates that the plug-in has failed to deploy, then ensure that the clock on your host is synchronized with the clock on the OCI platform. For more information, see Maximum Allowed Client Clock Skew.
  6. Verify the installation, as described in Verify Management Agents on Compute Instances. You can identify your agent using the hostname of the host. Find the OCID of the agent in the Agent Id value in Agent information tab of the Agent's details page.
  7. Register the agent to a JMS fleet using the fleet's Add Managed Instance(s) action in the Managed Instances view.
    1. If the host shows up in the Unregistered Managed Instances list, you can select it and add it to the fleet. It may take some time for the host to show up in the Unregistered Managed Instances list after the plugins are enabled.
    2. Alternatively, add the host using the OCID of the agent in the Manual registration section.
The log files are located in the /Library/Oracle/mgmt_agent/plugins/jm/stateDir/log directory.