Registering an OCI Instance

Register an OCI instance with OS Management Hub by enabling the Oracle Cloud Agent service plugin and selecting a profile.

Important

OS Management Hub requires minimum Oracle Cloud Agent version 1.40. For instances using platform images released before April 2024, upgrade the Oracle Cloud Agent to 1.40 or later.

For more information about how to enable and run plugins, see Managing Plugins with Oracle Cloud Agent.

See also Video: Creating and Registering OCI Compute Instances.

Before You Begin

Before you register an OCI instance with OS Management Hub:

Note

Turn off the Console's Redwood preview when following these procedures. Otherwise, the steps won't match the interface. See Opting In and Out of the New Experience.

Existing OCI Instance

  1. Install the Oracle Cloud Agent software, if it's not already installed. Verify the version is 1.40.0 or later.
  2. Open the navigation menu, select Compute, and then select Instances.
  3. Select the instance that you want to register.
  4. Select the Oracle Cloud Agent tab.
  5. Enable the OS Management Hub Agent.
  6. Select a profile to use to register the instance.

    You can select the service-provided profile in the root compartment or a user-created profile.

    Note

    For custom images or instances upgraded with Leapp, select the OS version and architecture of the instance to identify a valid profile for the instance.
  7. Wait up to 10 minutes for the Oracle Cloud Agent to enable the OS Management Hub Agent plugin.

Verify Instance Registration and Details

Verify the instance registered with OS Management Hub.

  1. Open the navigation menu and select Observability & Management. Under OS Management Hub, select Instances.
  2. Under List scope, select the compartment that contains the instance.
  3. Confirm the instance appears in the table, and verify the status is Active.
    Tip

    To troubleshoot registration issues, see Registration Failed for Instance or Management Station.

  4. Select the name of the instance to view its details.

    Under Instance information, you can view details about the instance, such as the registration profile it used to register with the service and whether it's a member of a group or lifecycle environment, if applicable.

    Note

    The instance might take a few minutes to report the initial package and module inventory to the service.