SUSE Manager/rhel-minor-version

From MicroFocusInternationalWiki
Revision as of 14:09, 24 February 2014 by Gameboy974 (Talk | contribs) (Cloning channel per RHEL update level)

Jump to: navigation, search

Cloning channel per RHEL update level

You can create a clone of the SUSE Expanded Support channels for RHEL as per the RHEL update level, for example RHEL 5.8 with the spacewalk-create-channel utility.

To achieve this we have two methods :

First method with "spacewalk-create-channel" :

First you need to install the spacewalk-remote-utils package which is in the SLES11-SP2-SUSE-Manager-Tools channels. Here we will install it locally on the SUSE Manager server but you can install and use it on a remote server.

Make sure that the channel SLES11-SP2-SUSE-Manager-Tools is enabled :

# zypper mr -e SLES11-SP2-SUSE-Manager-Tools

Install :

# zypper install spacewalk-remote-utils

Then you can use the spacewalk-create-channel command :

# spacewalk-create-channel --user=Admin --server=localhost --sourceChannel=res5-x86_64 --version=5 \
--update=u8 --release=Server --arch=x86_64 --destChannel=rhel-5.8-x86_64 --clone
Trying with source channel: res5-x86_64
Reusing rhel-5.8-x86_64 as destination channel
3585 packages in source file to push.
Pushing 1667 packages, please wait.
Successfully pushed 1667 packages out of 3585

Warning : The packages pushed into the cloned channels are in the original minor update release version, for instance in this example you will not find the latest patches of the RHEL 5.8 in rhel-5.8-x86_64 channel. (cf.

For detailed information use the manual of the spacewalk-create-channel command :

# man spacewalk-create-channel

Second method with "spacewalk-clone-by-date" :

Alternatively, if you want a channel for version 6.X or 5.X, you can create a clone channel that contains packages and errata to the date of released of the 6.X+1 or 5.X+1 versions. (see for the released date of RHEL distros) :

- Here we use the released date of 6.4 to create a 6.3 channel :

# spacewalk-clone-by-date -u Admin -d 2013-02-20 --channels=rhel-x86_64-server-6 \
clone-rhel-x86_64-server-6-3 --channels=res6-x86_64 clone-res6-3-x86_64

For detailed information use the manual of the spacewalk-clone-by-date command :

# man spacewalk-clone-by-date