Provisioning SAP Replication Server databases
Use the following procedures to provision an SAP Replication Server database:
The base URL for the API is:
Creating an SAP Replication Server database
Use the following procedure to create an SAP Replication Server database.
Syntax
Method
POST
Required parameters
The required parameters are as follows:
- inst_name—Use the display name of the database.
- node—Use the fully qualified nodeId.
- version—Use the Sybase version for which you want to create the database.
- template_id—Use the ID provided in the templates of BDA interface.
Optional parameters
Use the parameter override_values to override the custom field values in the supplied Sybase template. You must provide values in this field when the following conditions exist:
- The custom fields are not defined in the supplied template.
- You have not provided the default values in the supplied template.
Example API response
A sample response is as follows:
"status": "success",
"status_code": 200,
"data": {
"job_id": "479",
"result": "Please check job '479' for info!!"
}
}
Example API command
A sample example is as follows:
Creating an SAP Replication Server Home
Use the following procedure to create an SAP Replication Server Home.
Syntax
Method
POST
Required parameters
The required parameters are as follows:
- inst_name—Use the display name of the instance.
- node—Use the fully qualified nodeId.
- version—Use the Sybase version for which you want to create the instance.
- template_id—Use the ID provided in the templates of BDA interface.
Optional parameters
Use the parameter override_values to override the custom field values in the supplied Sybase template. You must provide values in this field when the following conditions exist:
- The custom fields are not defined in the supplied template.
- You have not provided the default values in the supplied template.
Example API response
A sample response is as follows:
"status": "success",
"status_code": 200,
"data": {
"job_id": "479",
"result": "Please check job '479' for info!!"
}
}
Example API command
A sample example is as follows:
Starting an SAP Replication Server database
Use the following procedure to start an SAP Replication Server database.
Syntax
Method
POST
Required parameters
The required parameters are as follows:
- inst_name—Use the display name of the database.
- node—Use the fully qualified nodeId.
- sa_password—Use the sa_password of the instance.
Example API response
A sample response is as follows:
"status": "success",
"status_code": 200,
"data": {
"job_id": "479",
"result": "Please check job '479' for info!!"
}
}
Example API command
A sample example is as follows:
Stopping an SAP Replication Server instance
Use the following procedure to stop an SAP Replication Server instance.
Syntax
Method
POST
Required parameters
The required parameters are as follows:
- inst_name—Use the display name of the instance.
- node—Use the fully qualified nodeId.
- sa_password—Use the sa_password of the instance.
Example API response
A sample response is as follows:
"status": "success",
"status_code": 200,
"data": {
"job_id": "479",
"result": "Please check job '479' for info!!"
}
}
Example API command
A sample example is as follows:
Removing an SAP Replication Server instance
Use the following procedure to remove an SAP Replication Server instance.
Syntax
Method
POST
Required parameters
The required parameters are as follows:
- inst_name—Use the display name of the instance.
- node—Use the fully qualified nodeId.
- sa_password—Use the sa_password of the instance.
- template_id—Use the ID provided in the templates of BDA interface.
Example API response
A sample response is as follows:
"status": "success",
"status_code": 200,
"data": {
"job_id": "479",
"result": "Please check job '479' for info!!"
}
}
Example API command
A sample example is as follows:
Removing an SAP Replication Server Home
Use the following procedure to remove an SAP Replication Server Home.
Syntax
Method
POST
Required parameters
The required parameters are as follows:
- inst_name—Use the display name of the instance.
- node—Use the fully qualified nodeId.
- template_id—Use the ID provided in the templates of BDA interface.
Example API response
A sample response is as follows:
"status": "success",
"status_code": 200,
"data": {
"job_id": "479",
"result": "Please check job '479' for info!!"
}
}
Example API command
A sample example is as follows:
Related topic