Enabling Spacewalks OSAD for Ubuntu clients
What is OSAD?
Spacewalk clients are checking in with Spacewalk every 240 minutes by default. You can change this in /etc/rhn/rhnsd but it will still be polling for scheduled actions and not receiving them instantly.
OSAD solves this problem. Its based on Jabber and runs a osa-dispatcher on the Spacewalk server which tells clients to please check-in immediately when there are actions scheduled for them.
You can read more on it here https://fedorahosted.org/spacewalk/wiki/OsadHowTo
Do I really need it?
That depends on your individual setup and what you are using Spacewalk for. For most people its probably ok to have scheduled actions be performed with a delay. For some it might not.
Especially if you want to use the “Command Execution” capability of Spacewalk, you certainly want them to be executed asap. I’ll be showing you how to get that working with Ubuntu clients in my next article.
So read on after the jump how to get OSAD running.
You will need the following packages
dpkg -i osad_5.11.27-1ubuntu1.all.deb
service osad start
update-rc.d osad defaults
Also make sure port 5222 is open and ‘osa-dispatcher’ is started on the spacewalk-server.
Now you should see in your systems details page