cluster

Cluster operations, from initial setup to status.

get /cluster/create/mons

Arguments
  • No arguments...

Definition
get /cluster/create/mons
Attributes
  • idinteger

    -

  • hostnamestring

    -

  • ipsarray

    -

Example response
[ { "id": 0, "hostname": "string", "ips": [ "string" ] } ]

post /cluster/create

Arguments
  • bodyoptional

    -

Definition
post /cluster/create
Attributes
  • namestring

    -

  • idinteger

    -

  • statestring

    [WAITING, RUNNING, FINISHED, FAILED, CANCELED]

  • resultobject

    -

  • doneboolean

    -

  • statusCodeinteger

    -

  • startedAtinteger

    -

  • startedBystring

    -

  • objectstring

    -

  • outputstring

    -

Example response
{ "name": "string", "id": 0, "state": "WAITING", "result": {}, "done": true, "statusCode": 0, "startedAt": 0, "startedBy": "string", "object": "string", "output": "string" }

get /cluster/status

Arguments
  • No arguments...

Definition
get /cluster/status
Attributes
  • cephLastUpdatednumber

    Duration in seconds.

  • cephStatusobject

    -

    • fsidstring

      -

    • healthobject

      -

      • statusstring

        [HEALTH_OK, HEALTH_WARN, HEALTH_ERR, HEALTH_UNKNOWN]

      • checksobject

        -

  • healthDetailsobject

    -

    • statusstring

      [HEALTH_OK, HEALTH_WARN, HEALTH_ERR, HEALTH_UNKNOWN]

    • checksobject

      -

  • placementGroupsarray

    -

    • poolNamestring

      -

    • poolIdinteger

      -

    • totalinteger

      -

    • okayinteger

      -

    • warninteger

      -

    • errorinteger

      -

  • recoveryTimeRemainingnumber

    Duration in seconds.

  • serversobject

    -

    • onlineinteger

      -

    • totalinteger

      -

  • mdsobject

    -

    • onlineinteger

      -

    • totalinteger

      -

    • upinteger

      -

  • utilizationByDeviceClassobject

    -

  • radosgwsobject

    -

    • onlineinteger

      -

    • totalinteger

      -

  • iscsiobject

    -

    • onlineinteger

      -

    • totalinteger

      -

  • nfsGatewaysobject

    -

    • onlineinteger

      -

    • totalinteger

      -

  • smbGatewaysobject

    -

    • onlineinteger

      -

    • totalinteger

      -

  • licenseActiveboolean

    -

  • licenseValidUntilnumber

    Duration in seconds.

  • croitUptimenumber

    Duration in seconds.

Example response
{ "cephLastUpdated": , "cephStatus": { "fsid": "string", "health": { "status": "HEALTH_OK", "checks": {} } }, "healthDetails": { "status": "HEALTH_OK", "checks": {} }, "placementGroups": [ { "poolName": "string", "poolId": 0, "total": 0, "okay": 0, "warn": 0, "error": 0 } ], "recoveryTimeRemaining": , "servers": { "online": 0, "total": 0 }, "mds": { "online": 0, "total": 0, "up": 0 }, "utilizationByDeviceClass": {}, "radosgws": { "online": 0, "total": 0 }, "iscsi": { "online": 0, "total": 0 }, "nfsGateways": { "online": 0, "total": 0 }, "smbGateways": { "online": 0, "total": 0 }, "licenseActive": true, "licenseValidUntil": , "croitUptime": }

get /cluster/status/detail

Arguments
  • No arguments...

Definition
get /cluster/status/detail
Attributes
  • statusstring

    [HEALTH_OK, HEALTH_WARN, HEALTH_ERR, HEALTH_UNKNOWN]

  • checksobject

    -

Example response
{ "status": "HEALTH_OK", "checks": {} }

get /cluster/status/nagios

Arguments
  • No arguments...

Definition
get /cluster/status/nagios
Attributes
Example response
"string"

get /cluster/status/nagios/{check}

Arguments
  • checkrequiredstring

    -

Definition
get /cluster/status/nagios/{check}
Attributes
Example response
"string"