Cluster Action

Request

GET /rest/v2/manager/cluster/cluster_info/conn_info

Cluster Connection Information

GET /rest/v2/manager/cluster/cluster_info/conn_info

Description

Used to get cluster http, mysql connection information.

Response

  1. {
  2. "msg": "success",
  3. "code": 0,
  4. "data": {
  5. "http": [
  6. "fe_host:http_ip"
  7. ],
  8. "mysql": [
  9. "fe_host:query_ip"
  10. ]
  11. },
  12. "count": 0
  13. }

Examples

  1. GET /rest/v2/manager/cluster/cluster_info/conn_info
  2. Response:
  3. {
  4. "msg": "success",
  5. "code": 0,
  6. "data": {
  7. "http": [
  8. "127.0.0.1:8030"
  9. ],
  10. "mysql": [
  11. "127.0.0.1:9030"
  12. ]
  13. },
  14. "count": 0
  15. }