Difference between revisions of "SUSE Manager/rhel-minor-version"

From MicroFocusInternationalWiki
Jump to: navigation, search
(Cloning channel per RHEL update level)
(Cloning channel per RHEL update level)
Line 1: Line 1:
 
=== Cloning channel per RHEL update level ===
 
=== 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.
 
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.
 
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.
Line 10: Line 14:
  
 
Then you can use the spacewalk-create-channel command :  
 
Then you can use the spacewalk-create-channel command :  
<pre># spacewalk-create-channel --user=Admin --server=localhost --sourceChannel=res5-x86_64 --version=5  
+
<pre># 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
 
--update=u8 --release=Server --arch=x86_64 --destChannel=rhel-5.8-x86_64 --clone
 
Password:
 
Password:
Line 23: Line 27:
 
For detailed information use the manual of the spacewalk-create-channel command :  
 
For detailed information use the manual of the spacewalk-create-channel command :  
 
<pre># man spacewalk-create-channel</pre>
 
<pre># man spacewalk-create-channel</pre>
 +
 +
'''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 https://access.redhat.com/site/articles/3078 for the released date of RHEL distros) :
 +
 +
- Here we use the released date of 6.4 to create a 6.3 channel :
 +
<pre># 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</pre>
 +
 +
For detailed information use the manual of the spacewalk-clone-by-date command :
 +
<pre># man spacewalk-clone-by-date</pre>
 +
spacewalk-clone-by-date

Revision as of 14:09, 24 February 2014

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
Password:
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. https://fate.suse.com/315258)

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 https://access.redhat.com/site/articles/3078 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

spacewalk-clone-by-date