Validate Data Store

Description

Checks the status of ArcGIS Data Store and provides a health check response.

Request Parameters

Parameter

Details

f

Description: The response format. Default is HTML.

Values: HTML | JSON

Request format

http://server:port/arcgis/admin/data/items/enterpriseDatabases/<Data Store item name>/machines/<machine name>/validate

JSON Response Example

{
  "datastore.version": "10.3.0",
  "datastore.name": "ds_4g2jfx4w",
  "datastore.replmethod": "ASYNC",
  "datastore.isConfigured": "true",
  "machines": [{
    "machine.overallhealth": "Healthy",
    "datastore.version": "10.3.0",
    "platform": "Windows",
    "machine.isReachable": "true",
    "hostip": "10.71.82.123",
    "name": "MACHINE.DOMAIN.COM",
    "role": "PRIMARY",
    "dbport": 9876,
    "initstarttime": 1400086501889,
    "healtcheck.enable": "true",
    "status": "Started",
    "adminurl": "https://MACHINE:2443/arcgis/datastoreadmin/",
    "db.isactive": "true",
    "db.isAccepting": "true",
    "db.isInRecovery": "false",
    "db.ActiveReplMethod": "NONE",
    "db.isSiteConnValid": "true"
  }],
  "datastore.status": "Started",
  "datastore.isActiveHA": "false",
  "datastore.overallhealth": "Healthy",
  "datastore.lastfailover": -1,
  "datastore.lastbackup": 1400086521173,
  "messages": [{"msg": "WARNING Server machine 'https://MACHINE.DOMAIN.COM:6443/arcgis/admin/generateToken' returned an error. 'Failed to log in. Invalid username or password specified.'"}],
  "datastore.isRegistered": "true",
  "datastore.hasValidServerConnection": "false",
  "datastore.invalidServerMachinesList": [{
    "machineName": "MACHINE.DOMAIN.COM",
    "adminURL": "https://MACHINE.DOMAIN.COM:6443/arcgis/admin"
  }],
  "status": "success"
}

10/6/2017