Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D89A10731 for ; Fri, 5 Dec 2014 07:23:26 +0000 (UTC) Received: (qmail 57164 invoked by uid 500); 5 Dec 2014 07:23:26 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 57136 invoked by uid 500); 5 Dec 2014 07:23:26 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 57125 invoked by uid 99); 5 Dec 2014 07:23:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 07:23:26 +0000 X-ASF-Spam-Status: No, hits=4.0 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL,TRACKER_ID X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.43.99.132] (HELO cpanel27.interactivedns.com) (208.43.99.132) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 07:23:19 +0000 Received: from [103.245.119.26] (port=57853 helo=[192.168.1.13]) by cpanel27.interactivedns.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1XwnB5-0006BG-KB for user@ambari.apache.org; Fri, 05 Dec 2014 12:49:48 +0530 Message-ID: <54815C90.7050207@alethelabs.com> Date: Fri, 05 Dec 2014 12:49:44 +0530 From: "Jain, Saurabh" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: user@ambari.apache.org Subject: Re: Fwd: where does ambari store host name information References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------030309090909030705070605" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel27.interactivedns.com X-AntiAbuse: Original Domain - ambari.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alethelabs.com X-Get-Message-Sender-Via: cpanel27.interactivedns.com: authenticated_id: saurabh.jain@alethelabs.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------030309090909030705070605 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. > --------------030309090909030705070605 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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.


--------------030309090909030705070605--