Satellite 5.6 auto upgrade existing packages

Latest response

I am trying to setup my satellite server to auto clone and upgrade existing packages on all my servers. I got the cloning down by using:

spacewalk-clone-by-date -u omitted -p omitted -l rhel-x86_64-server-6 otc-rhel-x86_64-server-6 -l rhel-x86_64-server-optional-6 otc-rhel-x86_64-server-optional-6 -l rhel-x86_64-server-supplementary-6 otc-rhel-x86_64-server-supplementary-6 -l rhn-tools-rhel-x86_64-server-6 otc-rhn-tools-rhel-x86_64-server-6 -d date +%Y-%m-%d -z -n -g -y

But how do I upgrading the existing packages after I cloned them to the channel? I tried spacecmd but I couldn't find any command that worked for this yet.

For reference what I am trying to do is take out the manual step of going into the GUI and clicking: Systems > click group name > work with group >

Packages > Upgrade existing packages > Upgrade Selected packages > Schedule install

Responses

Hi Andrew,

As you mentioned that you have created clone channels as per your requirement, to update/install packages from these clone channels to system we need to subscribe systems to these channels first.

You can select systems which you want to subscribe to clone channels and using SSM (System Set Manager) you can add clone channels to them.

To enable auto errata update for systems to can follow steps below:

Systems -> Systems -> select system profiles -> Click on "Manage" at top right corner -> Misc -> under "System Preferences" section -> you can enable "Automatic application of relevant errata" 

After you enable auto errata update for system profiles whenever new errata's will be added to clone channels those will be scheduled for systems for install.

To pull errata's instantly on client system you can configure osad on client systems. Refer 7.7. Enabling Push to Clients

Does this help you ?

Regards,
Ashish

That works perfectly! Thanks

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.