If you no longer need the arbitration service, you can remove it from the cluster.
Prerequisites
The arbitration service is disabled for all tenants. Otherwise, an error will be reported when you remove the arbitration service. For more information, see Disable the arbitration service.
Procedure
Log on to the
systenant of the cluster as therootuser.Note that you must specify the corresponding fields in the following sample code based on your actual database configurations.
obclient -h10.xx.xx.xx -P2883 -uroot@sys -p***** -AFor more information about how to connect to a database, see Database connection overview (MySQL mode) or Database connection overview (Oracle mode).
Execute the following statement to remove the arbitration service:
ALTER SYSTEM REMOVE ARBITRATION SERVICE 'arb_server_ip:arb_server_port';Parameters:
arb_server_ip: the IP address of the server from which the arbitration service is removed.arb_server_port: the remote procedure call (RPC) port for the arbitration service to be removed. By default, Port 2882 is used.
Sample statement:
obclient [(none)]> ALTER SYSTEM REMOVE ARBITRATION SERVICE '100.xx.xx.xx:2882'; Query OK, 0 rows affected
What to do next
If you want to use the arbitration service after you remove it, you must redeploy the arbitration service.
More information
For more information about the arbitration service, see the following topics: