This topic describes how to restart an OBProxy. During the restart of an OBProxy, the OBProxy stops providing services. Proceed with caution.
If you have configured Server Load Balancer (SLB) instances for the OBProxy cluster, and other functional OBProxies are available in the cluster, business requests can be forwarded to the functional OBProxies by SLB instances. This avoids business interruptions due to the OBProxy restart.
Prerequisites
Make sure that you have the following permissions:
-
Resource Permissions : OBProxy Maintenance permission -
Menu Permissions : Permission on theOverview menu of OBProxy
-
In OBProxy earlier than V3.2.1, only the
Force Restart mode is supported. In OBProxy V3.2.1 and later, theForce Restart andRestart modes are supported.An OBProxy supports the
Restart mode only in theRunning state, and supports theForce Restart mode in other states.A force restart will first stop the OBProxy. We recommend that you perform the operation when the business traffic is low.
Procedure
Log on to the OCP console.
In the left-side navigation pane, click OBProxy.
In the
Clusters list, select the target OBProxy cluster to go to itsOverview page.Find the OBProxy that you want to restart, and choose More > Restart in the
Actions column.
You can also select multiple OBProxies and click
Batch Restart .
To restart all OBProxies in an OBProxy cluster, you can directly restart the cluster. For more information, see Restart an OBProxy cluster.
In the dialog box that appears, select
Restart orForce Restart .-
Restart (recommended): By default, business access to the database is not interrupted during a restart. If your business involves long-running transactions, we recommend that you set thehot_upgrade_exit_timeoutparameter to an appropriate value or ensure that application connections can be retried. -
Force Restart : The client that connects to the OBProxy is disconnected, which results in business interruptions.
-
In the dialog box that appears, click
View Task to view the progress.When the task enters the
Completed state, and the status of the OBProxy is displayed asRunning in theOBProxies list on theOverview page, the OBProxy is restarted.