- URL:
- https://<root>/data/items/enterpriseDatabases/<datastoreitem>/machines/machine/makePrimary
- Methods:
POST
- Required Capability:
- Access allowed with either the "Update", "Delete", "Security and Infrastructure", or "Servers" privileges
- Version Introduced:
- 10.3
Description
The make
operation promotes a standby machine to the primary Data Store machine while also downgrading the existing primary machine to act as a standby machine.
Request parameters
Parameter | Details |
---|---|
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the make
operation:
POST /webadaptor/admin/data/items/enterpriseDatabases/myDatastore/machines/DATASTOREMACHINE.DOMAIN.COM/makePrimary HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=pjson
JSON Response example
{"status": "success"}