Hi Emma, Ambari presently does not support changing hostnames dynamically.
There is a Jira open for this, https://issues.apache.org/jira/browse/AMBARI-4670. But current trunk has no support for it. I would recommend setting up the DDNS server. -Sid On Wed, May 28, 2014 at 12:59 AM, Emma Lin <[email protected]> wrote: > Thanks Sid for your prompt response. > But in our user scenarios, some of them might not have DDNS configured, so > the host name might still be changed at the same time. > > So so far, I need to know if Ambari can support this ip and host name > changing scenario. If yes, we can integrate with this function, if no, I > will get a reasonable justification for DDNS setup in user's environment. > > thanks, > Emma > ------------------------------ > *From: *"Siddharth Wagle" <[email protected]> > *To: *[email protected] > *Sent: *Wednesday, May 28, 2014 3:02:57 PM > *Subject: *Re: Question about how to change name node ip address after > cluster is created by Ambari > > > Ambari uses hostnames as keys for all managed hosts. > > As long as the hostnames remain the same you should not have any problems. > > Best Regards, > Sid > > > On Tue, May 27, 2014 at 11:22 PM, Xiaoding Bian Cloud Services RANDD - > 72410 <[email protected]> wrote: > >> >> >> ------------------------------ >> *From: *"Emma Lin" <[email protected]> >> *To: *[email protected] >> *Cc: *"Xiaoding Bian Cloud Services RANDD - 72410" < >> [email protected]>, "Qing Chi 79624" <[email protected]> >> *Sent: *Wednesday, May 28, 2014 2:04:44 PM >> *Subject: *Question about how to change name node ip address after >> cluster is created by Ambari >> >> >> Hello guys, >> I'm working on provisioning cluster through Ambari now. But we're use >> DHCP network, and the ip address might be changed after the cluster is >> created. Either while the node is restarted, or the IP address of one node >> might be changed directly by DHCP server. >> >> So I want to know if there is easy solution from Ambari to handle such >> issue. The ip change might happen for all of nodes, including name node, >> jobtracker/resource manager, etc. >> >> I didn't get any information for this topic from the Ambari document. >> Your any comment is appreciated. >> >> thanks, >> Emma >> >> > > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity > to which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. > > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
