Created on 03-24-2016 11:52 AM - edited 09-16-2022 03:10 AM
We have three management nodes mn01, mn02 and mn03. Currently our install has the Cloudera Manager (CM) on mn01. Due to the fact that we have the primary and secondary namenode processes on mn01 and mn02, we want to migrate the CM to mn03. We are using mysql on mn01 as well.
I have tried to do the following in a virtual lab:
# Export settings:
curl -u user:password "http://localhost:7180/api/v11/cm/deployment" >/tmp/cm-deployment.json
# Export settings:
curl --upload-file /tmp/cm-deployment.json -u user:password http://localhost:7180/api/v11/cm/deployment?deleteCurrentDeployment=true
The services don't start and when I try to view logs I get a lot of 502 "bad gateway" errors.
Has anyone ever done this successfully? What would I be missing? We are concerned that if CM ever goes down, no matter which system it resides on, that it will be difficult to get it up and running again.
Created 03-24-2016 02:22 PM
I was missing the change of ip in the agent configs. It's working now. Thanks again.
Created 03-24-2016 02:01 PM
Hello,
The process is actually documented here http://www.cloudera.com/documentation/enterprise/latest/topics/cm_ag_restore_server.html
What database is Cloudera Manager server is connected to?
michalis
Created 03-24-2016 02:03 PM
it's mysql. Thanks for the link. I'll check that out now.
Created 03-24-2016 02:22 PM
I was missing the change of ip in the agent configs. It's working now. Thanks again.
Created 03-24-2016 05:45 PM
Great to hear.