Creating a Profile

Create a profile in OS Management Hub to register an instance with the service.

Note

For management stations, a profile is created when you create the management station. You can't manually create the profile.

Before creating a profile:

See Understanding Profiles for more information about profile types.

  • To create a software source, lifecycle, or group profile, follow these steps:

    1. Open the navigation menu and click Observability & Management. Under OS Management Hub, click Profiles.
    2. Under List scope, select the compartment to create the profile in.
    3. Click Create.
    4. Enter the identifying information for the profile:
      • Name: Enter a name for the profile. You can add or change the name later. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the profile. Avoid entering confidential information.
      • Description: (Optional) Enter a description for the profile. Avoid entering confidential information.
    5. (Optional) Set the profile as the default (if in the root compartment).
    6. Select the instance location for the profile:
      • Oracle Cloud Infrastructure: Select this for OCI instances.
      • Other: Select this for on-premises or third-party cloud instances.
        • Management station: Select the management station to associate with the profile. This only applies to on-premises or third-party cloud instances. The management station provides the instance access to software sources.
    7. Specify the OS and architecture information:
      • OS vendor: Select the OS vendor. For example, Oracle.

      • OS version: Select the OS version. For example, Oracle Linux 8.

      • Architecture: Select the system architecture. For example, x86_64.

    8. Select the type of profile:
      • Software source
      • Group
        • Compartment: Select the compartment that contains the group.
        • Groups: Select the group to associate with the profile.
      • Lifecycle environment
        • Compartment: Select the compartment that contains the lifecycle environment.
        • Lifecycle environments: Select the lifecycle environment to associate with the profile.
        • Lifecycle stage: Select the lifecycle stage within the lifecycle environment to associate with the profile.

    9. Show advanced options: Click to add tags to this resource.

      If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, ask an administrator or skip this option. You can apply tags later.

    10. Click Create.
    Use the profile to register instances with OS Management Hub.
  • Use the oci os-management-hub profile create-software-source-profile command and required parameters to create a profile for a set of software sources.

    oci os-management-hub profile create-software-source-profile --arch-type architecture --compartment-id ocid --display-name profile-name --os-family OS --software-source-ids software-source-ocids --vendor-name vendor [OPTIONS]

    Use the oci os-management-hub profile create-group-profile command and required parameters to create a profile for a group.

    oci os-management-hub profile create-group-profile --compartment-id ocid --display-name profile-name --group-id ocid [OPTIONS]

    Use the oci os-management-hub profile create-lifecycle-profile command and required parameters to create a profile for a lifecycle environment.

    oci os-management-hub profile create-lifecycle-profile --compartment-id ocid --display-name profile-name --stage-id ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the CreateProfile operation to create a profile for a set of software sources, a group, or a lifecycle environment.