gaussdb__InvokeGaussMySqlInstanceSwitchOver
Switch over a GaussDB MySQL instance's primary and standby roles manually, promoting a specified read-only node to primary for planned maintenance or failover.
Instructions
[GAUSSDB] 用户手动进行主备倒换。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>",
"node_id": "<node_id>",
"project_id": "<project_id>"
},
"name": "gaussdb__InvokeGaussMySqlInstanceSwitchOver"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | 只读节点ID,倒换后为主节点。 | |
| project_id | Yes | 租户在某一region下的project ID。 | |
| instance_id | Yes | 租户在某一project下的实例ID。 |