Install and Set Up a Cloud Agent

You must perform the following tasks to set up a Cloud agent to orchestrate the data movement operation.

  1. Install a Cloud agent on a host in your data center. For information, see Install Cloud Agents in Installing and Managing Oracle Management Cloud Agents.
    After you install the Cloud agent, the agent host is automatically added as an entity in Oracle Management Cloud.
  2. Enable Oracle Management Cloud – Enterprise Edition on the agent host entity. For information, see Enable License Editions in Getting Started with Oracle Management Cloud.
  3. Add a credential store. For information, see Add a Credential Store in Installing and Managing Oracle Management Cloud Agents.
  4. Go to the Cloud agent installation directory and set the following properties:
    <AGENT_BASE_DIR>/agent_inst/bin/omcli setproperty agent -name OrchestrationExecutionOutputLimit -value 4096
    <AGENT_BASE_DIR>/agent_inst/bin/omcli setproperty agent -allow_new -name OrchestrationExecutionTimeLimit -value 23h
    <AGENT_BASE_DIR>/agent_inst/bin/omcli setproperty agent -allow_new -name _OrchestrationExecutionOutputLimit.units -value MC
    <AGENT_BASE_DIR>/agent_inst/bin/omcli  setproperty agent -allow_new -name _senderManagerFrequencyReceiverHeartBeatDelay -value 1
  5. Create and save a JSON file with the credential information. For example, you can save it with the file name: cred.json.
  6. Add host credentials on the Cloud agent using the <AGENT_BASE_DIR>/agent_inst/bin/omcli add_credentials agent -credential_file <path-to-the-credentials-json-file> command:
    [
      {
        "entity":"omc_host_linux.<HOST_NAME>",
        "name":"<HOST_NAME>-HostSSHPwdCreds",
        "type":"HostSSHPwdCreds",
        "globalName":"<agent_credential_name>",
        "description":"SSH Credential for the host entity",
        "properties":[
          { "name":"USERNAME", "value":"CLEAR[<YourUsername>]"},
          { "name":"PASSWORD", "value":"CLEAR[<YourPassword>]"}
        ]
      }
    ]

    Important: Make a note of the agent_credential_name as you'll need it when submitting the source database details on the Data Movement page.

  7. Restart the Cloud agent using the following omcli commands:
    <AGENT_BASE_DIR>/agent_inst/bin/omcli stop agent
    <AGENT_BASE_DIR>/agent_inst/bin/omcli start agent

cURL Requirement

curl-7.19.7-46.el6.x86_64 or later version is required on the host where the Cloud agent is running to export dump files to Object Storage.