Removing a Module from a Group

Remove a module from the group manifest to uninstall all installed module stream profiles and disable the module on all instances in an Oracle Linux group in OS Management Hub.

If you encounter an error, see Can't Remove Module from a Group.

    1. Open the navigation menu and click Observability & Management. Under OS Management Hub, click Groups.
    2. Under List scope, select the compartment that contains the group you're interested in.
    3. Click the name of the group.
    4. Under Resources, click Group Manifest.
    5. Click the Group modules tab.
    6. Select the modules to remove from the group, and then click Remove module.
    7. Enter the details for the job that removes 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.

      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.

    8. Click Remove.
  • Use the oci os-management-hub managed-instance-group remove-module-profile command and required parameters to remove a module stream profile that's installed on a group. If a module stream is provided, rather than a fully qualified profile, all profiles that have been installed for the module stream will be removed.

    oci os-management-hub managed-instance-group remove-module-profile --group-id ocid --module-name name --stream-name name --profile-name name [OPTIONS]

    Use the oci os-management-hub managed-instance-group disable-module-stream command and required parameters to disable a module stream on a group. After the stream is disabled, it's no longer possible to install the profiles that are contained by the stream. All installed profiles must be removed prior to disabling a module stream.

    oci os-management-hub managed-instance-group disable-module-stream --group-id ocid --module-name name --stream-name name [OPTIONS]

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

  • Run the DisableModuleStreamOnManagedInstanceGroup operation to disable a module stream on a group. After the stream is disabled, it's no longer possible to install the profiles that are contained by the stream. All installed profiles must be removed prior to disabling a module stream.

    Run the RemoveModuleStreamProfileFromManagedInstanceGroup operation to remove a module stream profile that's installed on a group. If a module stream is provided, rather than a fully qualified profile, all profiles that have been installed for the module stream will be removed.