-   ROCK (
-   -   Changing the hostname (

paragkalra 03-19-2008 09:49 PM

Changing the hostname
Hello all,

I have a frontend node and many compute nodes. I want to change the hostname of the nodes across entire cluster. I am planning to use linux specific "hostname" command for this purpose. Is there any special command in ROCK for changing the hostname?

billymayday 03-19-2008 09:57 PM

If you are talking about redhat boxes, hostname isn't persistent as far as I know, and you may need to edit /etc/sysconfig/network (I think - from memory). There may be a simpler way though.

paragkalra 03-19-2008 10:18 PM

Yes billymayday you are right. If change in hostname has to survive a power cycle then I need to do what you suggested but is there any specific command in ROCK that can make my job easy?

BlueRidgeMark 05-06-2008 01:54 PM

Since you have to change the config files, you might want to consider writing a script, if you have a lot of machines to change.

All times are GMT -5. The time now is 05:36 AM.