Adding a Module to a Group
Add a module to the group manifest to install the selected module stream profiles and enable the module on all instances in an Oracle Linux group in OS Management Hub.
- Open the navigation menu and click Observability & Management. Under OS Management Hub, click Groups.
- Under List scope, select the compartment that contains the group you're interested in.
- Click the name of the group.
- Under Resources, click Group manifest.
- On the Group modules tab, click Add module.
-
Define the job that adds the module:
Name: Enter a name for the job. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the instance. Avoid entering confidential information.
Description: (Optional) Enter a description for the job. Avoid entering confidential information.
Select a module: Select the module to add to the group.
Module stream: Select the module stream to enable on the members of the group.
Select profile: (Optional) Select the module stream profiles to install on the members of the group.
Schedule: Choose when to run the job.
- Run immediately: Select this option to run the job now.
- Schedule: Select this option to run the job at a future date and time. Click the calendar icon to select a date and time.
- Automatic Retry: When selected, if the initial execution of the job fails, the service retries the job up three times. Each retry is five minutes apart.
-
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 Add.
Use the oci os-management-hub managed-instance-group enable-module-stream command and required parameters to enable a module stream on a group. After the stream is enabled, it's possible to install the profiles that are contained by the stream. Attempting to enable a different stream for a module that already has a stream enabled results in an error.
oci os-management-hub managed-instance-group enable-module-stream --group-id ocid --module-name name --stream-name name [OPTIONS]
Use the oci os-management-hub managed-instance-group install-module-profile command and required parameters to install a module stream profile on a group. The stream must be enabled before a profile can be installed. If a module stream defines multiple profiles, each one can be installed independently.
oci os-management-hub managed-instance-group install-module-profile --group-id ocid --module-name name --stream-name name --profile-name name [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the EnableModuleStreamOnManagedInstanceGroup operation to enable module stream on a managed instance group. After the stream is enabled, it is possible to install the profiles that are contained by the stream. Enabling a stream that's already enabled will succeed. Attempting to enable a different stream for a module that already has a stream enabled results in an error.
Run the InstallModuleStreamProfileOnManagedInstanceGroup operation to install packages on the instances that are members of a group. The stream must be enabled before a profile can be installed. If a module stream defines multiple profiles, each one can be installed independently.