"engine"
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" ] } }
{ "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 } } }
{ "memphis": { "name": "MEMPHIS", "host": "localhost", "port": "7597", "uid": "admin", "pwd": "ADMIN" }, "engine": { "name": "FAIRCOMS@HOST001", "actions": [ "list_publications" ] } }
Property summary
"engine"
action summariesProperty | Description | Type |
---|---|---|
| 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 |
allows the user to change the specified server engine logical name, description, read-only mode, and accept connections | object | |
| lists the publications currently available on the specified server Note
| object |
Allows the user to change the specified server engine logical name, description, read-only mode, and accept connections.
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.
Property summary
"change"
property summariesProperty | Description | Default | Type | Limits (inclusive) | ||
---|---|---|---|---|---|---|
| defines the new logical name for the specified server | string | ||||
| defines the new description for the specified server | string | ||||
| controls the serve's read-only mode | Boolean |
| |||
| controls the acceptance of connections from other replication agents | Boolean |
|