On the Database Proxy page, you can view the basic configuration information of the proxy, the proxy endpoints, and perform operations such as creating public and private network connections.
Prerequisites
- You have created an instance and a tenant and obtained the public or private endpoint to manage.
- Project admins and instance admins can configure and delete public and private endpoints, while project members can only view the database proxy information.
View proxy basic information
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, click the name of the target instance to enter the Overview page of the instance.
In the left-side navigation pane, click Database Proxy.
On the Database Proxy page, expand the row for a proxy cluster to view its tenants and endpoints. To filter the list by tenant, select a tenant from the drop-down list in the upper-right corner.
Proxy clustersTenants and endpointsParameterDescriptionProxy Cluster ID The unique identifier of the database proxy cluster. Spec Type The specification type used by the proxy cluster, such as Shared or Exclusive. Node Specification The number of CPU cores and the amount of memory per proxy node. Proxy Version The version of the database proxy software running on the cluster. Architecture Version The architecture version used by the proxy cluster. Node Distribution The number of proxy nodes in each zone. For example, 1-1means that each of two zones contains one node.Deployment Mode The current deployment mode. If a tag next to the mode indicates a pending switch, hover over it for details. Node Zone(s) The zones where the proxy nodes run. For a primary-standby deployment, the primary and standby zones are listed separately. Status The current status of the proxy cluster. Actions Click ··· > Change configuration to change the proxy cluster configuration. For instructions, see Change proxy cluster configuration. ParameterDescriptionTenant Name/ID The name and ID of the tenant that uses the proxy endpoint. Click the tenant name to view its details. Primary Zone The primary zone associated with this endpoint. Proxy Endpoint Info Shows the proxy endpoint name and read/write mode. For a primary endpoint, it also shows the default read consistency level and high availability status. To see all endpoint properties, hover over the details link. Endpoints Lists addresses and available actions by connection type. For example, you can obtain a public address or view an existing one. For a Private Link endpoint, you may be able to create the endpoint or retrieve its connection string. For an existing address, you can also view details such as the maximum number of connections when shown.
Change proxy cluster configuration
Notice
- For Alibaba Cloud instances, when the same database proxy cluster has both an original private connection address and a Private Link endpoint, you cannot change the database proxy configuration. First switch your applications to the Private Link endpoint, then delete the original private connection address after verifying that it is no longer in use.
- For more information about migration, see MySQL mode guide and Oracle mode guide.
Change the configuration of an AWS proxy cluster
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, click the name of the target instance to enter the Overview page of the instance.
In the left-side navigation pane, click Database Proxy.
On the Database Proxy page, click ··· > Change configuration in the Actions column.
In the dialog box that appears, change the following configurations and click OK.
Configuration ItemDescriptionProxy Cluster Specification Type Select Serverless, Shared, or Exclusive from the available options. For details, see Database proxy overview and Database proxy billing. Note
Serverless specifications are available only to allowlisted users on AWS.
Proxy Cluster Deployment Mode Select a proxy cluster deployment mode from the options shown in the console. - Single-zone deployment: All nodes run in the same zone and handle traffic.
- Dual-zone deployment: Nodes run in two zones.
- Primary-standby (Exclusive only): The primary node handles most of the traffic. The standby node handles 1%. When you select zones for the primary and standby nodes in the console, choose the client’s zone for the primary node. Connections from the standby zone may be interrupted if a deployment mode change in the proxy cluster or database cluster takes that zone offline.
- Active-active: Both zones handle traffic.
- Three-zone deployment: Proxy nodes run in three zones. This mode is available only with the Exclusive tier.
- Primary-standby: The primary node handles most of the traffic. Each of the two standby nodes handles 1%.
- Multi-active: The three zones share traffic evenly.
Proxy Cluster Nodes The number of proxy cluster nodes. Target Node Zone(s) Select the zone for the proxy nodes. Deploying the primary endpoint’s proxy outside the tenant’s primary zone can increase SQL latency because traffic travels between zones. Node Specification Select the target specification. Shared and Exclusive specifications have different limits and increments. AWS: The minimum Shared specification is 1C 2G, with increments of 0.25C 0.5G. Exclusive specifications range from 1C 2G to 30C 60G, with increments of 1C 2G.
Change the configuration of an Alibaba Cloud proxy cluster
Warning
- On Alibaba Cloud, you can change the proxy tier, deployment mode, node zones, and node specification. You do not need to request access beforehand.
- A proxy configuration change can briefly interrupt application connections. Make the change during off-peak hours.
Log in to the OceanBase Cloud console and go to the target instance workspace.
In the left-side navigation pane, click Database proxy.
Find the target proxy cluster and click Change configuration.
If the proxy cluster serves multiple endpoints, select the endpoint to move in Create a new cluster for the specified address. The public and private connections for the same primary endpoint count as one endpoint.
After you submit the configuration, the system creates a separate proxy cluster for the selected endpoint. The original cluster continues to serve the other endpoints.
Configure the following settings as needed.
Configuration itemDescriptionProxy Cluster Specification Type Select Shared or Exclusive from the options shown. Note
- To create a Shared proxy cluster for an endpoint, you must have enough shared quota for the new cluster.
- For an existing Shared proxy cluster, you can keep the Shared tier and choose any available specification.
Proxy Cluster Deployment Mode Select an available deployment mode. - Single-zone deployment: All nodes run in the same zone.
- Dual-zone deployment: Nodes run in two zones.
- Primary-standby (Exclusive only): The primary node handles most of the traffic. The standby node handles 1%.
- Active-active: Both zones handle traffic.
- Three-zone deployment: Proxy nodes run in three zones. This mode is available only with the Exclusive tier.
- Three-zone Primary-standby Deployment: The primary node handles most of the traffic. Each of the two standby nodes handles 1%.
- Three-zone Multi-active Deployment: The three zones share traffic evenly.
Proxy Cluster Nodes View the node distribution for the target deployment mode. Target Node Zone(s) Select the target zone. For a primary-standby deployment, configure Target Primary Node Zone and Target Standby Node Zone separately. Target Node Specification Select the target node specification from the available options. Alibaba Cloud Primary Account ID Enter the primary Alibaba Cloud account ID that owns the target VPC. Note
This field is required only when you reconfigure a proxy for an original Alibaba Cloud private connection. You can skip it for a Private Link endpoint.
VPC Enter the ID of a target VPC in the same region as the instance. Note
This field is required only when you reconfigure a proxy for an original Alibaba Cloud private connection. You can skip it for a Private Link endpoint.
vSwitch Enter the ID of a vSwitch in the target VPC. We recommend selecting a vSwitch in the same zone as the primary proxy node to reduce cross-zone latency. After you change the VPC, check and update the vSwitch accordingly. Note
This field is required only when you reconfigure a proxy for an original Alibaba Cloud private connection. You can skip it for a Private Link endpoint.
Review the target configuration and click OK.
After the change is complete, check the proxy status, deployment mode, and proxy cluster associated with the target endpoint on the database proxy page.
Change the configuration of a Huawei Cloud proxy cluster
For Huawei Cloud instances, the configuration dialog provides specification type and size settings.
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, find the target instance, click the instance name, and go to the Overview page of the instance.
In the left-side navigation pane, click Database Proxy.
On the Database Proxy page, click Change configuration in the Proxy Cluster Details column to modify the proxy specifications.
- Exclusive: Specifications range from 2C 4G to 30C 60G in increments of 2C 4G.
- Shared: Specifications range from 2C 4G to 8C 16G in increments of 2C 4G.
For details about proxy specification types and billing, see Database proxy overview and Database proxy billing.
Upgrade the proxy cluster architecture
Note
- For Alibaba Cloud instances, you must request allowlist access before upgrading the proxy cluster architecture. Contact OceanBase Technical Support to request access. Instances from other cloud providers can use this feature without allowlist access.
- Architecture upgrades are supported for Huawei Cloud, AWS, and Alibaba Cloud instances that run Database Proxy Service V4.3.3 or later.
You can upgrade a database proxy cluster to architecture version 2.0. For more information about the architecture, see Database proxy overview.
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, click the name of the target instance to go to Overview.
In the left-side navigation pane, click Database proxy.
In the upper-right corner of the Database Proxy page, click Upgrade architecture for all proxies.
In the dialog box that appears, confirm the upgrade details and click Upgrade.