Creating a Profile

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

Note

This procedure isn't used to create management station profiles. Instead, the station profile is automatically created when you create the station.
  • Add basic details

    Enter the identifying information for the profile:

    • Name: Enter a unique name for the profile. The name must be unique within the tenancy. You can change the name at any time. Avoid entering confidential information.
    • Description: (Optional) Enter a description for the profile. Avoid entering confidential information.

    Select location

    Select the instance location for the profile:

    • Oracle Cloud Infrastructure: Select this for OCI instances.
    • On premises or third-party cloud: 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.

    Select OS

    Define the OS version and architecture of instances you will register with the profile:

    • OS vendor: Select the vendor of the OS. For example, Oracle.

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

    • Architecture: Select the architecture for the OS. For example, x86_64.

    Set as default (optional)

    If creating the profile in the root compartment, you can select Set as default to identify it as a default profile for OCI instance registration.

    Select profile type

    Software source profile (Oracle Linux only)

    1. Select Software source for type.
    2. Select the compartment that contains the software source.
    3. Use the search box to find software sources.
    4. Select the software sources to attach.
      Tip

      Don't see a software source? You might need to change the compartment or replicate a vendor software source.

    Group profile

    1. Select Group for type.
    2. Select the compartment that contains the group.
    3. Use the search box to find a group.
    4. Select the group.

    Lifecycle environment profile

    1. Select Lifecycle environment for type.
    2. Select the compartment that contains the lifecycle.
    3. Use the search box to find a lifecycle.
    4. Select the lifecycle.
    5. Select a lifecycle stage.

    Tagging (optional)

    Expand Show advanced options and then 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.

    Review and create

    Review the details of the profile. Make any changes as needed, and then select Create.

    View the new profile in the Profiles list page.

  • 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.