Skip to main content
Cl0ck
Silver ⭐️⭐️⭐️
October 6, 2019
Solved

Fresh Install: Switched Cloudera Manager Host from a DHCP address to a Static IP. Now, I can no longer connect to the Web UI

Aloha!

Before, I was able to connect to the web UI via host IP and port 7180. After setting up a Static IP for the hosts in my Cluster, I seem to have broken Cloudera Manager. Should I uninstall and reinstall, or is there a simple solution that I can implement to get things working again?

luodonghua
Gold ⭐️
October 6, 2019

no need to reinstall, few places you need to make the change to:

 

1. change the host file or dns, then access CM through hostname instead of IP address

File: /etc/hosts

 

2. make sure the DB hostname is correct if your repo is on the same server:

file: /etc/cloudera-scm-server/db.properties

 

3. change agent configuration to make sure it using hostname or new IP address

/etc/cloudera-scm-agent/config.ini

 

restart CM and CM agent.

2 replies

luodonghua
Gold ⭐️
October 6, 2019

no need to reinstall, few places you need to make the change to:

 

1. change the host file or dns, then access CM through hostname instead of IP address

File: /etc/hosts

 

2. make sure the DB hostname is correct if your repo is on the same server:

file: /etc/cloudera-scm-server/db.properties

 

3. change agent configuration to make sure it using hostname or new IP address

/etc/cloudera-scm-agent/config.ini

 

restart CM and CM agent.

Translate
Cl0ck
Cl0ckAuthor
Silver ⭐️⭐️⭐️
October 9, 2019

The problem was that I did not have my database host connected. For some reason I thought that I had set up the database to be internal without the SCM host, but I was wrong! I decomissioned the database host and it prevented heartbeating from happening.

Translate