The "engine" object contains actions that can be used to interact with the database engines managed by the specified replication instance.
Examples
"info" example
{
"memphis": {
"name": "MEMPHIS",
"host": "localhost",
"port": "7597",
"uid": "admin",
"pwd": "ADMIN"
},
"engine": {
"name": "FAIRCOMS@HOST001",
"actions": [ "info" ]
}
}
"change" example
{
"memphis": {
"name": "MEMPHIS",
"uid": "admin",
"pwd": "ADMIN"
"host": "localhost"
},
"engine": {
"name": "FAIRCOMS@HOST001",
"actions": [ "change" ],
"properties": {
"read_only": false,
"description": "Server running on Windows",
"name": "FAIRCOMS@10.0.0.12",
"accept_connections": true
}
}
}
"list_publications" example
{
"memphis": {
"name": "MEMPHIS",
"host": "localhost",
"port": "7597",
"uid": "admin",
"pwd": "ADMIN"
},
"engine": {
"name": "FAIRCOMS@HOST001",
"actions": [ "list_publications" ]
}
}
Properties summary
Table 1.
"engine" actions summary
| Property | Description | Type |
|---|---|---|
| change | allows the user to change the specified server engine logical name, description, read-only mode, and accept connections | object |
| info | shows the specified server engine logical name, description, accept connections, read-only mode, serial number, working volume, working directory, and location of the main configuration file on the screen | object |
| list_publications |
lists the publications currently available on the specified server NoteThe This can be run together with |
“change”
Allows the user to change the specified server engine logical name, description, read-only mode, and accept connections.
Essential information
- It requires the "name" parameter to specify which server needs to be changed.
- The properties to be changed must be specified inside the "properties" JSON object.
- Specify only the properties that you want to be changed. Properties not specified will remain unchanged.
Properties summary
Table 2.
"change" properties summary
| Property | Description | Default | Type | Limits (inclusive) | ||
|---|---|---|---|---|---|---|
| accept_connections | controls the acceptance of connections from other replication agents | Boolean |
|
|||
| description | specifies the new description for the specified server | string | ||||
| name | specifies the new logical name for the specified server | string | ||||
| read_only | controls the serve's read-only mode | Boolean |
|