This topic describes how to stop an observer process. Stopping an observer process makes the OBServer node unavailable. Proceed with caution.
Prerequisites
You have logged in to the OCP console as a user with the following privileges:
- The Cluster Maintenance resource privilege.
- The Overview menu privilege of the cluster.
Your OceanBase cluster is managed in the current OCP cluster.
Otherwise, you need to use the current OCP cluster to take over your OceanBase cluster. For more information, see Take over a cluster.
You cannot stop an observer process on a standalone node.
Procedure
Log in to the OCP console.
In the left-side navigation pane, click Cluster. The Clusters page automatically appears.
On the Clusters page, find the target cluster and click its name to go to the Overview page of the cluster.
In the OBServers section, find the OBServer node whose process you want to stop and click More > Stop Process in the Actions column.
In the dialog box that appears, specify whether to perform a minor compaction before stopping the process (the default is to perform a minor compaction) and click Stop Process.
A minor compaction prolongs the response time for stopping the process but significantly shortens the time required for the OBServer node to resume normal operation.
After the task is submitted, you can click View Tasks in the dialog box to view the task progress, or you can view the task progress in Task Center.
When the task status is Complete, and the status of the observer process is Stopped in the OBServers section of the Overview page, the process is stopped.