Created 09-30-2017 06:01 AM
Ex : cluster name, state of the cluster etc
Created 10-01-2017 08:33 PM
If you want to access the db and fetch the details
This can be done by executing the following commands (Postgres db is the default) :
docker exec -it cbreak_commondb_1 su postgres -c 'psql'
postgres=# \l
postgres=# \c cbdb
You are now connected to database "cbdb" as user "postgres”
cbdb=# select id, name, stack_id, status from cluster; // Queries the cluster id, name, and the status of the clusters
Created 09-30-2017 06:11 AM
Cloudbreak is used to provision, configure and elastically grow clusters in cloud. You would use Ambari to get cluster details you are looking for, which includes cluster name, configuration values and so on. And if you need to get these values without using the interface, you can use Ambari API. So, what you are looking for is available through Ambari and not cloudbreak.
Created 10-01-2017 08:33 PM
If you want to access the db and fetch the details
This can be done by executing the following commands (Postgres db is the default) :
docker exec -it cbreak_commondb_1 su postgres -c 'psql'
postgres=# \l
postgres=# \c cbdb
You are now connected to database "cbdb" as user "postgres”
cbdb=# select id, name, stack_id, status from cluster; // Queries the cluster id, name, and the status of the clusters