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.
However, you might also want the local ULN mirror to service clients that use different OS releases or other platforms. In this case, you would need to subscribe to any other channels that are required by those clients.
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 public Oracle Linux yum server. Where possible, set up mirrors of Oracle Linux yum server repositories instead.
Configuring 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 Prerequisities for a ULN Local Mirror. Also, you must have:
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
.
Localizing 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.
If the mirror serves clients running different OS versions or hardware architectures, subscribe to all required channels, including channels the host server itself doesn't need. Configure the host server to prevent its own channel subscriptions from being updated with packages targeted for other clients by disabling those channels locally.
Suppose that the server hosting the mirror is an Oracle Linux 10 system but the mirror is also serving Oracle Linux 9 clients on the x86_64 platform. The following steps would localize the Oracle Linux 10's channel subscriptions such that only those channels applicable to Oracle Linux 10 are enabled when not updating the ULN mirror: