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.

What information Ambari database store?

Highlighted

What information Ambari database store?

Contributor

Hi,

I'm looking for information about what data is stored in Ambari database. Is my below understanding correct or is there more to it?

  • Configuration information - All the service level configuration information - essentially same config information as present under /etc/$SERVICE_COMPONENT/conf
  • Cluster topology - which defines the nodes part of the cluster, as well as host-service assignment.

Is there anything else that gets stored in Ambari database?

Also, in order to build a disaster recovery cluster, I think simply copying the Ambari DB doesn't help as host level information could be very different between the clusters. So, what is the recommended approach to get all Ambari level information replicated between the clusters?

Thanks

Vijay

1 REPLY 1
Highlighted

Re: What information Ambari database store?

Expert Contributor

Yes, Ambari stores all the information needed to managed the state and configuration of your cluster. Information concerning the Ambari users and the configuration of Ambari Views are two other items you will see. You can find the database DDLs on the Ambari server host in the /var/lib/ambari-server/resources directory. The table names in the schema are informatively named and if you do a quick grep on "CREATE TABLE" you can get a quick grasp on the type of data stored by Ambari.

You should look at Ambari blueprints, http://hortonworks.com/blog/ambari-blueprints-delivers-missing-component-cluster-provisioning/, for info on creating your DR cluster. Blueprints were created so you could more easily create a new cluster based on information from an existing cluster.

Don't have an account?
Coming from Hortonworks? Activate your account here