Creating a Profile
Create a profile in OS Management Hub to register an instance with the service.
For management stations, a profile is created when you create the management station. You can't manually create the profile.
Before creating a profile:
- For software source profiles, ensure you have added vendor software sources.
- For group profiles, ensure you have created the group.
- For lifecycle environment profiles, ensure you have created the lifecycle environment.
See Understanding Profiles for more information about profile types.
- Under List scope, select the compartment to create the profile in.
- Click Create.
-
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.
- (Optional) Set the profile as the default (if in the root compartment).
-
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.
-
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.
-
-
Select the type of profile:
- Software source
- Compartment: Select the compartment containing the software source.
-
Software sources: Select the software sources to attach to the profile.
Note
If you don't see vendor software sources in the selected compartment. You might need to replicate the software sources.
- 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.
- Software source
-
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.
- 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.