Leave a Comment
CHANGE HOST IP IN CLOUDERA MANAGER
- Change Host IP on all node
sudo nano /etc/hosts - Edit the ip cloudera config.ini on all node if the master node ip changes
sudo nano /etc/cloudera-scm-agent/config.ini - Change IP in PostgreSQL Database
- For the password Open PostgreSQL password
cat /etc/cloudera-scm-server/db.properties - Find the password lines
Example. com.cloudera.cmf.db.password=gUHHwvJdoE - Open PostgreSQL
psql -h localhost -p 7432 -U scm - Select table in PostgreSQL
select name,host_id,ip_address from hosts; - Update table IP
update hosts set ip_address = 'xxx.xxx.xxx.xxx' where host_id=x; - Exit the tool
\q - Restart the service on all node
service cloudera-scm-agent restart - Restart the service on master node
service cloudera-scm-server restart