Machines In Cluster

Description

NoteNote:

Clusters have been deprecated. The use of clusters for new deployments is strongly discouraged and existing deployments are advised to migrate away from use of clusters as part of ongoing maintenance and upgrades.

This resource lists all the server machines that are currently participating in the cluster. Each server machine listing is accompanied by its status indicating whether the server machine is running or stopped.

The list of server machines participating in a cluster is dynamic as machines can be added or removed.

Request Parameters

Parameter

Details

f

Description: The response format. The default response format is html.

Values: html | json

Response Format

{ 
  "machines": [ 
    { 
     "configuredState": "<STARTED|STOPPPED>" 
     "realTimeState": "<STARTED|STOPPPED>" 
     "machineName": "<machine1>" 
    }, 
    { 
     "configuredState": "<STARTED|STOPPPED>" 
     "realTimeState": "<STARTED|STOPPPED>" 
     "machineName": "<machine2>" 
    },... 
}

Example Usage

{ 
  "machines": [ 
    { 
     "configuredState": "STARTED" 
     "realTimeState": "STARTED" 
     "machineName": "SERVER1.DOMAIN.COM" 
    }, 
    { 
     "configuredState": "STOPPPED" 
     "realTimeState": "STOPPPED" 
     "machineName": "SERVER2.DOMAIN.COM" 
    }
}

7/5/2017