Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How can I start my Ambari heartbeat?

Highlighted

How can I start my Ambari heartbeat?

New Contributor

How can I start my Ambari heartbeat?I'm a beginner in hortonworks. After installation and changing the ip address, I have got ambari all services down and All Heartbeat Lost! How can I overcome this situation? Thank you in advance.

23 REPLIES 23

Re: How can I start my Ambari heartbeat?

Mentor

@Hadi Bitalebi when you change IP address what do you mean? On Ambari server or agent? You need to make sure they both know each others address. Look in /etc/ambari-agent/conf/ambari-agentr.ini the server address. Check /etc/hosts on both servers and fix up. Fix ssh or manual registration on both.

Re: How can I start my Ambari heartbeat?

New Contributor

Thank You for your reply, Please check the Image Below.

1950-ip-02.png

and you can check this image too:

1972-ip-03.png

Re: How can I start my Ambari heartbeat?

Mentor

@Hadi Bitalebi Run sudo ambari-agent status

Then if stopped start with séver first

sudo ambari-agent start

Re: How can I start my Ambari heartbeat?

New Contributor

Unfortunately Nothing Changed

1974-ip-04.png

Re: How can I start my Ambari heartbeat?

New Contributor

And yet Heartbeat Lost!

1975-ip-05.png

Re: How can I start my Ambari heartbeat?

Mentor

@Hadi Bitalebi change IP to fqdn if that's the case and restart Ambari server and agent. Is your VM setup for 2nd adapter? Check ref manual how to properly change IP

Re: How can I start my Ambari heartbeat?

@Hadi Bitalebi

This can be little tricky and that's why you must use hostname or FQDN for the ambari install. Did you install the cluster using IP address ?

Or It's sandbox environment.

My suggestion is to reinstall using Hostname....

if you cannot then you have to be creative ...See this http://www.swiss-scalability.com/2015/01/rename-host-in-ambari-170.html

Re: How can I start my Ambari heartbeat?

New Contributor

Thank you for your suggestions, but this is a sandbox and it was all installed and I don't know how to change the host name to FQDN?! How can I reinstall Ambari in Sandbox?

Re: How can I start my Ambari heartbeat?

@Hadi Bitalebi That's exactly my point. Why are you changing the IP?

I think you are confusing things. You can remove ambari and reinstall.

yum remove ambari-server

yum install ambari-server

You don't have to do anything after improitng sandbox. Please see this