Cisco Unity Connection Provisioning Interface (CUPI) API -- Cluster
From DocWiki
Links to Other API pages: Cisco_Unity_Connection_APIs
| CUPI Guide Contents |
| API Overview Index of All CUPI Documentation |
Contents |
About Clusters
This page contains information on how to use the CUPI API to view cluster information.
Viewing
The following is an example of a GET that displays cluster information:
GET http://<connection-server>/vmrest/cluster
The following is the response from the above GET request:
200
OK
<?xml version="1.0" encoding="UTF-8"?>
<Cluster>
<Server>
<Key>24a001ce-5090-44ec-99b2-0a214a4f8884</Key>
<DatabaseReplication>0</DatabaseReplication>
<HostName>qa-ks-vm-48</HostName>
<Ipv6Name/>
<MacAddress/>
<Description/>
</Server>
<Server>
<Key>56831ca1-e855-6305-3d47-58a5f9dc6d2c</Key>
<DatabaseReplication>1</DatabaseReplication>
<HostName>qa-ks-vm-107.cisco.com</HostName>
<Ipv6Name/>
<MacAddress/>
<Description/>
</Server>
</Cluster>
For the DatabaseReplication field, a value of 0 indicates that the server is the publisher, whereas 1 indicates that it is the subscriber.