OCI Linux
This section describes the steps to set up the Oracle Cloud Agent and deploy the JMS plug-ins on an Oracle Linux Compute Instance. For Oracle Linux instances in different region and/or tenancy, and other supported Linux platforms, follow the On-premises Linux instructions to set up Oracle Management Agent.
Note
The recommended approach for onboarding OCI Linux instances to the fleet is using the fleet's Add Managed Instance(s) action in the Managed Instances view. See instructions in the OCI Linux section in the Manual Method for Installing Management Agent and Deploying JMS Plug-in.
The recommended approach for onboarding OCI Linux instances to the fleet is using the fleet's Add Managed Instance(s) action in the Managed Instances view. See instructions in the OCI Linux section in the Manual Method for Installing Management Agent and Deploying JMS Plug-in.
Steps
- Copy the compressed file and the configuration file to a new folder.
- Extract the compressed file into the new folder. For example, extracting
jms_setup_v9.0.56_linux_rhel-x86_64.tar.gz
will create a folder namedjms_setup_v9.0.56_linux_rhel-x86_64
within the new folder. - Navigate to the extracted folder from Step 2 and execute
./setupJMS.sh
as a root user.Note
- The following are the optional parameters along with the description:
--diagnostic
: determines if prerequisite conditions are met on the host machine to allow for successful agent installation and plug-in deployment--force
: uninstalls the plug-ins, deletes the configuration files or restores the originals from backups, and continues with installation--override-jdk-symlink
: replaces the existing JDK symlink that is created by the user with a new symlink pointing to the JDK installed in the agent's directory--install-mgmt-agent
: force Management Agent installation on an OCI Linux instance.--ignore-unsupported
: proceeds with the agent installation on an unsupported platform.--configuration-file-path
: provides a custom file path to the configuration fileJMS_configuration.rsp
. For example,sudo ./setupJMS.sh --configuration-file-path=/home/user/Downloads/test/JMS_configuration_region1.rsp
.
Alternatively, the
JMS_configuration.rsp
file contains the setup parameters that you can use to customize your installation process. See Configuration Parameters for the complete list. - See Running Agent Installation Diagnostics for the complete list of question with solutions or recommendations.
- The following are the optional parameters along with the description:
- Once the installation is complete, the following message will appear:
Removed: python3-arrow-1.1.1-1.el8.noarch python3-importlib-metadata-1.7.0-1.el8.noarch python3-jmespath-0.10.0-1.el8.noarch python3-prompt-toolkit-3.0.29-1.0.2.el8.noarch python3-terminaltables-3.1.10-1.0.1.el8.noarch python3-typing-extensions-3.7.4.2-1.el8.noarch python3-wcwidth-0.2.5-3.el8.noarch python3-zipp-0.5.1-3.el8.noarch python36-oci-cli-3.43.1-1.el8.noarch Complete! A copy of this installation log can be found at/var/log/oracle/JMSInstallScript/JMSInstallScriptLogs-<date>.log Removing the temporary files.
The log files are located in the /var/log/oracle/JMSInstallScript/
directory.