Channel Management
Channels are a method of grouping software packages.
In SUSE Manager, channels are grouped into base and child channels, with base channels grouped by operating system type, version, and architecture, and child channels being compatible with their related base channel. When a system has been assigned to a base channel, it is only possible for that system to install the related child channels. Organizing channels in this way ensures that only compatible packages are installed on each system.
While SUSE Manager provides all required channels, you might find it useful to create custom channels specific to your environment. SUSE Manager Administrators and Channel Administrators have channel management authority, which gives them the ability to create and manage their own custom channels.
When you subscribe to a vendor channel with a traditional client, the product package will automatically be installed. On Salt clients, the packages will be added to the package state, and you will need to apply the highstate to push the changes to your systems. |
This section gives more detail on how to create, administer, and delete custom channels.
Creating Custom Channels
If you have custom software packages that you need to install on your SUSE Manager systems, you can create a custom child channel to manage them. You will need to create the channel in the SUSE Manager Web UI and create a repository for the packages, before assigning the channel to your systems.
If you include a package with -release
at the end of the package name in your channel, it will be automatically installed when the channel is installed.
Do not create child channels containing packages that are not compatible with the client system. |
-
In the SUSE Manager Web UI, navigate to
, and click Create Channel. -
On the
Create Software Channel
page, give your channel a name (for example,My Tools SLES 15 SP1 x86_64
) and a label (for example,my-tools-sles15sp1-x86_64
). Note that labels cannot contain space characters or capital letters. -
In the
Parent Channel
drop down, choose the relevant base channel (for exampleSLE-Product-SLES15-SP1-Pool for x86_64
). Ensure that you choose the compatible parent channel for your packages. -
In the
Architecture
drop down, choose the appropriate hardware architecture (for example,x86_64
). -
Provide any additional information in the contact details, channel access control, and GPG fields, as required for your environment.
-
Click Create Channel
-
In the SUSE Manager Web UI, navigate to
, and click Create Repository. -
On the
Create Repository
page, give your repository a label (for example,my-tools-sles15sp1-x86_64-repo
). -
In the
Repository URL
field, provide the path to the folder that contains therepodata
file (for example,file:///opt/mytools/
). You can use any valid addressing protocol in this field. -
Uncheck the
Has Signed Metadata?
check box. -
Provide any additional information in the SSL fields, as required for your environment.
-
Click Create Repository
-
Synchronize your new repository with your custom channel by navigating to
, clicking on the name of your newly created custom channel, and navigating to theRepositories
tab. -
Ensure the repository you want to synchronize is checked, and click Update Repositories.
-
Navigate to the
Sync
tab and click Sync Now to synchronize immediately. You can also set an automated synchronization schedule on this tab.
-
In the SUSE Manager Web UI, navigate to
, and select the key you want to add the custom channel to. -
On the
Details
tab, in theChild Channels
listing, select the channel to associate. You can select multiple channels, if you need to. -
Click Update Activation Key.
Deleting Custom Channels
You cannot delete SUSE Manager channels. Only custom channels can be deleted.
-
In the SUSE Manager Web UI, navigate to
, and select the channel you want to delete. -
Click Delete software channel.
-
On the
Delete Channel
page, check the details of the channel you are deleting, and check theUnsubscribe Systems
checkbox to remove the custom channel from any systems that might still be subscribed. -
Click Delete Channel.
When channels are deleted, the packages that are part of the deleted channel are not automatically removed.
If you try to update packages that have had their channel deleted, it can cause errors.
In this case, you will need to manually remove the packages.
Packages can be manually removed in the SUSE Manager Web UI by going to Removed
.
Note that removing the package using a command line package manager or the Software
menu will not permanently remove the package.