RedHat 6.x/CentOS 6.x: Rename RHN Satellite (Spacewalk) Server

0

In relation to rename a server which was acting as a Satellite server.

Howto change the Hostname of a RHN Satellite server (Spacewalk Server)

1) you need to change the server to the new IP adress / hostname. I advise to do this in single user mode from the currently running state.

Note: Don’t use UPPERCASE in the hostname. Satellite doesn’t like that !!!

telinit 1

hostname NEW_HOSTNAME

vi /etc/sysconfig/network

#change to the new hostname

If you need to change the IP Adress then do so here now.

vi /etc/sysconfig/network-scripts/ifcfg.[interface]

restart networking

service network restart

 2) DO NOT REBOOT

continue here ….

spacewalk-hostname-rename CURRENT(NEW_OR_OLD)_IPADRESS

Follow the instruction on the screen to reset the hostname. It will do the rest for you

Leave a Reply