Set up your service
3Prepare for installation
Sign in to My Services by accessing cloud.oracle.com/sign-in.
Click Launch Oracle Infrastructure Monitoring Cloud Service.
Review the Plan page and identify the hosts where the Gateway and Agents will be deployed in your environment.
Download the Master Installer to a location in your data center accessible from the hosts on which you want to install the Gateway and Cloud Agents.
Copy and save the registration key to a known location.
Extract the contents of the master installer ZIP file: the agent install script and README.
4Deploy Gateway (optional)
Identify a host in your data center with Internet access to the Oracle Management Cloud where the Gateway will be deployed.
Copy the installer script to the host.
Run the installer script if deploying a gateway. For example, on a UNIX system, run:
$ ./AgentInstall.sh AGENT_TYPE=gateway
AGENT_REGISTRATION_KEY=RDvfXJMA6CGdjCLSsRNjA7gNKr
AGENT_BASE_DIR=/u01/software/oracle/gateway_agent
For more information about running the script, refer to Running the AgentInstall Script in Deploying and Managing Oracle Management Cloud Agents.
5Deploy Cloud Agents
Copy the installer script to hosts in your data center where entities to be monitored reside, or on hosts that have connectivity to these entities.
Run the installer script to deploy the cloud agent. For example, on a UNIX system, run:
$ ./AgentInstall.sh AGENT_TYPE=cloud_agent
AGENT_REGISTRATION_KEY=RDvfXJMA6CGdjCLSsRNjA7gNKr AGENT_BASE_DIR=/u01/software/oracle/cloud_agent
GATEWAY_HOST=host.examplegateway.com GATEWAY_PORT=1832 EM_AGENT_NAME=host.example.com:3872
For more information about running the script, refer to Running the AgentInstall Script in Deploying and Managing Oracle Management Cloud Agents.
On the page where you downloaded the installer, click Done.
6Add entities to be monitored
For each agent, use the sample JSON files provided to define your monitored entities (for example, an Oracle Database or Tomcat).
The entity definition JSON files specify the entities that will be monitored by this agent.
The credentials JSON files contain the credentials that will be used to monitor your entities.
One file can have multiple entity or credentials entries and sensitive data can be encrypted.
Add entities to your service using a command line utility and your customized JSON files. For example, on a UNIX system:
$ ./omcli add_entity agent omc_oracle_db_prod1.json \
-credential_file omc_oracle_db_creds.json
See Adding Entities.
Verify the entities addition using the same command line utility. For example, on a UNIX system:
$ ./omcli status_entity agent omc_oracle_db_prod1.json
Your service Welcome Page will activate when at least one Cloud Agent and one host are detected.