检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Process of Using DCS How to Manage DCS Instances You can access Distributed Cache Service (DCS) from the web-based management console or by using RESTful application programming interfaces (APIs) through HTTPS requests. Using the console You can sign up and log in to the console,
Viewing DCS Metrics The Cloud Eye service monitors the running performance your DCS instances. Procedure Log in to the DCS console. Click in the upper left corner of the console and select the region where your instance is located. In the navigation pane, choose Cache Manager. Click
Monitored DCS Events Introduction Event monitoring provides event collection, query, and alarm reporting. These major events or DCS operation events can be collected to Cloud Eye to alarm. Namespace SYS.DCS Monitored events Table 1 DCS events Event Name Event ID Event Severity Description
Restoring DCS Instances This section describes how to restore instances on the DCS console. This function helps restore instances deleted by mistake. To migrate backup data to other DCS instances, see Backup Import Between DCS Redis Instances. Notes and Constraints You can enable
Common DCS Metrics This section describes common Redis metrics. Table 1 Common metrics Metric Description CPU Usage This metric indicates the maximum value in each measurement period (minute-level: every minute; second-level: every 5 seconds). For a single-node or master/standby instance
Deleting a DCS Instance On the DCS console, you can delete one or multiple DCS instances at a time. You can also delete all instance creation tasks that have failed to run. Notes and Constraints The DCS instances exist, and must be in the Running, Faulty, or Stopped state. Deleting
DCS Dashboard Template DCS is an in-memory database service. It is compatible with Redis, an in-memory database engine, and meets your requirements for high concurrency and fast data access. LTS collects, stores, and queries cloud resource operation records. You can use these records
Restoring a DCS Instance Function This API is used to restore the backup data to a specific DCS instance. Only master/standby and cluster DCS instances can be backed up and restored, while single-node instances cannot. Calling Method For details, see Calling APIs. URI POST /v2/{project_id
Querying a DCS instance Function This API is used to query the details about a specified DCS instance. Calling Method For details, see Calling APIs. URI GET /v2/{project_id}/instances/{instance_id} Table 1 Path Parameters Parameter Mandatory Type Description instance_id Yes String
Creating a DCS Instance Function This API is used to create a DCS instance which is billed in pay-per-use mode. Calling Method For details, see Calling APIs. URI POST /v2/{project_id}/instances Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project
Creating a DCS Instance Function This API is used to create a DCS instance billed in pay-per-use mode. URI POST /v1.0/{project_id}/instances Table 1 describes the parameter. Table 1 Parameter description Parameter Type Mandatory Description project_id String Yes Project ID. For details
Querying a DCS Instance Function This API is used to query the details about a specified DCS instance. URI GET /v1.0/{project_id}/instances/{instance_id} Table 1 describes the parameters. Table 1 Parameter description Parameter Type Mandatory Description project_id String Yes For
Restoring a DCS Instance Function This API is used to restore a specified DCS instance. Only master/standby and cluster DCS instances can be backed up and restored, while single-node instances cannot. URI POST /v1.0/{project_id}/instances/{instance_id}/restores Table 1 describes the
DCS Instance Statuses Table 1 DCS instance statuses State Description CREATING Creating is the status before the Running state. CREATEFAILED The DCS instance failed to be created. RUNNING The instance is running properly. Only instances in the Running state can provide in-memory cache
Common ECS Ports When adding a security group rule, you must specify a port or port range for communications. Traffic is then allowed or denied if traffic matches this rule. Suppose a client requests to remotely log in to an ECS using SSH. When the request reaches the security group
Querying the DCS Table This statement is used to query data in a DCS table. Syntax 1 SELECT * FROM table_name LIMIT number; Keywords LIMIT is used to limit the query results. Only INT type is supported by the number parameter. Example Query data in the test_redis table. 1 SELECT
Auto-renewing a DCS Instance Auto-renewal is easier and prevents DCS instances from being automatically deleted if you forget to manually renew them. The auto-renewal rules are as follows: The first auto-renewal date and billing period are calculated based on the expiration date of
Diagnosing DCS Instances Scenarios By collecting and analyzing metrics such as flow control, memory usage, and command duration statistics, you can quickly learn about the overall usage of DCS and acquire troubleshooting methods. Precautions DCS diagnosis can be performed for Redis
DCS Instance Types Single-Node Redis Master/Standby Redis Proxy Cluster Redis Redis Cluster Read/Write Splitting Redis Comparing DCS Redis Instance Types Single-Node Memcached (Discontinued) Master/Standby Memcached (Discontinued)
What Is DCS? Huawei Cloud Distributed Cache Service (DCS) is an online, distributed, fast in-memory cache service compatible with Redis. It is reliable, scalable, usable out of the box, and easy to manage, meeting your requirements for high read/write performance and fast data access