Creating Child Channel for Red Hat Base Media in SUSE Manager 3.1
This document (7021393) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Resolution
On the SUSE Manager server:
Mount the ISO desired (RES 7.3 media used for this example)
# mkdir /mnt/res73/
Using the directory created above we can now mount the ISO to that directory:
# mount -o loop /some/path/rhel-server-7.3-x86_64-dvd.iso /mnt/res73/
Next we need to create a child channel (with a relevant name) under the appropriate parent channel (for example: RHEL x86_64 Server 7 for RES7 media and RHEL x86_64 Server 6 for RES6 media) to sync the media to.
This can be accomplished via the SUSE Manager webUI or via spacecmd
webUI method:
1. In the webUI goto Software --> Channels --> Manage Software Channels --> Overview
2. Click on "+ Create Channel" in the upper right corner
3. Fill out the required items (the following is just an example):
Channel Name: RES 7.3 Media
Channel Label: res73-media
Parent Channel: RHEL x86_64 Server 7
Architecture: x86_64
Channel Summary: RES 7.3 Media
The other items can be filled out as necessary. NOTE: It is important to ensure that the correct parent channel is selected.
4. Select Create Channel
5. Open a terminal on the SUSE Manager server and run the following command to populate the channel that was just created:
# spacewalk-repo-sync -c res73-media -u file:///mnt/res73/
spacecmd method:
1. Run the following to create the channel:
<enter webUI admin password if requested>
#spacecmd -u <webUI admin name>
At the spacecmd prompt enter the following (ie : spacecmd {SSM:0}> ):
Where the options are:
spacecmd {SSM:0}> softwarechannel_create -n "RES 7.3 Media" -l res73-media -p rhel-x86_64-server-7 -a x86_64
-n NAME
-l LABEL
-p PARENT_CHANNEL
-a ARCHITECTURE
2. Type "exit" to leave spacecmd
3. Populate the newly created channel with spacewalk-repo-sync:
# spacewalk-repo-sync -c res73-media -u file:///mnt/res73/
The new channel can now be added to existing RES 7.3 clients and to the activation key used to bootstrap RES 7.3 clients.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7021393
- Creation Date: 13-Sep-2017
- Modified Date:03-Mar-2020
-
- SUSE Manager
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com