Skip To Content

Make Data Store Machine Primary

Description

This 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

ParameterDetails
f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample POST request for makePrimary:


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=json

JSON Response example

{"status": "success"}