[Spacewalk-list] Client machine update issue without internet

Jonathan Hoser jonathan.hoser at helmholtz-muenchen.de
Fri Mar 14 07:22:52 UTC 2014


On 03/14/2014 07:44 AM, Dhaval Oza wrote:

On 03/13/2014 04:03 PM, Stuart Green wrote:

Dear Sir,

We have configured and installed  Spacewalk Server 2.2  nightly on Centos 6.5 & spacewalk client machine. All things are working perfectly fine on server side also the client side tool has been installed on server to communicate with client machine with activation key for getting updates from spacewalk server but the problem is when i stop internet connection on client machine we are not getting any updates and also when I trigger "yum repolist" command on client machine it shows  0 packages available.

My problem is what to configure on client machine so I can get all the updates from spacewalk server without internet connection.

And also let me know what to do on client machine and which file we have to check and do the changes accordingly .

It will be grateful if any one can help us in solving the issue.

Thanks and Regards,
Dhaval Oza.

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list


Sir... How very nice :)

Are the clients registered in the gui, if so it should show what packages can be updated on the clients?

Stuart

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list


Hi Stuart,

We are registered clients on Spacewalk Server.

My Spacewalk Server IP is 192.168.12.52

Below are the Client side configuration detail :

######### Client Side Configuration ##########

rpm -Uvh http://spacewalk.redhat.com/yum/2.1-client/RHEL/6/x86_64/spacewalk-client-repo-2.1-2.el6.noarch.rpm
BASEARCH=$(uname -i)
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/$BASEARCH/epel-release-6-8.noarch.rpm

###Activate your clinet system####

rhnreg_ks --serverUrl=http://192.168.12.52/XMLRPC --activationkey=<Key-with-rhel-custom-channel>

#####Install packages to enable Configuration File Management####
yum –y install osad rhncfg rhncfg-actions rhncfg-client rhncfg-managemen

#####Install the Spacewalk Organization Cert on the Client####
wget -O /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT http://192.168.12.52/pub/RHN-ORG-TRUSTED-SSL-CERT


rhn-actions-control --enable-all
rhn-actions-control --report


#####Start osad service so that remote actions are executed quickly rather than waiting for the systems to check in:

yum install osad*
yum install jabber*
service osad start
chkconfig osad on


/usr/bin/perl -p -i -e "s/osa_ssl_cert =/osa_ssl_cert = \/usr\/share\/rhn\/RHN-ORG-TRUSTED-SSL-CERT/g" /etc/sysconfig/rhn/osad.conf

It will be grateful if any one can help us in solving the issue.

Thanks and Regards,

Dhaval Oza.

Dear Dhaval,
go to /etc/yum.repos.d/
and edit CentOS-Base.repo
for every section in the file, make sure you have the string 'enabled=0'
in place.
Then do a 'yum clean all'
and a yum repolist
and it shall only list your spacewalk channels.

Best
-Jonathan



--
Jonathan Hoser, M.Sc.
Institute of Bioinformatics and System Biology
WWW: http://mips.helmholtz-muenchen.de



________________________________
Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140314/f7bdbf78/attachment.htm>


More information about the Spacewalk-list mailing list