Does the script support the usage of /usr/bin/spacewalk-repo-sync to sync from 
the remote repo directly into the Spacewalk server? I'm not sure what the 
equivalent command is on RH Satellite Server.

This eliminates duplication (local rsync'd copy plus the copy in Spacewalk), 
and also does not require you to pass the SW admin user and password on the 
command line / in script.

Any idea if it's possible to sync only specific Dell models from the repo to 
cut down on the local storage requirements?

I'll test the script assuming I have enough free disk space on my SW server to 
handle the entire repo.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Vinny Valdez
Sent: Monday, October 26, 2009 2:25 PM
To: [email protected]
Subject: Manage your Dell systems with RHN Satellite and Dell official 
repositories

Hello,

I've put together a script that will take the Dell repos and populate 
them into child channels on an RHN Satellite server, then subscribe any 
Dell systems to the correct channel.  The script can be scheduled as a 
cron job and run periodically to capture any new rpms from 
linux.dell.com, and subscribe any new systems that have been added.  As 
this is an early version, I only have the script posted.  I will be 
creating an rpm and adding features as time permits.

I've tested this with RHN Satellite 5.3, but it should work with 
Spacewalk.  I'd appreciate any feedback on tested versions if anyone can 
do that.

The supported base channels are RHEL 4 and 5, i386 and x86_64.  It would 
be trivial to add additional base channel support, which is documented 
at the top of the script.

For the Dell systems to execute remote actions, they need to be 
subscribed to "rhn-tools", have the "rhncfg-actions" rpm installed, and 
allow remote actions (this can be accomplished with "rhn-actions-control 
--enable-run").  Also, if they have access, installing "osad" on the 
systems will greatly speed-up their response to remote actions.

I hope this will be useful, and welcome anyone to join the community 
project and provide patches, suggestions, etc.

https://fedorahosted.org/dell-satellite-sync/

Regards,

-- 
Vinny Valdez, RHCA (805007008328410)
Sr. Enterprise Architect, Red Hat Consulting
Global Solutions&  Strategy
GPG Key: 039D0DAD

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to