This section describes how to view Redis cluster details of a DCS instance in the DCS management console.
Procedure
1. Log in to the Redis management console.
2. In the upper left corner of the management console, click
and select the region where the instance is located.
3. On the instance list page, click the target instance name to go to the instance details management page.
4. In the instance node list, click the Redis cluster name to go to the Redis cluster management page.
5. There are basic information, node management, backup management, slow query log, running log and other functions for Redis clusters. On the basic information page, you can search for information such as the name, stop slot and active/standby role of each node in the cluster.
Click Node Management to view more information on the nodes:
Basic Information
Displays the Redis cluster information and performs strong consistency configuration. The node list mainly includes the node names, start slots, end slots, and active/standby roles. Click Resource Monitoring in the list to view the physical resource information of the machine where the node is located.
Strong consistency configuration: Strong consistency refers to whether consistency is required for data synchronization between the active and standby nodes. The function is disabled by default. When the active node is abnormal and the standby node has not completed data synchronization, active-standby switchover will not occur. Enable it if strong data consistency is required. It is recommended to keep it disabled.
Node Management
Node management mainly includes information such as clearing instance data, node name, AZ, active/standby, remaining memory, running status, and node operations.
The specific content of the page is described as follows:
Parameter | Description |
One-click detection readonly | Check whether all active nodes of the instance are in the read-only state. Used for fault diagnosis. |
Bulk active/standby switchover | Perform active-standby switchover on all nodes of the Redis cluster. |
Clear Instance Data | Clear all data of the instance. This process is irreversible. |
Node Name | The name of each node in the Redis cluster of the DCS instance. |
Availability Zone | The AZ of each node of the Redis cluster of the DCS instance. |
Leader-follower | The active/standby role of each node in the Redis cluster of the DCS instance. |
Remaining Memory | The remaining memory of each node of the Redis cluster of the DCS instance. |
Running State | The running status of each node of the Redis cluster of the DCS instance. |
Operation | 1. If the node is in the Running state, click the stop button to stop the node; if the node is in the stop state, click the start button to start the node.1. Click more to show the following menu: * Instance Configuration: You can modify the configuration information of the Redis node. See Modifying Instance Configuration Parameters. Note: Modifications to the above instance configuration will apply to instances in the entire cluster. Modification is not recommended. * Delete node data: Delete all data of the node. This operation is irreversible. * Resynchronize data: Resynchronize data between the active node and the standby node. * Active/Standby switchover: Performing an active/standby switchover on the current node. |
Backup Management
There is a low probability that abnormal events occur in the daily operation of the business system. For example, an exception may cause a large amount of dirty data to appear in the DCS instance, or the persistent file cannot be loaded after the instance recovers from a fault. Backup management supports auto backup and manual backup. To back up a DCS instance, see Instance Backup and Restoration Management.
The specific content of the page is described as follows:
Parameter | Description |
Data Flashback | Enabling data flashback can roll back the data to a specified point in time: Data flashback will clear all data of the instance and data will restore to a specified point in time. Please execute with caution. |
Backup Policy | You can select the backup cycle and time to perform auto backup. |
Manual Backup | Manually trigger Redis data backup |
Backup Point | Timestamp of the backup data. |
Backup Status | Status of the backup data. |
Type | Manual backup or auto backup. |
Restore Status | Whether the backup data has been restored to the instance. |
Operation | Restore: restore the backup data to the instance; delete: delete the backup data. |
Slow Query Log
You can query the slow query logs of the DCS instance on this page for troubleshooting. See Slow Query Log.
Running Log
You can query the running logs of the DCS instance on this page. For troubleshooting, see Running Log Query.