Skip to content
Browse files

Update documentation

  • Loading branch information...
1 parent 63bcb7c commit abd2a4075ff0de6520143b783adba178ad10ed93 @dagwieers committed
Showing with 88 additions and 73 deletions.
  1. +4 −1 ChangeLog
  2. +84 −72 docs/redhat-network.txt
View
5 ChangeLog
@@ -1,4 +1,4 @@
-* 0.8.8 - Summertime - released 01/08/2011
+* 0.8.8 - Summertime - released 29/08/2011
- Renamed YAMCONFIG to MREPOCONFIG
- Updated distribution config files
- Added RHEL6 product names to gensystemid
@@ -8,6 +8,9 @@
- Improved comps.xml path lookup (Brian Long)
- Add default level to the SELinux security context (Yury V. Zaytsev)
- Clean up up2date code to not rely on /etc/sysconfig/rhn/sources anymore
+- Get rid of rhpl dependency (David Cantrell)
+- Change default options to use --update and --database
+- Always generate metadata for 'all' repository
* 0.8.7 - Way Overdue - released 20/03/2010
- Add pyOpenSSL dependency to RPM spec file (Bryan Washer)
View
156 docs/redhat-network.txt
@@ -1,6 +1,6 @@
= Using RHN support in mrepo
Dag Wieers <dag@wieers.com>
-0.8.4svn, 20 august 2007
+0.8.8svn, 29 august 2011
// Please send me improvements to this document.
@@ -21,12 +21,12 @@ entitlements to do so) by using the gensystemid tool that comes with
mrepo, eg.
----
-gensystemid -r 4AS -a x86_64 /var/mrepo/rhel4as-x86_64
+gensystemid -r 6Server -a x86_64 /var/mrepo/rhel6s-x86_64
----
-The tool will create a new system called _<hostname>-4AS-x86_64-mrepo_,
+The tool will create a new system called _<hostname>-6Server-x86_64-mrepo_,
register this system on RHN and create a systemid file in
-_/var/mrepo/rhel4as-x86_64_
+_/var/mrepo/rhel6s-x86_64_
== RHN configuration
@@ -34,17 +34,17 @@ Having done that, you can enable multiple channels for this systemid
on the RHN website. And then configure mrepo to use these channels, eg.
----
-[rhel4as]
-name = Red Hat Advanced Server $release U2 ($arch)
-release = 4
-arch = i386
-iso = RHEL4-U2-i386-AS-disc?.iso
-updates = rhns:///rhel-i386-as-4
-extras = rhns:///rhel-i386-as-4-extras
-hwcert = rhns:///rhel-i386-as-4-hwcert
-sdk = rhns:///rhel-i386-as-4-sdk
-rhaps = rhns:///rhel-4-as-i386-rhaps-2
-rhds = rhns:///rhel-4-as-i386-rhds-2.1
+[rhel6s]
+name = Red Hat Enterprise Linux Server 6.1 ($arch)
+release = 6
+arch = i386 x86_64
+iso = rhel-server-6.1-$arch-dvd.iso
+updates = rhns:///rhel-$arch-server-6
+ha = rhns:///rhel-$arch-server-ha-6
+lb = rhns:///rhel-$arch-server-lb-6
+optional = rhns:///rhel-$arch-server-optional-6
+rs = rhns:///rhel-$arch-server-rs-6
+supplementary = rhns:///rhel-$arch-server-supplementary-6
----
After that, mrepo should be able to successfully log on and download
@@ -129,41 +129,55 @@ UUID=$(uuidgen) ; /bin/echo -e "uuid[comment]=Universally Unique ID for this ser
== List of RHN channels
For a complete and up-to-date list of available channels, check the RHN
-website. This list has been compiled with only EL2.1, EL3, EL4 and
-i386, x86_64 archs.
-
- RHEL4
- rhel-$arch-XX-4
- rhel-$arch-XX-4-beta
- rhel-$arch-XX-4-extras
- rhel-$arch-XX-4-extras-beta
- rhel-$arch-as-4-hwcert (only for as)
- rhel-$arch-XX-4-sdk
- rhel-4-XX-$arch-rhaps-2
- rhel-4-XX-$arch-rhaps-2-beta
- rhel-4-XX-$arch-rhds-2.1
- rhel-4-XX-$arch-rhds-2.1-beta
-
- RHEL3
- rhel-$arch-XX-3
- rhel-$arch-XX-3-beta
- rhel-$arch-XX-3-devsuite
- rhel-$arch-XX-3-devsuite-beta
- rhel-$arch-XX-3-extras
- rhel-$arch-XX-3-extras-beta
- rhel-$arch-as-3-hwcert (only for as)
- rhel-3-XX-i386-rhaps-1 (only for i386)
- rhel-3-XX-$arch-rhaps-beta
- rhel-3-XX-i386-rhds-2 (only for i386)
-
- RHEL2.1
- redhat-advanced-server-i386 (only for as)
- redhat-ent-linux-i386-es-2.1 (only for es)
- rhel-i386-XX-2.1-beta
-
-Where XX = as or es
-
-Please send updates on these.
+website. Here is a list of what we encountered, please send in more.
+
+ RHEL6 Server
+ rhel-$arch-server-6
+ rhel-$arch-server-ha-6
+ rhel-$arch-server-lb-6
+ rhel-$arch-server-optional-6
+ rhel-$arch-server-rs-6
+ rhel-$arch-server-supplementary-6
+
+ RHEL5 Server
+ rhel-$arch-server-5
+ rhel-$arch-server-fastrack-5
+ rhel-$arch-server-hts-5
+ rhel-$arch-server-supplementary-5
+ rhel-$arch-server-vt-5
+ rhel-$arch-server-productivity-5
+ rhn-tools-rhel-$arch-server-5
+
+ RHEL4 AS
+ rhel-$arch-as-4
+ rhel-$arch-as-4-beta
+ rhel-$arch-as-4-extras
+ rhel-$arch-as-4-extras-beta
+ rhel-$arch-as-4-hwcert (only for AS)
+ rhel-$arch-as-4-sdk
+ rhel-4-as-$arch-rhaps-2
+ rhel-4-as-$arch-rhaps-2-beta
+ rhel-4-as-$arch-rhds-2.1
+ rhel-4-as-$arch-rhds-2.1-beta
+
+ RHEL3
+ rhel-$arch-as-3
+ rhel-$arch-as-3-beta
+ rhel-$arch-as-3-devsuite
+ rhel-$arch-as-3-devsuite-beta
+ rhel-$arch-as-3-extras
+ rhel-$arch-as-3-extras-beta
+ rhel-$arch-as-3-hwcert (only for AS)
+ rhel-3-as-i386-rhaps-1 (only for i386)
+ rhel-3-as-$arch-rhaps-beta
+ rhel-3-as-i386-rhds-2 (only for i386)
+
+ RHEL2.1
+ redhat-advanced-server-i386 (only for AS)
+ redhat-ent-linux-i386-es-2.1 (only for ES)
+ rhel-i386-XX-2.1-beta
+
+Please send me updates on these.
== Ignore packages you already have elsewhere
@@ -189,14 +203,14 @@ fi
for dist in $dists; do
echo "Cleaning up $dist"
- ### Remove dangling links
- for link in $(find "$srcdir/$dist/updates" -type l); do
- if [ ! -r "$(readlink $link)" ]; then
- rm -f $link
- fi
- done
+ ### Remove dangling links
+ for link in $(find "$srcdir/$dist/updates" -type l); do
+ if [ ! -r "$(readlink $link)" ]; then
+ rm -f $link
+ fi
+ done
- ### Relink existing files
+ ### Relink existing files
for rpm in $wwwdir/$dist/disc?/RedHat/RPMS/*.rpm; do
file="$(basename $rpm)"
dstfile="$srcdir/$dist/updates/$file"
@@ -239,14 +253,12 @@ xmlrpc.rhn.redhat.com
So the following two lines are identical:
- updates = rhns:///rhel-i386-as-4
- updates = rhns://xmlrpc.rhn.redhat.com/rhel-i386-as-4
+ updates = rhns:///rhel-i386-as-4
+ updates = rhns://xmlrpc.rhn.redhat.com/rhel-i386-as-4
And you can use a satellite server by doing:
- updates = rhns://your.own.satellite/rhel-i386-as-4
-
-(Please let me know if this works or not !)
+ updates = rhns://your.own.satellite/rhel-i386-as-4
== Using a single systemid
@@ -268,21 +280,21 @@ But not from the ES or WS channels and not from different architectures.
== RHN documentation and references
A useful list of RHN references:
- Red Hat: RHN XMLRPC API
- https://rhn.redhat.com/rpc/api/errata/
+ Red Hat: RHN XMLRPC API
+ https://rhn.redhat.com/rpc/api/errata/
- kickstart-list: RHN XMLRPC API
- https://www.redhat.com/archives/kickstart-list/2005-December/msg00021.html
+ kickstart-list: RHN XMLRPC API
+ https://www.redhat.com/archives/kickstart-list/2005-December/msg00021.html
- RHbz 162210: [RFE] New up2date command-line options
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162210
+ RHbz 162210: [RFE] New up2date command-line options
+ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162210
- RHbz 179721: [RFE] No documentation for (RHN) up2date XMLRPC API methods
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179721
+ RHbz 179721: [RFE] No documentation for (RHN) up2date XMLRPC API methods
+ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179721
And how to configure mrepo for RHN access:
- Installing YAM 0.8.0 on Red Hat Enterprise Linux 4
- http://wiki.garylaw.net/doku.php?id=technical:unix:linux:yam
+ Installing YAM 0.8.0 on Red Hat Enterprise Linux 4
+ http://wiki.garylaw.net/doku.php?id=technical:unix:linux:yam
// vim: set syntax=asciidoc:

0 comments on commit abd2a40

Please sign in to comment.
Something went wrong with that request. Please try again.