Setting Up a Local ULN Mirror
A system that functions as a local ULN server mirrors channels in the Unbreakable Linux Network.
When you register an Oracle Linux system with ULN, that system is automatically subscribed to default channels in ULN, depending on the system's OS release and architecture. As such, the system can become a mirror to service clients that have the same OS and platform as the mirror.
Note:
Mirroring ULN channels is often slower than mirroring yum repositories. Only consider creating a ULN mirror for channels that aren't otherwise available on the Oracle Linux yum server. Where possible, set up mirrors of Oracle Linux yum server repositories instead.How to Configure the Local ULN Mirror
Setting up the system to be a local ULN mirror involves replicating channels from Unbreakable Linux Network.
The ULN mirror must meet the requirements described in Prerequisites for the Local Distribution Mirror. Also, you must have completed the following tasks:
For each step in this procedure, you can use either the ULN web interface or the
uln-channel
command. To display options that you can use with the
uln-channel
command, type uln-channel -h
.
How to Localize Subscriptions for the ULN Mirror Server
Localizing the ULN mirror's channel subscriptions for the server hosting the mirror prevents the mirror's packages incompatible with the host system from being updated that would cause package collisions and damage package dependencies.
This task is required for ULN mirrors that serve heterogeneous clients. In this case, the mirror subscribes to multiple channels, including channels the host server itself doesn't need. You would need to configure the host server to prevent its own channel subscriptions from being updated with packages targeted for other clients.
Suppose that the server hosting the mirror is an Oracle Linux 9 system but the mirror is also serving Oracle Linux 8 clients on the x86_64 platform. The following steps would localize the Oracle Linux 9's channel subscriptions such that only those channels applicable to Oracle Linux 9 are enabled when not updating the ULN mirror: