Note
This parameter is available starting with V1.4.
Description
all_server_list specifies the addresses of all servers in the cluster.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | "" indicates an empty string. |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set the server addresses in the cluster to xx.xx.xx.01:2882;xx.xx.xx.02:2882;xx.xx.xx.03:2882.
obclient> ALTER SYSTEM SET all_server_list='xx.xx.xx.01:2882;xx.xx.xx.02:2882;xx.xx.xx.03:2882';