-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace SMT mirroring file with RMT mirroring file
And adjusted for SLL7 jsc#PED-7585
- Loading branch information
Showing
4 changed files
with
119 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE section | ||
[ | ||
<!ENTITY % entities SYSTEM "generic-entities.ent"> | ||
%entities; | ||
]> | ||
|
||
<section xml:id="mirror-repositories-with-rmt" xml:lang="en" | ||
xmlns="http://docbook.org/ns/docbook" version="5.1" | ||
xmlns:xi="http://www.w3.org/2001/XInclude" | ||
xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<title>Mirroring &productname; repositories with &rmt;</title> | ||
<info> | ||
<dm:docmanager xmlns:dm="urn:x-suse:ns:docmanager"> | ||
<dm:bugtracker></dm:bugtracker> | ||
<dm:translation>no</dm:translation> | ||
</dm:docmanager> | ||
</info> | ||
|
||
<para> | ||
Use this procedure to mirror the &productname; repositories for &rhel; &productnumber; | ||
and CentOS Linux &productnumber;. | ||
</para> | ||
<itemizedlist> | ||
<title>Requirements</title> | ||
<listitem> | ||
<para> | ||
<xref linkend="configure-rmt-server"/> | ||
</para> | ||
</listitem> | ||
<listitem> | ||
<para> | ||
The &rmt; server has enough storage available for repository mirroring. | ||
</para> | ||
</listitem> | ||
<listitem> | ||
<para> | ||
Your organization credentials appear correctly in <filename>/etc/rmt.conf</filename>. | ||
</para> | ||
</listitem> | ||
<listitem> | ||
<para> | ||
You have a &productname; subscription activated in the &scc;. | ||
</para> | ||
</listitem> | ||
</itemizedlist> | ||
|
||
<procedure xml:id="pro-mirror-repositories-with-rmt"> | ||
<title>Mirroring &productname; repositories with &rmt;</title> | ||
<step> | ||
<para> | ||
On the &rmt; server, update the available product and repository metadata: | ||
</para> | ||
<screen>&prompt.root;<command>rmt-cli sync</command></screen> | ||
<para> | ||
Synchronization is also performed automatically by | ||
<systemitem>rmt-server-sync.timer</systemitem>. You can check the status and | ||
the next scheduled synchronization time with the following command: | ||
</para> | ||
<screen>&prompt.root;<command>systemctl status rmt-server-sync.timer</command></screen> | ||
</step> | ||
<step> | ||
<para> | ||
Enable &productname; using the product ID <literal>1251</literal>: | ||
</para> | ||
<screen>&prompt.root;<command>rmt-cli product enable 1251</command></screen> | ||
<para> | ||
This enables all of the default repositories associated with the product. | ||
</para> | ||
</step> | ||
<step> | ||
<para> | ||
If your subscription includes the &ha; extension, enable the extension using | ||
the product ID <literal>1252</literal>: | ||
</para> | ||
<screen>&prompt.root;<command>rmt-cli product enable 1252</command></screen> | ||
<tip role="compact"> | ||
<para> | ||
To check whether the &ha; extension is available, run this command: | ||
<command>rmt-cli products list --all --name="Liberty" --version=&productnumber;</command> | ||
</para> | ||
</tip> | ||
</step> | ||
<step> | ||
<para> | ||
If you also need the <literal>Source</literal> or <literal>Debug</literal> | ||
repositories, find and enable them with the following commands: | ||
</para> | ||
<screen>&prompt.root;<command>rmt-cli repo list --all | grep RES-</command> | ||
&prompt.root;<command>rmt-cli repo enable <replaceable>REPO_ID</replaceable></command></screen> | ||
</step> | ||
<step> | ||
<para> | ||
Start package mirroring for the enabled repositories: | ||
</para> | ||
<screen>&prompt.root;<command>rmt-cli mirror</command></screen> | ||
<para> | ||
Packages are downloaded to the &rmt; server once per day by | ||
<systemitem>rmt-server-mirror.timer</systemitem>. You can check the status | ||
and the next scheduled download time with the following command: | ||
</para> | ||
<screen>&prompt.root;<command>systemctl status rmt-server-mirror.timer</command></screen> | ||
</step> | ||
</procedure> | ||
<itemizedlist> | ||
<title>More information</title> | ||
<listitem> | ||
<para> | ||
<link xlink:href="&dsc-sles;-15/html/SLES-all/cha-rmt-mirroring.html"> | ||
Mirroring repositories on the &rmt; server</link> | ||
</para> | ||
</listitem> | ||
</itemizedlist> | ||
</section> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters