Sometime ago we had to change the hostname of few hadoop machines, so we did changes in ambari DB and some configuration files. In your case, I think hostnames are same but ip address is changing - which should be similar to what we did.
Here's the list of table/columns we updated -

TABLE NAME

        

COLUMN NAME

blueprint_configuration

        

config_data

clusterconfig

        

config_data

clusterhostmapping

        

host_name

configgrouphostmapping

        

host_name

hostcomponentdesiredstate

        

host_name

hostcomponentstate

        

host_name

host_role_command

        

event

host_name

hosts

        

host_name

public_host_name

hoststate

        

host_name

metainfo

        

metainfo_value

viewinstanceproperty

        

value




Regards,
Saurabh

On 12/05/2014 11:05 AM, Sumeet Nikam wrote:


Hi,

I am using AWS setup to run experiments on HDP using Ambari, since my experiments are of short run , to save money I tend to stop cluster and start again whenever required.

If I am lucky I get same ip's allocated which is kind of rare. So most of the time I have to terminate cluster, recreate and reconfigure.

I believe that if I can only change the host ip's, and restart services, everything should work. Please let me know If I am wrong.

I tried searching the ip configuration in ambari, but no success few blogs suggested that the configuration lies in postgress sql, but could not get details of what table etc.

Can anyone point me where can I get that ?

Thanks


This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.


Reply via email to