How Do I Bring Down a Single Data Center from Active-Active or Hot Standby Mode to Standalone Mode?
About this task
This use case explains how to bring down a single data center from active-active or hot standby mode to standalone mode. You must bring down a data center to standalone mode in the following scenarios:
- When a data center is scheduled for maintenance.
- When you want to shut down a data center to relocate it permanently from one location to another.
By default, all the data centers are in standalone mode until you activate any other modes.
To bring down a data center to standalone mode
Procedure
Request: PUT http://uk.myhost.com:5555/rest/apigateway/dataspace/activate.
Sample payload:
{
"mode": "STANDALONE"
}
HTTP response appears as follows:
{
"mode": "STANDALONE",
}
When the data center is activated to standalone mode, the response status code displays as 200 and you can see the corresponding log entry in the Server Logs.
You can validate whether the data center is brought down to standalone mode by reading the current configuration of the data center using the GET/rest/apigateway/dataspace REST API. For more information, see How Do I Read the Current Configuration of the Data Center?.