[Spacewalk-list] moving spacewalk clients from the one to another spacewalk server

Colin Coe colin.coe at gmail.com
Tue Jan 5 10:12:53 UTC 2010


I've written a suite of scripts to do just this but it's probably overkill.

The scripts are (from memory):
1) make_sat_client_backend.pl
- intended to be run on the Spacewalk/Satellite server
- creates kickstart profiles and activationkeys used by the client
2) make_sat_client.py
- uses the appropriate kickstart profile and activation key to join
the required spacewalk server.
3) init_sat_client
- does a bunch of useful post join stuff

If people are interested, I'll post them but they are built are my
requirements and may not suite everybody.

CC

On Tue, Jan 5, 2010 at 5:38 PM, James Hogarth <james.hogarth at gmail.com> wrote:
> You may need to change /etc/sysconfig/rhn/up2date with the new severURL
> (doubt rhnreg_ks will do that automatically... but may be wrong)
>
> 2010/1/5 Michiel van Es <michiele at info.nl>
>>
>> Hi,
>>
>> I have a spacewalk server A where all my CentOS 5 clients are connected to
>> (rhnsd and osad) but I want to migrate them to spacewalk server B.
>> How do I switch those clients to spacewalk server B?
>> Do I have to do the following:
>>
>> 1) rhnreg_ks --serverUrl=http://"spacewalkserverB"/XMLRPC
>> --activationkey="$ACTKEY"
>> 2) cd /usr/share/rhn/
>> wget -q http://"spacewalkserverB"/pub/RHN-ORG-TRUSTED-SSL-CERT
>> mv RHN-ORG-TRUSTED-SSL-CERT RHNS-CA-CERT
>> 3) restart rhnsd and osad= service rhnsd restart && service osad restart
>>
>> Kind regards,
>>
>> Michiel
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
RHCE#805007969328369




More information about the Spacewalk-list mailing list