What do you mean by still uses the eth0 IP the processes are not bound to an interface by default the only thing the spacewalk-host-rename command does is update the SSL cert and a few config file and a few database fields.
The reason it does this if so future deployed clients will connect to the new address and so that it knows how to connect to itself for IPC.
After the renaming spacewalk you will need to redeploy the SSL certs and reconfigure the clients to connect to the new name manually .


Also have you considered you considered there may be a routing issue at play. Routing can some time do strange things on multi homed hosts which is why its generally discouraged unless you really know the network stack well.



-- Sent from my HP Pre3


On Sep 11, 2014 3:04 PM, Jimmy Jiang <jji...@kyriba.com> wrote:

Hi all,
   I  just install an spacewalker 2.2 on centOS 6.5 64 bit server, it has multiple IPs, I want to switch from eth0 to eth1.
    I run  " $ spacewalk-hostname-rename <eth1-IP-ADDRESS>"  succesfully, changed /etc/hosts, and reboot server. but it still use the eh0 IP.
   Thansk advance for any help!

   Jimmy


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to