Click Tenant Management in the left-side navigation pane to go to the Tenant Management page. You can click the name of a tenant in the Tenant List to go to the Overview page of the tenant. This topic describes the information on the Overview page and the operations that you can perform on the page.
Basic information
The Basic Information module displays the name, schema, OceanBase Database version, character set, collation, connection string, table name case sensitivity, time zone, lock status, creation time, and remarks of the tenant.
You can click the
icon after Connection String to copy the connection string for later use. You can click the
icon after Lock Status to modify the lock status. After you select the corresponding lock status, click OK. Locking a tenant prevents users from accessing it, so proceed with caution.
Replica details
On the Replica Details page, you can view the Zone name, Replica type, Unit specification, and Unit count of the replica. You can also modify and delete replicas.
Modify a replica
You can click Edit in the Actions column to modify the replica type and unit specification. The current configurable range is displayed under the corresponding unit configuration. Please configure it within the range. After the modification, click OK in the Actions column to confirm the modification.
You can also click Modify Unit in the upper-right corner of the Replica Details module to modify the unit count and unit specification for all zones. After the modification, click OK. obshell Dashboard will generate a batch unit modification task. You can click View Task to view the detailed execution information of the task.
Delete a replica
You can click Delete in the Actions column. In the pop-up window, click Delete. obshell Dashboard will generate a replica deletion task. You can click View Task to view the detailed execution information of the task.
You can also select multiple replicas by clicking the checkboxes before the replicas and click Batch Delete. In the pop-up window, click Delete. obshell Dashboard will generate a batch replica deletion task. You can click View Task to view the detailed execution information of the task. Click Cancel Selection to deselect all replicas, restoring them to the unselected state.
Notice
Replica data cannot be recovered after deletion. Proceed with caution.
Zone priority
The Zone Priority module displays the priority of primary replicas in the tenant. You can click the Modify button on the right side of the module to modify the zone priority.
The zone with the highest priority is considered the primary zone, and only one primary zone is allowed. If not specified, the first zone is considered the first priority. The sorting method is as follows:
Select one or more zones from the left list box. The left list box displays all available zones in the current cluster.
Click the > button in the middle. The selected zones will be moved to the Priority Sort list. Multiple selected zones have the same priority.
Repeat steps 1 and 2 to add zones with lower priority.
To adjust the priority, you can drag and drop the zones in the Priority Sort list to change the order. The priority decreases from top to bottom in the list.
You can click the delete button next to a zone or click Restore to Default to move the zones back to the left list.
After making changes, click the OK button. The obshell Dashboard will generate a task to modify the zone priority. You can click the View Task button to view the detailed execution information of the task.
Whitelist
The Whitelist module displays the list of addresses that can connect to the tenant. You can click the Modify button on the right side of the module to modify the whitelist.
You can customize the accessible IP addresses or set all IPs to be accessible. When you select the custom setting, you can specify the list of allowed client IPs in the Custom IP field. After entering an IP address, you can press the Enter key on the keyboard or enter a comma (,) to configure multiple node IPs. When you hover the cursor over View Configuration Instructions, you can view the instructions for configuring the IP address. The supported formats for configuring the IP address are as follows:
IP address, example: 127.0.0.10,127.0.0.11
Subnet/mask, example: 127.0.0.0/24
Fuzzy match, example: 127.0.0.% or 127.0.0._
Mixed formats, example: 127.0.0.10,127.0.0.11,127.0.0.%,127.0.0._,127.0.0.0/24
Note
Setting the IP address to % means that all clients can connect, which poses a security risk. Please proceed with caution.
Manage merges
The Merge Management module displays the status, last merge start time, and last merge end time of the current tenant. Click Initiate Merge next to the status and then click OK in the pop-up window to initiate a merge.
Add a replica
Click the Add Replica button in the upper-right corner of the Overview page. In the pop-up window, configure the replica information and click OK. The obshell Dashboard will generate a task to add the replica, and you can click View Task to view the detailed execution information of the task.
| Parameter | Description |
|---|---|
| Target Zone | Select the zone in which to add the replica from the drop-down list. |
| Replica Type | Select the replica type from the drop-down list. You can configure it as a Universal Replica or a Read-Only Replica. |
| Unit Specification | Set the CPU and memory specifications of the unit. |
| Unit Count | Displays the number of units in each zone. This parameter cannot be modified. |
Delete a tenant
Click the Delete Tenant button in the upper-right corner of the Overview page. Enter delete in the input field and click Delete. The obshell Dashboard will generate a task to delete the tenant, and you can click View Task to view the detailed execution information of the task.