Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Cluster Alias IP Address

Manish PATHAK_2
Regular Advisor

Changing Cluster Alias IP Address

Hi,

I want to change Cluster Alias IP Address on my ES45..

for ex. current cluster alias name and ip address is server1server2 (1.1.1.100) & i want to change it to my1my2 (1.1.2.100) what will be the procedure to do it...

Regards
Manish
7 REPLIES
Venkatesh BL
Honored Contributor

Re: Changing Cluster Alias IP Address

Did you try the 'Search' function of this forum? I see several hits on the topic that may be useful...
Ajay Agarwal
Frequent Advisor

Re: Changing Cluster Alias IP Address

1) Create a file with entry

clubase:
cluster_name=my1my2

2) Run following cmd from each member:

sysconfigdb -m -f "file_you_created" clubase

3) Update following files with new name:
/etc/hosts
/etc/hosts.equiv

4) Add new name in /.rhosts file

5) Shutdown entire cluster and boot each member

6) Remove old name from /.rhosts

Changing IP:

1) Edit /etc/hosts file and update the IP.
2) Reboot all the nodes one by one.
Ivan Ferreira
Honored Contributor

Re: Changing Cluster Alias IP Address

Acording to the cluster administrator manual, the host name cannot be changed, you should remove the member and add it back to change the host name. See section Section 5.12 of the cluster administration manual:

Changing the Member Name, IP Address, or Cluster Interconnect Address

To change the member name, member IP address, or cluster interconnect address, remove the member from the cluster and then add it back in with the desired member name or address. Before you do this, make sure that the cluster will not lose quorum and that CAA restricted placement policies are not affected.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Archunan Muthiah
Honored Contributor

Re: Changing Cluster Alias IP Address

manish,

You need to modify all these files with your new clu alias and IP address.
/etc/hosts
/etc/hosts.equiv
/.rhosts file

And if this cluster has been configured as an NFS server, then you will have made entry in /etc/exports.aliases as NFS client will also look into this file.

also if a noncluster host wants access any clu host, then the .rhosts file of that non clu host also shoudl include modified clu alias name.


Archunan
God is Artist, we are all just brushes
Shardha
Valued Contributor

Re: Changing Cluster Alias IP Address

Dear manish,

Please find the best practice for changing the alias name.

Shardha
Manish PATHAK_2
Regular Advisor

Re: Changing Cluster Alias IP Address

Hi All,

Thanks for the response.

Problem is solved,i forget to update the status,thanks to the notification system to remind me,

or changing the alias ip we need to modify the /etc/hosts,/etc/hosts.equiv file and after reboot it will be changed.

For one of the resonse regarding hostname i would like to put my view that it is possible to change the cluter nme as well as individual member name.

Regards
Manish PATHAK
Manish PATHAK_2
Regular Advisor

Re: Changing Cluster Alias IP Address

updating /etc/hosts file and reboot willchange the alias ip address.

Regards
Manish Pathak