On April 23, 2025, OS Management reaches end of life (EOL). Effective now, the service is no longer available to you in regions where you are not already using OS Management, or to new users with new tenancies. Before the EOL date, we recommend that you migrate your managed instances to the OS Management Hub service. If you are an Oracle Autonomous Linux user, see Important Maintenance Event. For more information, see the Service Change Announcement.
OS Management uses software sources to provide packages to instances, and to track the available updates to those packages.
A software source is simply a collection of packages. Software sources enable you to control which packages can be installed on instances without having to manually log in and configure the repositories on each instance.
Oracle Linux 8 also uses software sources to provide module streams to instances. For
more information, see Managing Module Streams and Profiles.
Important
Software sources are available only for Oracle Linux instances at
this time.
The following tasks for managing software sources are covered in this topic:
Adding (attaching) software sources to managed instances and managed instance
groups
Removing (detaching) software sources from managed instances and managed instance
groups
Creating custom software sources
Deleting software sources
About Software Sources
As part of the OS Management service, standard software
sources are provided in the root compartment of the tenancy. The standard software
sources are linked to the standard upstream repositories for the operating system.
When OS Management is enabled for an instance, the default
software sources for the operating system are added to the instance. You can add or
remove software sources as needed.
Software Sources for Oracle Linux ๐
Standard software sources are either parent (or base) sources or child sources. In
addition to the standard software sources, you can create your own custom software sources.
Parent Software Source
The main software source for an Oracle Linux release is nominated as the
parent software source. An instance can only have one parent software
source, but any number of child sources.
Child Software Sources
A child software source usually provides packages that are not available
in the base software source.
Software Source Examples
Parent software source: Oracle Linux 7 Latest (x86_64).
Child software source: Oracle Linux 7 Addons (x86_64).
Child software source: Oracle Linux 7 Development Packages (x86_64).
Important
The parent source must match the major release of the
image used in the instance (for example, Oracle Linux 7
is a major release). Applying a parent or child source
from one major release to another major release is not
supported. For example, you cannot add the Oracle Linux
8 parent to an Oracle Linux 7 instance.
The OS Management service does not currently support moving
from one major release to the next major release. However,
the OS Management service does support moving from one minor
release to another minor release. For example, you can move
from Oracle Linux 7 Update 6 to Oracle Linux 7 Update 7. You
can manage these updates as follows:
Assign the parent labeled Latest
to the instance or managed instance group.
Instances or groups then update to the latest
available release when using this parent source.
You can automate these updates by defining a
recurring scheduled job or performing the
operation as a one-time event. For more
information about Oracle Linux channel naming, see
Oracleยฎ Linux Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7.
Custom Software Source
Custom software sources can be derived from the standard software sources
or other custom sources. Custom sources enable you to create specific
sets of packages that you want to manage and apply to instances. For
example, you can create a software source with a custom package list
tailored for your Bring Your Own Image (BYOI) images.
Important
You cannot upload your own packages from private yum repositories or
mirrors to custom software sources. If you use private yum
repositories, you can configure the OS Management service to ignore them, preventing
the OS Management Service Agent plugin from overwriting the settings
for those repositories. For more information, see Ignoring Private Repositories.
Adding Software Sources ๐
Tip
If you are adding a software source that is replacing an older source,
be sure to remove the older software source that is no longer required.
Open the navigation menu and select Compute. Under OS Management, select Managed Instance Groups.
Under List Scope, select the compartment that contains the managed
instance group where you want to add the software source.
On the row of the managed instance group, click the Actions icon (three dots)
and click Add Software Source.
In the Add Software Sources panel, find and select the software sources
you want to add.
Click Add Software Source.
Removing Software Sources ๐
Note
Removing a software source does not remove packages that were installed
from the software source on your system. For example, suppose you are moving from UEK R5
to UEK R6. You add the software source for UEK R6 and then remove the software source
for UEK R5. Any installed UEK R5 packages are still on your system. Those packages,
however, are no longer updated because the software source has been removed and thus
could appear in events, such as security scans. For information about removing packages,
see Removing Packages.
Open the navigation menu, select Compute, and then select Instances.
In the List Scope section, select the compartment that contains the
instance.
Find the instance and click its name.
On the instance detail page, under Resources, click OS
Management.
Click the Actions icon (three dots) and click View OS Management
Details.
On the Managed Instance Details page, click Software
Sources.
In the Software Sources table, select the software sources to be
removed.
Click Remove.
In the Remove Software Source dialog box, click Remove to confirm
the action.
Important
If the selected software source is a parent source,
this action removes (detaches) the parent source and all child software
sources from the managed instance.
Click Close after the software sources are removed.
Open the navigation menu and select Compute. Under OS Management, select Software Sources.
Under List Scope, select the compartment that contains the software
source.
Find the software source and click its name.
Under the Available Packages table, click Add Package.
In the Add Package panel, under Choose a Software Source click
Select Software Source to select a different software source to use
for adding packages to the custom software source.
In the Select Software Source panel, choose the Compartment from
which to select the software source.
From the table, select an available software source. The packages for the
selected source source are then populated on the Add Package panel.
Open the navigation menu and select Compute. Under OS Management, select Software Sources.
In the List Scope section, select the compartment that contains the
software source.
Find the software source you want to delete and select it.
Click Delete.
In the Delete Software Source dialog box, click Delete to
confirm the action.
Note
If a parent software source has any child software
sources, they must be deleted before the parent software source can be
deleted.
Ignoring Private Repositories ๐
Note
You cannot use your own private yum repositories or mirrors with the OS Management service. If you have private yum repositories, you
can configure the OS Management service to ignore them,
thus preventing the OS Management Service Agent plugin from overwriting the settings
for those repositories.
After the Oracle Cloud Agent restarts, the OS Management Service Agent plugin removes the
*.repo.osms-backup extension from those repositories
and ignores anything in the yum.repo.d directory that
matches the repository entries in the ignored_repos.conf
file.
Note
OS Management features, such as scheduling updates, do not work with
private repositories.