diff --git a/docs/dcs/umn/ALL_META.TXT.json b/docs/dcs/umn/ALL_META.TXT.json new file mode 100644 index 000000000..59cc37a2d --- /dev/null +++ b/docs/dcs/umn/ALL_META.TXT.json @@ -0,0 +1,1602 @@ +[ + { + "uri":"dcs-pd-0326001.html", + "product_code":"dcs", + "code":"1", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Service Overview", + "title":"Service Overview", + "githuburl":"" + }, + { + "uri":"en-us_topic_0054235826.html", + "product_code":"dcs", + "code":"2", + "des":"Distributed Cache Service (DCS) is an online, distributed, in-memory cache service compatible with Redis. It is reliable, scalable, usable out of the box, and easy to man", + "doc_type":"usermanual", + "kw":"What Is DCS?,Service Overview,User Guide", + "title":"What Is DCS?", + "githuburl":"" + }, + { + "uri":"dcs-pd-0326002.html", + "product_code":"dcs", + "code":"3", + "des":"Many large-scale e-commerce websites and video streaming and gaming applications require fast access to large amounts of data that has simple data structures and does not", + "doc_type":"usermanual", + "kw":"Application Scenarios,Service Overview,User Guide", + "title":"Application Scenarios", + "githuburl":"" + }, + { + "uri":"dcs-pd-200312001.html", + "product_code":"dcs", + "code":"4", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"DCS Instance Types", + "title":"DCS Instance Types", + "githuburl":"" + }, + { + "uri":"CacheSingleNode.html", + "product_code":"dcs", + "code":"5", + "des":"Three Redis versions are available for single-node DCS Redis instances: Redis 3.0, Redis 4.0, and Redis 5.0.Low system overhead and high QPSSingle-node instances do not s", + "doc_type":"usermanual", + "kw":"Single-Node Redis,DCS Instance Types,User Guide", + "title":"Single-Node Redis", + "githuburl":"" + }, + { + "uri":"CacheMasterSlave.html", + "product_code":"dcs", + "code":"6", + "des":"This section describes master/standby DCS Redis instances. Three Redis versions are available for master/standby DCS Redis instances: Redis 3.0, Redis 4.0, and Redis 5.0.", + "doc_type":"usermanual", + "kw":"Master/Standby Redis,DCS Instance Types,User Guide", + "title":"Master/Standby Redis", + "githuburl":"" + }, + { + "uri":"CacheCluster.html", + "product_code":"dcs", + "code":"7", + "des":"DCS provides two types of cluster Redis instances: Proxy Cluster and Redis Cluster. Proxy Cluster uses Linux Virtual Server (LVS) and proxies. Redis Cluster is the native", + "doc_type":"usermanual", + "kw":"Proxy Cluster Redis,DCS Instance Types,User Guide", + "title":"Proxy Cluster Redis", + "githuburl":"" + }, + { + "uri":"CacheProxy.html", + "product_code":"dcs", + "code":"8", + "des":"This section describes Redis Cluster DCS Redis 4.0 and 5.0 instances.The Redis Cluster instance type provided by DCS is compatible with the native Redis Cluster, which us", + "doc_type":"usermanual", + "kw":"Redis Cluster,DCS Instance Types,User Guide", + "title":"Redis Cluster", + "githuburl":"" + }, + { + "uri":"en-us_topic_0054235835.html", + "product_code":"dcs", + "code":"9", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"DCS Instance Specifications", + "title":"DCS Instance Specifications", + "githuburl":"" + }, + { + "uri":"dcs-pd-0916001.html", + "product_code":"dcs", + "code":"10", + "des":"This section describes DCS Redis 3.0 instance specifications, including the total memory, available memory, maximum number of connections allowed, maximum/assured bandwid", + "doc_type":"usermanual", + "kw":"DCS Redis 3.0 instance specifications,Redis 3.0 Instance Specifications,DCS Instance Specifications,", + "title":"Redis 3.0 Instance Specifications", + "githuburl":"" + }, + { + "uri":"dcs-pd-0916002.html", + "product_code":"dcs", + "code":"11", + "des":"This section describes DCS Redis 4.0 and 5.0 instance specifications, including the total memory, available memory, maximum number of connections allowed, maximum/assured", + "doc_type":"usermanual", + "kw":"DCS Redis 4.0 and 5.0 instance specifications,Redis 4.0 and 5.0 Instance Specifications,DCS Instance", + "title":"Redis 4.0 and 5.0 Instance Specifications", + "githuburl":"" + }, + { + "uri":"dcs-pd-200312003.html", + "product_code":"dcs", + "code":"12", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Command Compatibility", + "title":"Command Compatibility", + "githuburl":"" + }, + { + "uri":"dcs-pd-200713005.html", + "product_code":"dcs", + "code":"13", + "des":"DCS for Redis 3.0 is developed based on Redis 3.0.7 and is compatible with open-source protocols and commands.This section describes DCS for Redis 3.0's compatibility wit", + "doc_type":"usermanual", + "kw":"Redis 3.0 Commands,Command Compatibility,User Guide", + "title":"Redis 3.0 Commands", + "githuburl":"" + }, + { + "uri":"dcs-pd-200916001.html", + "product_code":"dcs", + "code":"14", + "des":"DCS for Redis 4.0 is developed based on Redis 4.0.14 and is compatible with open-source protocols and commands.This section describes DCS for Redis 4.0's compatibility wi", + "doc_type":"usermanual", + "kw":"Redis 4.0 Commands,Command Compatibility,User Guide", + "title":"Redis 4.0 Commands", + "githuburl":"" + }, + { + "uri":"dcs-pd-200813002.html", + "product_code":"dcs", + "code":"15", + "des":"DCS for Redis 5.0 is developed based on Redis 5.0.9 and is compatible with open-source protocols and commands.This section describes DCS for Redis 5.0's compatibility wit", + "doc_type":"usermanual", + "kw":"Redis 5.0 Commands,Command Compatibility,User Guide", + "title":"Redis 5.0 Commands", + "githuburl":"" + }, + { + "uri":"dcs-pd-190826001.html", + "product_code":"dcs", + "code":"16", + "des":"Web CLI is a command line tool provided on the DCS console. This section describes Web CLI's compatibility with Redis commands, including supported and disabled commands.", + "doc_type":"usermanual", + "kw":"Web CLI Commands,Command Compatibility,User Guide", + "title":"Web CLI Commands", + "githuburl":"" + }, + { + "uri":"dcs-pd-200813003.html", + "product_code":"dcs", + "code":"17", + "des":"Some Redis commands are supported by cluster DCS instances for multi-key operations in the same slot. For details, see Table 1.While running commands that take a long tim", + "doc_type":"usermanual", + "kw":"Command Restrictions for Cluster Instances,Command Compatibility,User Guide", + "title":"Command Restrictions for Cluster Instances", + "githuburl":"" + }, + { + "uri":"dcs-pd-200813004.html", + "product_code":"dcs", + "code":"18", + "des":"This section describes restrictions on some Redis commands.In case of a large amount of cached data, running the KEYS command may block the execution of other commands fo", + "doc_type":"usermanual", + "kw":"Other Command Usage Restrictions,Command Compatibility,User Guide", + "title":"Other Command Usage Restrictions", + "githuburl":"" + }, + { + "uri":"GlobalDRPolicy.html", + "product_code":"dcs", + "code":"19", + "des":"Whether you use DCS as the frontend cache or backend data store, DCS is always ready to ensure data reliability and service availability. The following figure shows the e", + "doc_type":"usermanual", + "kw":"HA and DR Policies,Service Overview,User Guide", + "title":"HA and DR Policies", + "githuburl":"" + }, + { + "uri":"RedisDifference.html", + "product_code":"dcs", + "code":"20", + "des":"When creating a DCS Redis instance, you can select the cache engine version and the instance type.VersionDCS supports Redis 3.0, 4.0, and 5.0. The following table describ", + "doc_type":"usermanual", + "kw":"Comparing Redis Versions,Service Overview,User Guide", + "title":"Comparing Redis Versions", + "githuburl":"" + }, + { + "uri":"dcs-pd-0326003.html", + "product_code":"dcs", + "code":"21", + "des":"DCS supports single-node, master/standby, and cluster instances, ensuring high read/write performance and fast data access. It also supports various instance management o", + "doc_type":"usermanual", + "kw":"Comparing DCS and Open-Source Cache Services,Service Overview,User Guide", + "title":"Comparing DCS and Open-Source Cache Services", + "githuburl":"" + }, + { + "uri":"dcs-pd-200312004.html", + "product_code":"dcs", + "code":"22", + "des":"An instance is the minimum resource unit provided by DCS.DCS supports the Redis cache engine, and single-node, master/standby, and cluster instance types. For each instan", + "doc_type":"usermanual", + "kw":"Basic Concepts,Service Overview,User Guide", + "title":"Basic Concepts", + "githuburl":"" + }, + { + "uri":"dcs-pd-210626001.html", + "product_code":"dcs", + "code":"23", + "des":"If you need to assign different permissions to employees in your enterprise to access your DCS resources, Identity and Access Management (IAM) is a good choice for fine-g", + "doc_type":"usermanual", + "kw":"Permissions Management,Service Overview,User Guide", + "title":"Permissions Management", + "githuburl":"" + }, + { + "uri":"dcs-pd-0326006.html", + "product_code":"dcs", + "code":"24", + "des":"DCS is used together with other services, including VPC, ECS, IAM, Cloud Eye, CTS, and Object Storage Service (OBS).A VPC is an isolated virtual network environment on th", + "doc_type":"usermanual", + "kw":"Related Services,Service Overview,User Guide", + "title":"Related Services", + "githuburl":"" + }, + { + "uri":"en-us_topic_0054235836.html", + "product_code":"dcs", + "code":"25", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Accessing DCS", + "title":"Accessing DCS", + "githuburl":"" + }, + { + "uri":"en-us_topic_0054235837.html", + "product_code":"dcs", + "code":"26", + "des":"There are two ways to access DCS:Using the management consoleThe DCS provides a web-based management console. To launch the DCS console, create an account on the manageme", + "doc_type":"usermanual", + "kw":"How to Access DCS,Accessing DCS,User Guide", + "title":"How to Access DCS", + "githuburl":"" + }, + { + "uri":"en-us_topic_0054247786.html", + "product_code":"dcs", + "code":"27", + "des":"The public cloud system provides two types of user permissions by default: user management and resource management.User management refers to the management of users, user", + "doc_type":"usermanual", + "kw":"User Permissions,Accessing DCS,User Guide", + "title":"User Permissions", + "githuburl":"" + }, + { + "uri":"dcs-ug-210626003.html", + "product_code":"dcs", + "code":"28", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Permissions Management", + "title":"Permissions Management", + "githuburl":"" + }, + { + "uri":"dcs-ug-210626004.html", + "product_code":"dcs", + "code":"29", + "des":"This chapter describes how to use IAM to implement fine-grained permissions control for your DCS resources. With IAM, you can:Create IAM users for employees based on your", + "doc_type":"usermanual", + "kw":"Creating a User and Granting DCS Permissions,Permissions Management,User Guide", + "title":"Creating a User and Granting DCS Permissions", + "githuburl":"" + }, + { + "uri":"dcs-ug-210626005.html", + "product_code":"dcs", + "code":"30", + "des":"Custom policies can be created to supplement the system-defined policies of DCS. For the actions that can be added for custom policies, see Permissions Policies and Suppo", + "doc_type":"usermanual", + "kw":"DCS Custom Policies,Permissions Management,User Guide", + "title":"DCS Custom Policies", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326007.html", + "product_code":"dcs", + "code":"31", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Getting Started", + "title":"Getting Started", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312003.html", + "product_code":"dcs", + "code":"32", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Creating an Instance", + "title":"Creating an Instance", + "githuburl":"" + }, + { + "uri":"PurchasePreparation.html", + "product_code":"dcs", + "code":"33", + "des":"Before creating a DCS instance, identify your requirements and complete the following preparations:Decide on the required cache engine version.Different Redis versions ha", + "doc_type":"usermanual", + "kw":"Identifying Requirements,Creating an Instance,User Guide", + "title":"Identifying Requirements", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312004.html", + "product_code":"dcs", + "code":"34", + "des":"To access DCS instances through a Virtual Private Cloud (VPC), create a VPC and configure security groups and subnets for it before using DCS. A VPC provides an isolated ", + "doc_type":"usermanual", + "kw":"Preparing the Environment,Creating an Instance,User Guide", + "title":"Preparing the Environment", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326008.html", + "product_code":"dcs", + "code":"35", + "des":"You can create one or more DCS Redis instances with the required computing capabilities and storage space based on service requirements.The system automatically schedules", + "doc_type":"usermanual", + "kw":"Creating a DCS Redis Instance,Creating an Instance,User Guide", + "title":"Creating a DCS Redis Instance", + "githuburl":"" + }, + { + "uri":"dcs-ug-0916002.html", + "product_code":"dcs", + "code":"36", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Accessing an Instance", + "title":"Accessing an Instance", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326009.html", + "product_code":"dcs", + "code":"37", + "des":"Access a DCS Redis instance through redis-cli on an ECS in the same VPC. For more information on how to use other Redis clients, visit https://redis.io/clients.Redis 3.0 ", + "doc_type":"usermanual", + "kw":"Accessing a DCS Redis Instance Through redis-cli,Accessing an Instance,User Guide", + "title":"Accessing a DCS Redis Instance Through redis-cli", + "githuburl":"" + }, + { + "uri":"dcs-ug-0512002.html", + "product_code":"", + "code":"38", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"", + "kw":"Access in Different Languages", + "title":"Access in Different Languages", + "githuburl":"" + }, + { + "uri":"dcs-ug-211105003.html", + "product_code":"dcs", + "code":"39", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Java", + "title":"Java", + "githuburl":"" + }, + { + "uri":"dcs-ug-0713005.html", + "product_code":"dcs", + "code":"40", + "des":"Access a DCS Redis instance through Jedis on an ECS in the same VPC. For more information on how to use other Redis clients, visit https://redis.io/clients.If a password ", + "doc_type":"usermanual", + "kw":"Access a DCS Redis instance through Jedis,Jedis,Java,User Guide", + "title":"Jedis", + "githuburl":"" + }, + { + "uri":"dcs-ug-211011001.html", + "product_code":"dcs", + "code":"41", + "des":"Access a Redis Cluster instance through Lettuce on an ECS in the same VPC. For more information on how to use other Redis clients, visit https://redis.io/clients.If a pas", + "doc_type":"usermanual", + "kw":"Access a Redis Cluster instance through Lettuce,Lettuce,Java,User Guide", + "title":"Lettuce", + "githuburl":"" + }, + { + "uri":"dcs-ug-211105004.html", + "product_code":"dcs", + "code":"42", + "des":"Access a DCS Redis instance through Redisson on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.If a p", + "doc_type":"usermanual", + "kw":"Access a DCS Redis instance through Redisson,Redisson,Java,User Guide", + "title":"Redisson", + "githuburl":"" + }, + { + "uri":"dcs-ug-211203001.html", + "product_code":"dcs", + "code":"43", + "des":"A DCS Redis instance has been created and is in the Running state.An ECS has been created. For details about how to create an ECS, see Elastic Cloud Server User Guide.If ", + "doc_type":"usermanual", + "kw":"Lettuce Integration with Spring Boot,Access in Different Languages,User Guide", + "title":"Lettuce Integration with Spring Boot", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312011.html", + "product_code":"dcs", + "code":"44", + "des":"Access a DCS Redis instance through redis-py on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.Use re", + "doc_type":"usermanual", + "kw":"redis-py,Clients in Python,Access in Different Languages,User Guide", + "title":"Clients in Python", + "githuburl":"" + }, + { + "uri":"dcs-ug-211105001.html", + "product_code":"dcs", + "code":"45", + "des":"Access a DCS Redis instance through go-redis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.A DCS ", + "doc_type":"usermanual", + "kw":"Access a DCS Redis instance through go-redis,go-redis,Access in Different Languages,User Guide", + "title":"go-redis", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312010.html", + "product_code":"dcs", + "code":"46", + "des":"Access a DCS Redis instance through hiredis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.The ope", + "doc_type":"usermanual", + "kw":"Access a DCS Redis instance through hiredis,hiredis in C++,Access in Different Languages,User Guide", + "title":"hiredis in C++", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312013.html", + "product_code":"dcs", + "code":"47", + "des":"Access a DCS Redis instance through C# Client StackExchange.Redis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis of", + "doc_type":"usermanual", + "kw":"C# Client StackExchange.Redis,C#,Access in Different Languages,User Guide", + "title":"C#", + "githuburl":"" + }, + { + "uri":"dcs-ug-211202001.html", + "product_code":"dcs", + "code":"48", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"PHP", + "title":"PHP", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312009.html", + "product_code":"dcs", + "code":"49", + "des":"Access a DCS Redis instance through phpredis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.The op", + "doc_type":"usermanual", + "kw":"Access a DCS Redis instance through phpredis,phpredis,PHP,User Guide", + "title":"phpredis", + "githuburl":"" + }, + { + "uri":"dcs-ug-211202002.html", + "product_code":"dcs", + "code":"50", + "des":"Access a DCS Redis instance through Predis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.A DCS Re", + "doc_type":"usermanual", + "kw":"Access a DCS Redis instance through Predis,Predis,PHP,User Guide", + "title":"Predis", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312012.html", + "product_code":"dcs", + "code":"51", + "des":"Access a DCS Redis instance through Node.js on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.The ope", + "doc_type":"usermanual", + "kw":"Node.js,Node.js,Access in Different Languages,User Guide", + "title":"Node.js", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312008.html", + "product_code":"dcs", + "code":"52", + "des":"Access a DCS Redis instance through Web CLI. This function is supported only by DCS Redis 4.0 and 5.0 instances, and not by DCS Redis 3.0 instances.Do not enter sensitive", + "doc_type":"usermanual", + "kw":"Access a DCS Redis,Web CLI,Accessing a DCS Redis 4.0 or 5.0 Instance on the Console,Accessing an Ins", + "title":"Accessing a DCS Redis 4.0 or 5.0 Instance on the Console", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312016.html", + "product_code":"dcs", + "code":"53", + "des":"On the DCS console, you can view DCS instance details.Search by keyword.Enter a keyword to search.Enter a keyword to search.Select attributes and enter their keywords to ", + "doc_type":"usermanual", + "kw":"view DCS,Viewing Details of a DCS Instance,Getting Started,User Guide", + "title":"Viewing Details of a DCS Instance", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326010.html", + "product_code":"dcs", + "code":"54", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Operation Guide", + "title":"Operation Guide", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312015.html", + "product_code":"dcs", + "code":"55", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Operating DCS Instances", + "title":"Operating DCS Instances", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326011.html", + "product_code":"dcs", + "code":"56", + "des":"On the DCS console, you can scale a DCS Redis instance to a larger or smaller capacity.Modify instance specifications during off-peak hours.If your DCS instances are too ", + "doc_type":"usermanual", + "kw":"Modifying DCS Instance Specifications,Operating DCS Instances,User Guide", + "title":"Modifying DCS Instance Specifications", + "githuburl":"" + }, + { + "uri":"dcs-ug-0911001.html", + "product_code":"dcs", + "code":"57", + "des":"On the DCS console, you can start one or multiple DCS instances at a time.This function is not supported by recent instances. You can only start old instances that have b", + "doc_type":"usermanual", + "kw":"Starting DCS Instances,Operating DCS Instances,User Guide", + "title":"Starting DCS Instances", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326013.html", + "product_code":"dcs", + "code":"58", + "des":"On the DCS console, you can restart one or multiple DCS instances at a time.After a single-node DCS instance is restarted, data will be deleted from the instance.While a ", + "doc_type":"usermanual", + "kw":"restart one or multiple DCS instances,Restarting DCS Instances,Operating DCS Instances,User Guide", + "title":"Restarting DCS Instances", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326014.html", + "product_code":"dcs", + "code":"59", + "des":"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.After a DCS instance i", + "doc_type":"usermanual", + "kw":"delete one or multiple DCS instances,Deleting DCS Instances,Operating DCS Instances,User Guide", + "title":"Deleting DCS Instances", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312017.html", + "product_code":"dcs", + "code":"60", + "des":"On the DCS console, you can manually switch the master and standby nodes of a DCS instance. This operation is used for special purposes, for example, releasing all servic", + "doc_type":"usermanual", + "kw":"Performing a Master/Standby Switchover for a DCS Instance,Operating DCS Instances,User Guide", + "title":"Performing a Master/Standby Switchover for a DCS Instance", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312018.html", + "product_code":"dcs", + "code":"61", + "des":"On the DCS console, you can clear data only for DCS Redis 4.0 and 5.0 instances.Clearing instance data cannot be undone and cleared data cannot be recovered. Exercise cau", + "doc_type":"usermanual", + "kw":"clear data,Clearing DCS Instance Data,Operating DCS Instances,User Guide", + "title":"Clearing DCS Instance Data", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312019.html", + "product_code":"dcs", + "code":"62", + "des":"On the DCS console, you can export DCS instance information in full to an Excel file.Click the export result displayed in the lower left corner of the page.", + "doc_type":"usermanual", + "kw":"Exporting DCS Instance List,Operating DCS Instances,User Guide", + "title":"Exporting DCS Instance List", + "githuburl":"" + }, + { + "uri":"dcs-ug-1009002.html", + "product_code":"dcs", + "code":"63", + "des":"After creating a DCS Redis 4.0 or 5.0 instance, you can rename the following critical commands: COMMAND, KEYS, FLUSHDB, FLUSHALL, and HGETALL.You can rename multiple comm", + "doc_type":"usermanual", + "kw":"Command Renaming,Operating DCS Instances,User Guide", + "title":"Command Renaming", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312022.html", + "product_code":"dcs", + "code":"64", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Managing DCS Instances", + "title":"Managing DCS Instances", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312023.html", + "product_code":"dcs", + "code":"65", + "des":"In most cases, different DCS instance management operations cannot proceed concurrently. If you initiate a new management operation while the current operation is in prog", + "doc_type":"usermanual", + "kw":"Configuration Notice,Managing DCS Instances,User Guide", + "title":"Configuration Notice", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312024.html", + "product_code":"dcs", + "code":"66", + "des":"You can modify the configuration parameters of your DCS instance to optimize DCS performance based on your requirements.For example, if you do not need data persistence, ", + "doc_type":"usermanual", + "kw":"Modifying Configuration Parameters,Managing DCS Instances,User Guide", + "title":"Modifying Configuration Parameters", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312025.html", + "product_code":"dcs", + "code":"67", + "des":"On the DCS console, after creating a DCS instance, you can modify the maintenance time window of the DCS instance on the instance's Basic Information page.At least one DC", + "doc_type":"usermanual", + "kw":"modify the maintenance time window,Modifying Maintenance Time Window,Managing DCS Instances,User Gui", + "title":"Modifying Maintenance Time Window", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312026.html", + "product_code":"dcs", + "code":"68", + "des":"On the DCS console, after creating a DCS instance, you can modify the security group of the DCS instance on the instance's Basic Information page.You can modify the secur", + "doc_type":"usermanual", + "kw":"modify the security group,Modifying the Security Group,Managing DCS Instances,User Guide", + "title":"Modifying the Security Group", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312028.html", + "product_code":"dcs", + "code":"69", + "des":"After you initiate certain instance operations such as modifying instance specifications and changing or resetting a password, a background task will start for the operat", + "doc_type":"usermanual", + "kw":"Viewing Background Tasks,Managing DCS Instances,User Guide", + "title":"Viewing Background Tasks", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312029.html", + "product_code":"dcs", + "code":"70", + "des":"You can view the data storage statistics of all nodes of a DCS Redis 3.0 Proxy Cluster instance. If data storage is unevenly distributed across nodes, you can scale up th", + "doc_type":"usermanual", + "kw":"Viewing Data Storage Statistics of a DCS Redis 3.0 Proxy Cluster Instance,Managing DCS Instances,Use", + "title":"Viewing Data Storage Statistics of a DCS Redis 3.0 Proxy Cluster Instance", + "githuburl":"" + }, + { + "uri":"dcs-ug-210107001.html", + "product_code":"", + "code":"71", + "des":"This section describes how to query the shards and replicas of a DCS Redis 4.0 or 5.0 instance and how to manually promote a replica to master.Currently, this function is", + "doc_type":"", + "kw":"Managing Shards and Replicas,Managing DCS Instances,User Guide", + "title":"Managing Shards and Replicas", + "githuburl":"" + }, + { + "uri":"dcs-ug-190808001.html", + "product_code":"dcs", + "code":"72", + "des":"By performing big key analysis and hot key analysis, you will have a picture of keys that occupy a large space and keys that are the most frequently accessed.Notes on big", + "doc_type":"usermanual", + "kw":"Cache Analysis,Managing DCS Instances,User Guide", + "title":"Cache Analysis", + "githuburl":"" + }, + { + "uri":"dcs-ug-190812001.html", + "product_code":"dcs", + "code":"73", + "des":"DCS helps you control access to your DCS instances in the following ways, depending on the deployment mode:To control access to Redis 3.0 instances, you can use security ", + "doc_type":"usermanual", + "kw":"Managing IP Address Whitelist,Managing DCS Instances,User Guide", + "title":"Managing IP Address Whitelist", + "githuburl":"" + }, + { + "uri":"dcs-ug-190926001.html", + "product_code":"dcs", + "code":"74", + "des":"Redis logs queries that exceed a specified execution time. You can view the slow query log on the DCS console to identify performance issues.For details about the command", + "doc_type":"usermanual", + "kw":"Viewing Redis Slow Logs,Managing DCS Instances,User Guide", + "title":"Viewing Redis Slow Logs", + "githuburl":"" + }, + { + "uri":"dcs-ug-1009001.html", + "product_code":"dcs", + "code":"75", + "des":"You can create run log files on the DCS console to collect run logs of DCS Redis instances within a specified period. After the logs are collected, you can download the l", + "doc_type":"usermanual", + "kw":"Viewing Redis Run Logs,Managing DCS Instances,User Guide", + "title":"Viewing Redis Run Logs", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312030.html", + "product_code":"dcs", + "code":"76", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Backing Up and Restoring DCS Instances", + "title":"Backing Up and Restoring DCS Instances", + "githuburl":"" + }, + { + "uri":"en-us_topic_0079835992.html", + "product_code":"dcs", + "code":"77", + "des":"On the DCS console, you can back up and restore DCS instances.There is a small chance that inconsistent data could exist in a DCS instance owing to service system excepti", + "doc_type":"usermanual", + "kw":"back up,restore,Overview,Backing Up and Restoring DCS Instances,User Guide", + "title":"Overview", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312031.html", + "product_code":"dcs", + "code":"78", + "des":"On the DCS console, you can configure an automatic backup policy. The system then backs up data in your instances according to the backup policy.If automatic backup is no", + "doc_type":"usermanual", + "kw":"configure an automatic backup policy,Configuring a Backup Policy,Backing Up and Restoring DCS Instan", + "title":"Configuring a Backup Policy", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312032.html", + "product_code":"dcs", + "code":"79", + "des":"You need to manually back up data in DCS instances in a timely manner. This section describes how to manually back up data in master/standby instances using the DCS conso", + "doc_type":"usermanual", + "kw":"manually back up data,Manually Backing Up a DCS Instance,Backing Up and Restoring DCS Instances,User", + "title":"Manually Backing Up a DCS Instance", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312033.html", + "product_code":"dcs", + "code":"80", + "des":"On the DCS console, you can restore backup data to a chosen DCS instance.At least one master/standby or cluster DCS instance is in the Running state.A backup task has bee", + "doc_type":"usermanual", + "kw":"restore backup data,Restoring a DCS Instance,Backing Up and Restoring DCS Instances,User Guide", + "title":"Restoring a DCS Instance", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312034.html", + "product_code":"dcs", + "code":"81", + "des":"Due to the limitations of automatic and manual backups (automatically backed up data can be retained for a maximum of 7 days, and manually backed up data takes space in O", + "doc_type":"usermanual", + "kw":"Downloading a Backup File,Backing Up and Restoring DCS Instances,User Guide", + "title":"Downloading a Backup File", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312035.html", + "product_code":"dcs", + "code":"82", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Migrating Data with DCS", + "title":"Migrating Data with DCS", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312036.html", + "product_code":"dcs", + "code":"83", + "des":"DCS for Redis provides the following migration modes:Backup file import: The data source can be an OBS bucket or a Redis instance.Importing data from an OBS bucket: Downl", + "doc_type":"usermanual", + "kw":"Introduction to Migration with DCS,Migrating Data with DCS,User Guide", + "title":"Introduction to Migration with DCS", + "githuburl":"" + }, + { + "uri":"dcs-ug-210922001.html", + "product_code":"dcs", + "code":"84", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Importing Backup Files", + "title":"Importing Backup Files", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312037.html", + "product_code":"dcs", + "code":"85", + "des":"Use the DCS console to migrate Redis data from Redis of other vendors or self-hosted Redis to DCS for Redis.Simply download the source Redis data and then upload the data", + "doc_type":"usermanual", + "kw":"Importing Backup Files from an OBS Bucket,Importing Backup Files,User Guide", + "title":"Importing Backup Files from an OBS Bucket", + "githuburl":"" + }, + { + "uri":"dcs-ug-210226001.html", + "product_code":"dcs", + "code":"86", + "des":"Use the DCS console to migrate Redis data from self-hosted Redis to DCS for Redis.Simply back up your Redis data, create a migration task on the DCS console, and then imp", + "doc_type":"usermanual", + "kw":"Importing Backup Files from Redis,Importing Backup Files,User Guide", + "title":"Importing Backup Files from Redis", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312038.html", + "product_code":"dcs", + "code":"87", + "des":"If the source and target instances are interconnected and the SYNC and PSYNC commands are supported in the source instance, data can be migrated online in full or increme", + "doc_type":"usermanual", + "kw":"Migrating Data Online,Migrating Data with DCS,User Guide", + "title":"Migrating Data Online", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312039.html", + "product_code":"dcs", + "code":"88", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Managing Passwords", + "title":"Managing Passwords", + "githuburl":"" + }, + { + "uri":"cache-instance-password.html", + "product_code":"dcs", + "code":"89", + "des":"Passwords can be configured to control access to your DCS instances, ensuring the security of your data.After 5 consecutive incorrect password attempts, the account for a", + "doc_type":"usermanual", + "kw":"DCS Instance Passwords,Managing Passwords,User Guide", + "title":"DCS Instance Passwords", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312040.html", + "product_code":"dcs", + "code":"90", + "des":"On the DCS console, you can change the password required for accessing your DCS instance.You cannot change the password of a DCS instance in password-free mode.The DCS in", + "doc_type":"usermanual", + "kw":"Changing Instance Passwords,Managing Passwords,User Guide", + "title":"Changing Instance Passwords", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326016.html", + "product_code":"dcs", + "code":"91", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Monitoring", + "title":"Monitoring", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326019.html", + "product_code":"dcs", + "code":"92", + "des":"This section describes DCS metrics reported to Cloud Eye as well as their namespaces and dimensions. You can use the Cloud Eye console or call APIs to query the DCS metri", + "doc_type":"usermanual", + "kw":"DCS Metrics,Monitoring,User Guide", + "title":"DCS Metrics", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312045.html", + "product_code":"dcs", + "code":"93", + "des":"You can view DCS instance metrics on the Performance Monitoring page.You can also click View Metric in the Operation column on the Cache Manager page. You will be redirec", + "doc_type":"usermanual", + "kw":"Viewing DCS Monitoring Metrics,Monitoring,User Guide", + "title":"Viewing DCS Monitoring Metrics", + "githuburl":"" + }, + { + "uri":"dcs-ug-190905001.html", + "product_code":"dcs", + "code":"94", + "des":"This section describes the alarm rules of some metrics and how to configure the rules. In actual scenarios, configure alarm rules for metrics by referring to the followin", + "doc_type":"usermanual", + "kw":"Configuring Alarm Rules for Critical Metrics,Monitoring,User Guide", + "title":"Configuring Alarm Rules for Critical Metrics", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326017.html", + "product_code":"dcs", + "code":"95", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Auditing", + "title":"Auditing", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326018.html", + "product_code":"dcs", + "code":"96", + "des":"With CTS, you can query, audit, and review operations performed on cloud resources. Traces include the operation requests sent using the management console or open APIs a", + "doc_type":"usermanual", + "kw":"DCS operations that can be recorded by CTS,Operations That Can Be Recorded by CTS,Auditing,User Guid", + "title":"Operations That Can Be Recorded by CTS", + "githuburl":"" + }, + { + "uri":"dcs-ug-0312047.html", + "product_code":"dcs", + "code":"97", + "des":"After CTS is enabled, the tracker starts recording operations on cloud resources. Operation records for the last seven days can be viewed on the CTS console. This section", + "doc_type":"usermanual", + "kw":"Viewing Traces on the CTS Console,Auditing,User Guide", + "title":"Viewing Traces on the CTS Console", + "githuburl":"" + }, + { + "uri":"dcs-faq-0326019.html", + "product_code":"dcs", + "code":"98", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"FAQs", + "title":"FAQs", + "githuburl":"" + }, + { + "uri":"dcs-faq-0326020.html", + "product_code":"dcs", + "code":"99", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Client and Network Connection", + "title":"Client and Network Connection", + "githuburl":"" + }, + { + "uri":"en-us_topic_0090662012.html", + "product_code":"dcs", + "code":"100", + "des":"DCS Redis 3.0/4.0/5.0 instances are deployed in different modes. Therefore, the access control method varies.To control access to DCS Redis 3.0 instances, you can use sec", + "doc_type":"usermanual", + "kw":"Security Group Configurations,Client and Network Connection,User Guide", + "title":"Security Group Configurations", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730001.html", + "product_code":"dcs", + "code":"101", + "des":"No. DCS instances cannot be access at their EIPs over public networks. To ensure security, the ECS that serves as a client and the DCS instance that the client will acces", + "doc_type":"usermanual", + "kw":"Does DCS Support Public Access?,Client and Network Connection,User Guide", + "title":"Does DCS Support Public Access?", + "githuburl":"" + }, + { + "uri":"en-us_topic_0100698850.html", + "product_code":"dcs", + "code":"102", + "des":"Cross-VPC means the client and the instance are not in the same VPC.Generally, VPCs are isolated from each other and ECSs cannot access DCS instances that belong to a dif", + "doc_type":"usermanual", + "kw":"VPC peering connections,across VPCs,Does DCS Support Cross-VPC Access?,Client and Network Connection", + "title":"Does DCS Support Cross-VPC Access?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730004.html", + "product_code":"dcs", + "code":"103", + "des":"Analysis: If persistent connections (\"pconnect\" in Redis terminology) or connection pooling is used and connections are closed after being used for connecting to DCS inst", + "doc_type":"usermanual", + "kw":"What Should I Do If Access to DCS Fails After Server Disconnects?,Client and Network Connection,User", + "title":"What Should I Do If Access to DCS Fails After Server Disconnects?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730005.html", + "product_code":"dcs", + "code":"104", + "des":"Occasional timeout errors are normal because of network connectivity and client timeout configurations.You are advised to include reconnection operations into your servic", + "doc_type":"usermanual", + "kw":"Why Do Requests Sometimes Time Out in Clients?,Client and Network Connection,User Guide", + "title":"Why Do Requests Sometimes Time Out in Clients?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730006.html", + "product_code":"dcs", + "code":"105", + "des":"The error message that will possibly be displayed when you use the Jedis connection pool is as follows:If this error message is displayed, check whether your instance is ", + "doc_type":"usermanual", + "kw":"use the Jedis connection pool,Jedis client,TIME_WAIT,What Should I Do If an Error Is Returned When I", + "title":"What Should I Do If an Error Is Returned When I Use the Jedis Connection Pool?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730007.html", + "product_code":"dcs", + "code":"106", + "des":"The possible causes are as follows:The command is spelled incorrectly.As shown in the following figure, the error message is returned because the correct command for dele", + "doc_type":"usermanual", + "kw":"Why Is \"ERR unknown command\" Displayed When I Access a DCS Redis Instance Through a Redis Client?,Cl", + "title":"Why Is \"ERR unknown command\" Displayed When I Access a DCS Redis Instance Through a Redis Client?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730008.html", + "product_code":"dcs", + "code":"107", + "des":"You can access a DCS Redis instance through the Redis Desktop Manager within a VPC.Enter the address, port number (6379), and authentication password of the DCS instance ", + "doc_type":"usermanual", + "kw":"How Do I Access a DCS Redis Instance Through Redis Desktop Manager?,Client and Network Connection,Us", + "title":"How Do I Access a DCS Redis Instance Through Redis Desktop Manager?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730009.html", + "product_code":"dcs", + "code":"108", + "des":"By using DCS Redis instances, Spring Session can implement session sharing. When interconnecting with Spring Cloud, the following error information is displayed:For secur", + "doc_type":"usermanual", + "kw":"Spring Session can implement session sharing,What If \"ERR Unsupported CONFIG subcommand\" is Displaye", + "title":"What If \"ERR Unsupported CONFIG subcommand\" is Displayed in SpringCloud?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730010.html", + "product_code":"dcs", + "code":"109", + "des":"Preliminary checks:Check the connection address.Obtain the connection address from the instance basic information page on the DCS console.Obtain the connection address fr", + "doc_type":"usermanual", + "kw":"How Do I Troubleshoot Redis Connection Failures?,Client and Network Connection,User Guide", + "title":"How Do I Troubleshoot Redis Connection Failures?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730011.html", + "product_code":"dcs", + "code":"110", + "des":"Pay attention to the following issues when using Redis for pub/sub:Your client must process messages in a timely manner.Your client subscribes to a channel. If it does no", + "doc_type":"usermanual", + "kw":"Redis for pub/sub,What Should Be Noted When Using Redis for Pub/Sub?,Client and Network Connection,U", + "title":"What Should Be Noted When Using Redis for Pub/Sub?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0326021.html", + "product_code":"dcs", + "code":"111", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Redis Usage", + "title":"Redis Usage", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730012.html", + "product_code":"dcs", + "code":"112", + "des":"Possible cause 1:The service QPS is so high that the CPU usage spikes to 100%.The service QPS is so high that the CPU usage spikes to 100%.Possible cause 2:You have run c", + "doc_type":"usermanual", + "kw":"Why Is CPU Usage of a DCS Redis Instance 100%?,Redis Usage,User Guide", + "title":"Why Is CPU Usage of a DCS Redis Instance 100%?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730013.html", + "product_code":"dcs", + "code":"113", + "des":"No. Once an instance is created, its VPC and subnet cannot be changed. If you want to use a different set of VPC and subnet, create a same instance and specify a desired ", + "doc_type":"usermanual", + "kw":"Can I Change the VPC and Subnet for a DCS Redis Instance?,Redis Usage,User Guide", + "title":"Can I Change the VPC and Subnet for a DCS Redis Instance?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730014.html", + "product_code":"dcs", + "code":"114", + "des":"Currently, DCS Redis 4.0 and Redis 5.0 instances use VPC endpoints and do not support security groups. You can configure whitelists instead. For details, see Managing IP ", + "doc_type":"usermanual", + "kw":"Why Aren't Security Groups Configured for DCS Redis 4.0 and 5.0 Instances?,Redis Usage,User Guide", + "title":"Why Aren't Security Groups Configured for DCS Redis 4.0 and 5.0 Instances?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730015.html", + "product_code":"dcs", + "code":"115", + "des":"The maximum allowed size of a key is 512 MB.To reduce memory usage and facilitate key query, ensure that each key does not exceed 1 KB.To reduce memory usage and facilita", + "doc_type":"usermanual", + "kw":"Do DCS Redis Instances Limit the Size of a Key or Value?,Redis Usage,User Guide", + "title":"Do DCS Redis Instances Limit the Size of a Key or Value?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730017.html", + "product_code":"dcs", + "code":"116", + "des":"Cluster DCS Redis 3.0 instances (Proxy Cluster type) are used in the same way that you use single-node or master/standby instances. You do not need to know the backend no", + "doc_type":"usermanual", + "kw":"Can I Obtain the Addresses of the Nodes in a Cluster DCS Redis Instance?,Redis Usage,User Guide", + "title":"Can I Obtain the Addresses of the Nodes in a Cluster DCS Redis Instance?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730018.html", + "product_code":"dcs", + "code":"117", + "des":"DCS Redis 3.0 instances are deployed on VMs and some memory is reserved for system overheads.", + "doc_type":"usermanual", + "kw":"Why Is Available Memory of a DCS Redis 3.0 Instance Smaller Than Instance Cache Size?,Redis Usage,Us", + "title":"Why Is Available Memory of a DCS Redis 3.0 Instance Smaller Than Instance Cache Size?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730019.html", + "product_code":"dcs", + "code":"118", + "des":"Both single-node and master/standby DCS Redis instances support multiple databases. By default, single-node and master/standby DCS instances can read and write data in 25", + "doc_type":"usermanual", + "kw":"DCS Redis instances support multiple databases,Does DCS for Redis Support Multiple Databases?,Redis ", + "title":"Does DCS for Redis Support Multiple Databases?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730020.html", + "product_code":"dcs", + "code":"119", + "des":"Yes. DCS for Redis 4.0 and 5.0 support Redis Clusters. DCS for Redis 3.0 supports Proxy Clusters.", + "doc_type":"usermanual", + "kw":"Does DCS for Redis Support Redis Clusters?,Redis Usage,User Guide", + "title":"Does DCS for Redis Support Redis Clusters?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730021.html", + "product_code":"dcs", + "code":"120", + "des":"Yes. Redis Sentinel is supported by DCS for Redis 4.0 and 5.0 and is enabled by default. Sentinel constantly checks if master and replica nodes are running properly. If t", + "doc_type":"usermanual", + "kw":"Does DCS for Redis Support Sentinel?,Redis Usage,User Guide", + "title":"Does DCS for Redis Support Sentinel?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730022.html", + "product_code":"dcs", + "code":"121", + "des":"Data is evicted from cache based on a user-defined space limit in order to make space for new data. In the current versions of DCS, you can select an eviction policy.noev", + "doc_type":"usermanual", + "kw":"default eviction policy,What Is the Default Data Eviction Policy?,Redis Usage,User Guide", + "title":"What Is the Default Data Eviction Policy?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730023.html", + "product_code":"dcs", + "code":"122", + "des":"Start the Redis exporter using the CLI. Based on the output, check for errors and troubleshoot accordingly.", + "doc_type":"usermanual", + "kw":"What Should I Do If an Error Occurs in Redis Exporter?,Redis Usage,User Guide", + "title":"What Should I Do If an Error Occurs in Redis Exporter?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730024.html", + "product_code":"dcs", + "code":"123", + "des":"This is normal due to Redis functions (such as master/replica replication and lazyfree). When the memory becomes full, scale up the instance or remove unnecessary data.", + "doc_type":"usermanual", + "kw":"Why Is Memory Usage More Than 100%?,Redis Usage,User Guide", + "title":"Why Is Memory Usage More Than 100%?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730025.html", + "product_code":"dcs", + "code":"124", + "des":"Redisson implements lock acquisition and unlocking in the following process:Redisson lock acquisition and unlocking are implemented by running Lua scripts.During lock acq", + "doc_type":"usermanual", + "kw":"Why Is Redisson Distributed Lock Not Supported by DCS Proxy Cluster Redis 3.0 Instances?,Redis Usage", + "title":"Why Is Redisson Distributed Lock Not Supported by DCS Proxy Cluster Redis 3.0 Instances?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730026.html", + "product_code":"dcs", + "code":"125", + "des":"You cannot customize or change the port for accessing a DCS Redis 3.0 instance. You can customize and change the port for accessing a DCS Redis 4.0 or 5.0 instance.Redis ", + "doc_type":"usermanual", + "kw":"Can I Customize or Change the Port for Accessing a DCS Instance?,Redis Usage,User Guide", + "title":"Can I Customize or Change the Port for Accessing a DCS Instance?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730027.html", + "product_code":"dcs", + "code":"126", + "des":"After a DCS instance is created, its intra-VPC connection addresses cannot be modified.For details about accessing DCS instances through clients, see Accessing a DCS Redi", + "doc_type":"usermanual", + "kw":"Can I Modify the Connection Addresses for Accessing a DCS Instance?,Redis Usage,User Guide", + "title":"Can I Modify the Connection Addresses for Accessing a DCS Instance?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730029.html", + "product_code":"dcs", + "code":"127", + "des":"Master/Standby and cluster DCS Redis instances can be deployed across availability zones (AZs).If instances nodes in an AZ are faulty, nodes in other AZs will not be affe", + "doc_type":"usermanual", + "kw":"Does DCS Support Cross-AZ Deployment?,Redis Usage,User Guide", + "title":"Does DCS Support Cross-AZ Deployment?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730030.html", + "product_code":"dcs", + "code":"128", + "des":"Possible cause: When a cluster instance is started, status and data are synchronized between the nodes of the instance. If a large amount of data is continuously written ", + "doc_type":"usermanual", + "kw":"Why Does It Take a Long Time to Start a Cluster DCS Instance?,Redis Usage,User Guide", + "title":"Why Does It Take a Long Time to Start a Cluster DCS Instance?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730032.html", + "product_code":"dcs", + "code":"129", + "des":"No. If you wish to query Redis configurations and usage information, use redis-cli. If you wish to monitor DCS Redis instance metrics, go to the Cloud Eye console. For de", + "doc_type":"usermanual", + "kw":"Does DCS for Redis Provide Backend Management Software?,Redis Usage,User Guide", + "title":"Does DCS for Redis Provide Backend Management Software?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730033.html", + "product_code":"dcs", + "code":"130", + "des":"Possible cause: The output buffer may have occupied an excessive amount of memory.Solution: After connecting to the instance using redis-cli, run the redis-cli --bigkeys ", + "doc_type":"usermanual", + "kw":"Why Is Memory of a DCS Redis Instance Used Up by Just a Few Keys?,Redis Usage,User Guide", + "title":"Why Is Memory of a DCS Redis Instance Used Up by Just a Few Keys?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730034.html", + "product_code":"dcs", + "code":"131", + "des":"If a DCS instance is automatically deleted or manually deleted through the Redis client, its data cannot be retrieved. If you have backed up the instance, you can restore", + "doc_type":"usermanual", + "kw":"Can I Recover Data from Deleted DCS Instances?,Redis Usage,User Guide", + "title":"Can I Recover Data from Deleted DCS Instances?", + "githuburl":"" + }, + { + "uri":"dcs-faq-210223001.html", + "product_code":"dcs", + "code":"132", + "des":"Symptom: \"Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: OOM command not allowed when used memory > 'maxmemory'\" is returned duri", + "doc_type":"usermanual", + "kw":"Why Is \"Error in execution\" Returned When I Access Redis?,Redis Usage,User Guide", + "title":"Why Is \"Error in execution\" Returned When I Access Redis?", + "githuburl":"" + }, + { + "uri":"dcs-faq-190921003.html", + "product_code":"dcs", + "code":"133", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Redis Commands", + "title":"Redis Commands", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730036.html", + "product_code":"dcs", + "code":"134", + "des":"Exercise caution when clearing data.Redis 3.0Data of a DCS Redis 3.0 instance cannot be cleared on the console, and can only be cleared by the FLUSHDB or FLUSHALL command", + "doc_type":"usermanual", + "kw":"How Do I Clear Redis Data?,Redis Commands,User Guide", + "title":"How Do I Clear Redis Data?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730039.html", + "product_code":"dcs", + "code":"135", + "des":"Yes. For more information about Redis command compatibility, see Command Compatibility.", + "doc_type":"usermanual", + "kw":"Does DCS for Redis Support the INCR and EXPIRE Commands?,Redis Commands,User Guide", + "title":"Does DCS for Redis Support the INCR and EXPIRE Commands?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730040.html", + "product_code":"dcs", + "code":"136", + "des":"Possible causes include the following:The command is incorrect.The command is disabled in DCS.For security purposes, some Redis commands are disabled in DCS. For details ", + "doc_type":"usermanual", + "kw":"Why Do I Fail to Execute Some Redis Commands?,Redis Commands,User Guide", + "title":"Why Do I Fail to Execute Some Redis Commands?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730041.html", + "product_code":"dcs", + "code":"137", + "des":"Run the command in redis-cli to check whether the command takes effect.The following describes two scenarios:Scenario 1: Set and query the value of a key to check whether", + "doc_type":"usermanual", + "kw":"Why Does a Redis Command Fail to Take Effect?,Redis Commands,User Guide", + "title":"Why Does a Redis Command Fail to Take Effect?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730042.html", + "product_code":"dcs", + "code":"138", + "des":"The time limit for executing a Redis command is 1 minute. This limit cannot be configured. After the execution of a command times out, your client will be automatically d", + "doc_type":"usermanual", + "kw":"time limit for executing a Redis command,Is There a Time Limit on Executing Redis Commands? What Wil", + "title":"Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0326022.html", + "product_code":"dcs", + "code":"139", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Instance Scaling and Upgrade", + "title":"Instance Scaling and Upgrade", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730043.html", + "product_code":"dcs", + "code":"140", + "des":"No. Different Redis versions use different underlying architectures. The Redis version used by a DCS instance cannot be changed once the instance is created. However, you", + "doc_type":"usermanual", + "kw":"Can DCS Redis Instances Be Upgraded, for Example, from Redis 3.0 to Redis 4.0 or 5.0?,Instance Scali", + "title":"Can DCS Redis Instances Be Upgraded, for Example, from Redis 3.0 to Redis 4.0 or 5.0?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730044.html", + "product_code":"dcs", + "code":"141", + "des":"O&M personnel will contact you before performing maintenance during the maintenance time window, informing you of the operations and their impacts. You do not need to wor", + "doc_type":"usermanual", + "kw":"Are Services Interrupted If Maintenance is Performed During the Maintenance Time Window?,Instance Sc", + "title":"Are Services Interrupted If Maintenance is Performed During the Maintenance Time Window?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730045.html", + "product_code":"dcs", + "code":"142", + "des":"No. Specification modifications can take place while the instance is running and do not affect any other resources.", + "doc_type":"usermanual", + "kw":"Are Instance Resources Affected During Specification Modification?,Instance Scaling and Upgrade,User", + "title":"Are Instance Resources Affected During Specification Modification?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730047.html", + "product_code":"dcs", + "code":"143", + "des":"You are advised to change the instance specifications during off-peak hours because specification modification has the following impacts:Impact of instance type changes:F", + "doc_type":"usermanual", + "kw":"Are Services Interrupted During Specification Modification?,Instance Scaling and Upgrade,User Guide", + "title":"Are Services Interrupted During Specification Modification?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730048.html", + "product_code":"dcs", + "code":"144", + "des":"Specifications of a DCS instance cannot be modified if another task of the instance is still running. For example, you cannot delete or scale up an instance while it is b", + "doc_type":"usermanual", + "kw":"Why Can't I Modify Specifications for a DCS Redis Instance?,Instance Scaling and Upgrade,User Guide", + "title":"Why Can't I Modify Specifications for a DCS Redis Instance?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0326023.html", + "product_code":"dcs", + "code":"145", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Monitoring and Alarm", + "title":"Monitoring and Alarm", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730049.html", + "product_code":"dcs", + "code":"146", + "des":"No. To ensure high-performance reads and writes, Redis does not audit commands. Commands are not printed.", + "doc_type":"usermanual", + "kw":"Does Redis Support Command Audits?,Monitoring and Alarm,User Guide", + "title":"Does Redis Support Command Audits?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730050.html", + "product_code":"dcs", + "code":"147", + "des":"If you have any doubt on the monitoring data of a DCS Redis instance, you can access the instance through redis-cli and run the INFO ALL command to view the metrics. For ", + "doc_type":"usermanual", + "kw":"What Should I Do If the Monitoring Data of a DCS Redis Instance Is Abnormal?,Monitoring and Alarm,Us", + "title":"What Should I Do If the Monitoring Data of a DCS Redis Instance Is Abnormal?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730052.html", + "product_code":"dcs", + "code":"148", + "des":"For single-node and master/standby DCS instances, the used instance memory is measured by the Redis-server process. For cluster DCS instances, the used cluster memory is ", + "doc_type":"usermanual", + "kw":"used instance memory is normally slightly higher than the available instance memory,Why Is Used Memo", + "title":"Why Is Used Memory Greater Than Available Memory?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0326024.html", + "product_code":"dcs", + "code":"149", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Data Backup, Export, and Migration", + "title":"Data Backup, Export, and Migration", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730053.html", + "product_code":"dcs", + "code":"150", + "des":"For master/standby or cluster instances:Perform the following operations to export the data:On the Backups & Restorations page, view the backup records.If there are no ba", + "doc_type":"usermanual", + "kw":"How Do I Export DCS Redis Instance Data?,Data Backup, Export, and Migration,User Guide", + "title":"How Do I Export DCS Redis Instance Data?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730054.html", + "product_code":"dcs", + "code":"151", + "des":"Redis 3.0No. On the console, backup data of a DCS Redis 3.0 instance can be exported only to AOF files. To export data to RDB files, run the following command in redis-cl", + "doc_type":"usermanual", + "kw":"Can I Export Backup Data of DCS Redis Instances to RDB Files Using the Console?,Data Backup, Export,", + "title":"Can I Export Backup Data of DCS Redis Instances to RDB Files Using the Console?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730057.html", + "product_code":"dcs", + "code":"152", + "des":"DCS Redis instances:Single-node: Not supportedMaster/Standby and cluster: SupportedSingle-node: Not supportedMaster/Standby and cluster: Supported", + "doc_type":"usermanual", + "kw":"Does DCS Support Data Persistence?,Data Backup, Export, and Migration,User Guide", + "title":"Does DCS Support Data Persistence?", + "githuburl":"" + }, + { + "uri":"dcs-migration-090626001.html", + "product_code":"", + "code":"153", + "des":"Rump is an open-source tool designed for migrating Redis data online. It supports migration between DBs of the same instance and between DBs of different instances.Rump u", + "doc_type":"", + "kw":"Online Migration with Rump,Data Backup, Export, and Migration,User Guide", + "title":"Online Migration with Rump", + "githuburl":"" + }, + { + "uri":"dcs-faq-191204001.html", + "product_code":"dcs", + "code":"154", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Master/Standby Switchover", + "title":"Master/Standby Switchover", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730058.html", + "product_code":"dcs", + "code":"155", + "des":"A master/standby switchover may occur in the following scenarios:A master/standby switchover operation is initiated on the DCS Console.If the master node of a master/stan", + "doc_type":"usermanual", + "kw":"When Does a Master/Standby Switchover Occur?,Master/Standby Switchover,User Guide", + "title":"When Does a Master/Standby Switchover Occur?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730059.html", + "product_code":"dcs", + "code":"156", + "des":"If a fault occurs in a master/standby or cluster DCS instance, a failover is triggered automatically. Services may be interrupted for less than half a minute during excep", + "doc_type":"usermanual", + "kw":"How Does Master/Standby Switchover Affect Services?,Master/Standby Switchover,User Guide", + "title":"How Does Master/Standby Switchover Affect Services?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730060.html", + "product_code":"dcs", + "code":"157", + "des":"No. If the master fails, the standby node will be promoted to master and takes the original IP address.", + "doc_type":"usermanual", + "kw":"Does the Client Need to Switch the Connection Address After a Master/Standby Switchover?,Master/Stan", + "title":"Does the Client Need to Switch the Connection Address After a Master/Standby Switchover?", + "githuburl":"" + }, + { + "uri":"dcs-faq-0730061.html", + "product_code":"dcs", + "code":"158", + "des":"Redis master/standby instances are also called master/slave instances. Generally, updates to the master cache node are automatically and asynchronously replicated to the ", + "doc_type":"usermanual", + "kw":"asynchronously replicated,How Does Redis Master/Standby Replication Work?,Master/Standby Switchover,", + "title":"How Does Redis Master/Standby Replication Work?", + "githuburl":"" + }, + { + "uri":"en-us_topic_0072429345.html", + "product_code":"dcs", + "code":"159", + "des":"For details about the terms involved in this document, see Glossary.", + "doc_type":"usermanual", + "kw":"Glossary,User Guide", + "title":"Glossary", + "githuburl":"" + }, + { + "uri":"dcs-ug-0326026.html", + "product_code":"dcs", + "code":"160", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Change History,User Guide", + "title":"Change History", + "githuburl":"" + } +] \ No newline at end of file diff --git a/docs/dcs/umn/CLASS.TXT.json b/docs/dcs/umn/CLASS.TXT.json new file mode 100644 index 000000000..6ecdf682a --- /dev/null +++ b/docs/dcs/umn/CLASS.TXT.json @@ -0,0 +1,1442 @@ +[ + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Service Overview", + "uri":"dcs-pd-0326001.html", + "doc_type":"usermanual", + "p_code":"", + "code":"1" + }, + { + "desc":"Distributed Cache Service (DCS) is an online, distributed, in-memory cache service compatible with Redis. It is reliable, scalable, usable out of the box, and easy to man", + "product_code":"dcs", + "title":"What Is DCS?", + "uri":"en-us_topic_0054235826.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"2" + }, + { + "desc":"Many large-scale e-commerce websites and video streaming and gaming applications require fast access to large amounts of data that has simple data structures and does not", + "product_code":"dcs", + "title":"Application Scenarios", + "uri":"dcs-pd-0326002.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"3" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"DCS Instance Types", + "uri":"dcs-pd-200312001.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"4" + }, + { + "desc":"Three Redis versions are available for single-node DCS Redis instances: Redis 3.0, Redis 4.0, and Redis 5.0.Low system overhead and high QPSSingle-node instances do not s", + "product_code":"dcs", + "title":"Single-Node Redis", + "uri":"CacheSingleNode.html", + "doc_type":"usermanual", + "p_code":"4", + "code":"5" + }, + { + "desc":"This section describes master/standby DCS Redis instances. Three Redis versions are available for master/standby DCS Redis instances: Redis 3.0, Redis 4.0, and Redis 5.0.", + "product_code":"dcs", + "title":"Master/Standby Redis", + "uri":"CacheMasterSlave.html", + "doc_type":"usermanual", + "p_code":"4", + "code":"6" + }, + { + "desc":"DCS provides two types of cluster Redis instances: Proxy Cluster and Redis Cluster. Proxy Cluster uses Linux Virtual Server (LVS) and proxies. Redis Cluster is the native", + "product_code":"dcs", + "title":"Proxy Cluster Redis", + "uri":"CacheCluster.html", + "doc_type":"usermanual", + "p_code":"4", + "code":"7" + }, + { + "desc":"This section describes Redis Cluster DCS Redis 4.0 and 5.0 instances.The Redis Cluster instance type provided by DCS is compatible with the native Redis Cluster, which us", + "product_code":"dcs", + "title":"Redis Cluster", + "uri":"CacheProxy.html", + "doc_type":"usermanual", + "p_code":"4", + "code":"8" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"DCS Instance Specifications", + "uri":"en-us_topic_0054235835.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"9" + }, + { + "desc":"This section describes DCS Redis 3.0 instance specifications, including the total memory, available memory, maximum number of connections allowed, maximum/assured bandwid", + "product_code":"dcs", + "title":"Redis 3.0 Instance Specifications", + "uri":"dcs-pd-0916001.html", + "doc_type":"usermanual", + "p_code":"9", + "code":"10" + }, + { + "desc":"This section describes DCS Redis 4.0 and 5.0 instance specifications, including the total memory, available memory, maximum number of connections allowed, maximum/assured", + "product_code":"dcs", + "title":"Redis 4.0 and 5.0 Instance Specifications", + "uri":"dcs-pd-0916002.html", + "doc_type":"usermanual", + "p_code":"9", + "code":"11" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Command Compatibility", + "uri":"dcs-pd-200312003.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"12" + }, + { + "desc":"DCS for Redis 3.0 is developed based on Redis 3.0.7 and is compatible with open-source protocols and commands.This section describes DCS for Redis 3.0's compatibility wit", + "product_code":"dcs", + "title":"Redis 3.0 Commands", + "uri":"dcs-pd-200713005.html", + "doc_type":"usermanual", + "p_code":"12", + "code":"13" + }, + { + "desc":"DCS for Redis 4.0 is developed based on Redis 4.0.14 and is compatible with open-source protocols and commands.This section describes DCS for Redis 4.0's compatibility wi", + "product_code":"dcs", + "title":"Redis 4.0 Commands", + "uri":"dcs-pd-200916001.html", + "doc_type":"usermanual", + "p_code":"12", + "code":"14" + }, + { + "desc":"DCS for Redis 5.0 is developed based on Redis 5.0.9 and is compatible with open-source protocols and commands.This section describes DCS for Redis 5.0's compatibility wit", + "product_code":"dcs", + "title":"Redis 5.0 Commands", + "uri":"dcs-pd-200813002.html", + "doc_type":"usermanual", + "p_code":"12", + "code":"15" + }, + { + "desc":"Web CLI is a command line tool provided on the DCS console. This section describes Web CLI's compatibility with Redis commands, including supported and disabled commands.", + "product_code":"dcs", + "title":"Web CLI Commands", + "uri":"dcs-pd-190826001.html", + "doc_type":"usermanual", + "p_code":"12", + "code":"16" + }, + { + "desc":"Some Redis commands are supported by cluster DCS instances for multi-key operations in the same slot. For details, see Table 1.While running commands that take a long tim", + "product_code":"dcs", + "title":"Command Restrictions for Cluster Instances", + "uri":"dcs-pd-200813003.html", + "doc_type":"usermanual", + "p_code":"12", + "code":"17" + }, + { + "desc":"This section describes restrictions on some Redis commands.In case of a large amount of cached data, running the KEYS command may block the execution of other commands fo", + "product_code":"dcs", + "title":"Other Command Usage Restrictions", + "uri":"dcs-pd-200813004.html", + "doc_type":"usermanual", + "p_code":"12", + "code":"18" + }, + { + "desc":"Whether you use DCS as the frontend cache or backend data store, DCS is always ready to ensure data reliability and service availability. The following figure shows the e", + "product_code":"dcs", + "title":"HA and DR Policies", + "uri":"GlobalDRPolicy.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"19" + }, + { + "desc":"When creating a DCS Redis instance, you can select the cache engine version and the instance type.VersionDCS supports Redis 3.0, 4.0, and 5.0. The following table describ", + "product_code":"dcs", + "title":"Comparing Redis Versions", + "uri":"RedisDifference.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"20" + }, + { + "desc":"DCS supports single-node, master/standby, and cluster instances, ensuring high read/write performance and fast data access. It also supports various instance management o", + "product_code":"dcs", + "title":"Comparing DCS and Open-Source Cache Services", + "uri":"dcs-pd-0326003.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"21" + }, + { + "desc":"An instance is the minimum resource unit provided by DCS.DCS supports the Redis cache engine, and single-node, master/standby, and cluster instance types. For each instan", + "product_code":"dcs", + "title":"Basic Concepts", + "uri":"dcs-pd-200312004.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"22" + }, + { + "desc":"If you need to assign different permissions to employees in your enterprise to access your DCS resources, Identity and Access Management (IAM) is a good choice for fine-g", + "product_code":"dcs", + "title":"Permissions Management", + "uri":"dcs-pd-210626001.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"23" + }, + { + "desc":"DCS is used together with other services, including VPC, ECS, IAM, Cloud Eye, CTS, and Object Storage Service (OBS).A VPC is an isolated virtual network environment on th", + "product_code":"dcs", + "title":"Related Services", + "uri":"dcs-pd-0326006.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"24" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Accessing DCS", + "uri":"en-us_topic_0054235836.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"25" + }, + { + "desc":"There are two ways to access DCS:Using the management consoleThe DCS provides a web-based management console. To launch the DCS console, create an account on the manageme", + "product_code":"dcs", + "title":"How to Access DCS", + "uri":"en-us_topic_0054235837.html", + "doc_type":"usermanual", + "p_code":"25", + "code":"26" + }, + { + "desc":"The public cloud system provides two types of user permissions by default: user management and resource management.User management refers to the management of users, user", + "product_code":"dcs", + "title":"User Permissions", + "uri":"en-us_topic_0054247786.html", + "doc_type":"usermanual", + "p_code":"25", + "code":"27" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Permissions Management", + "uri":"dcs-ug-210626003.html", + "doc_type":"usermanual", + "p_code":"", + "code":"28" + }, + { + "desc":"This chapter describes how to use IAM to implement fine-grained permissions control for your DCS resources. With IAM, you can:Create IAM users for employees based on your", + "product_code":"dcs", + "title":"Creating a User and Granting DCS Permissions", + "uri":"dcs-ug-210626004.html", + "doc_type":"usermanual", + "p_code":"28", + "code":"29" + }, + { + "desc":"Custom policies can be created to supplement the system-defined policies of DCS. For the actions that can be added for custom policies, see Permissions Policies and Suppo", + "product_code":"dcs", + "title":"DCS Custom Policies", + "uri":"dcs-ug-210626005.html", + "doc_type":"usermanual", + "p_code":"28", + "code":"30" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Getting Started", + "uri":"dcs-ug-0326007.html", + "doc_type":"usermanual", + "p_code":"", + "code":"31" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Creating an Instance", + "uri":"dcs-ug-0312003.html", + "doc_type":"usermanual", + "p_code":"31", + "code":"32" + }, + { + "desc":"Before creating a DCS instance, identify your requirements and complete the following preparations:Decide on the required cache engine version.Different Redis versions ha", + "product_code":"dcs", + "title":"Identifying Requirements", + "uri":"PurchasePreparation.html", + "doc_type":"usermanual", + "p_code":"32", + "code":"33" + }, + { + "desc":"To access DCS instances through a Virtual Private Cloud (VPC), create a VPC and configure security groups and subnets for it before using DCS. A VPC provides an isolated ", + "product_code":"dcs", + "title":"Preparing the Environment", + "uri":"dcs-ug-0312004.html", + "doc_type":"usermanual", + "p_code":"32", + "code":"34" + }, + { + "desc":"You can create one or more DCS Redis instances with the required computing capabilities and storage space based on service requirements.The system automatically schedules", + "product_code":"dcs", + "title":"Creating a DCS Redis Instance", + "uri":"dcs-ug-0326008.html", + "doc_type":"usermanual", + "p_code":"32", + "code":"35" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Accessing an Instance", + "uri":"dcs-ug-0916002.html", + "doc_type":"usermanual", + "p_code":"31", + "code":"36" + }, + { + "desc":"Access a DCS Redis instance through redis-cli on an ECS in the same VPC. For more information on how to use other Redis clients, visit https://redis.io/clients.Redis 3.0 ", + "product_code":"dcs", + "title":"Accessing a DCS Redis Instance Through redis-cli", + "uri":"dcs-ug-0326009.html", + "doc_type":"usermanual", + "p_code":"36", + "code":"37" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Access in Different Languages", + "uri":"dcs-ug-0512002.html", + "doc_type":"usermanual", + "p_code":"36", + "code":"38" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Java", + "uri":"dcs-ug-211105003.html", + "doc_type":"usermanual", + "p_code":"38", + "code":"39" + }, + { + "desc":"Access a DCS Redis instance through Jedis on an ECS in the same VPC. For more information on how to use other Redis clients, visit https://redis.io/clients.If a password ", + "product_code":"dcs", + "title":"Jedis", + "uri":"dcs-ug-0713005.html", + "doc_type":"usermanual", + "p_code":"39", + "code":"40" + }, + { + "desc":"Access a Redis Cluster instance through Lettuce on an ECS in the same VPC. For more information on how to use other Redis clients, visit https://redis.io/clients.If a pas", + "product_code":"dcs", + "title":"Lettuce", + "uri":"dcs-ug-211011001.html", + "doc_type":"usermanual", + "p_code":"39", + "code":"41" + }, + { + "desc":"Access a DCS Redis instance through Redisson on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.If a p", + "product_code":"dcs", + "title":"Redisson", + "uri":"dcs-ug-211105004.html", + "doc_type":"usermanual", + "p_code":"39", + "code":"42" + }, + { + "desc":"A DCS Redis instance has been created and is in the Running state.An ECS has been created. For details about how to create an ECS, see Elastic Cloud Server User Guide.If ", + "product_code":"dcs", + "title":"Lettuce Integration with Spring Boot", + "uri":"dcs-ug-211203001.html", + "doc_type":"usermanual", + "p_code":"38", + "code":"43" + }, + { + "desc":"Access a DCS Redis instance through redis-py on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.Use re", + "product_code":"dcs", + "title":"Clients in Python", + "uri":"dcs-ug-0312011.html", + "doc_type":"usermanual", + "p_code":"38", + "code":"44" + }, + { + "desc":"Access a DCS Redis instance through go-redis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.A DCS ", + "product_code":"dcs", + "title":"go-redis", + "uri":"dcs-ug-211105001.html", + "doc_type":"usermanual", + "p_code":"38", + "code":"45" + }, + { + "desc":"Access a DCS Redis instance through hiredis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.The ope", + "product_code":"dcs", + "title":"hiredis in C++", + "uri":"dcs-ug-0312010.html", + "doc_type":"usermanual", + "p_code":"38", + "code":"46" + }, + { + "desc":"Access a DCS Redis instance through C# Client StackExchange.Redis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis of", + "product_code":"dcs", + "title":"C#", + "uri":"dcs-ug-0312013.html", + "doc_type":"usermanual", + "p_code":"38", + "code":"47" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"PHP", + "uri":"dcs-ug-211202001.html", + "doc_type":"usermanual", + "p_code":"38", + "code":"48" + }, + { + "desc":"Access a DCS Redis instance through phpredis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.The op", + "product_code":"dcs", + "title":"phpredis", + "uri":"dcs-ug-0312009.html", + "doc_type":"usermanual", + "p_code":"48", + "code":"49" + }, + { + "desc":"Access a DCS Redis instance through Predis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.A DCS Re", + "product_code":"dcs", + "title":"Predis", + "uri":"dcs-ug-211202002.html", + "doc_type":"usermanual", + "p_code":"48", + "code":"50" + }, + { + "desc":"Access a DCS Redis instance through Node.js on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.The ope", + "product_code":"dcs", + "title":"Node.js", + "uri":"dcs-ug-0312012.html", + "doc_type":"usermanual", + "p_code":"38", + "code":"51" + }, + { + "desc":"Access a DCS Redis instance through Web CLI. This function is supported only by DCS Redis 4.0 and 5.0 instances, and not by DCS Redis 3.0 instances.Do not enter sensitive", + "product_code":"dcs", + "title":"Accessing a DCS Redis 4.0 or 5.0 Instance on the Console", + "uri":"dcs-ug-0312008.html", + "doc_type":"usermanual", + "p_code":"36", + "code":"52" + }, + { + "desc":"On the DCS console, you can view DCS instance details.Search by keyword.Enter a keyword to search.Enter a keyword to search.Select attributes and enter their keywords to ", + "product_code":"dcs", + "title":"Viewing Details of a DCS Instance", + "uri":"dcs-ug-0312016.html", + "doc_type":"usermanual", + "p_code":"31", + "code":"53" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Operation Guide", + "uri":"dcs-ug-0326010.html", + "doc_type":"usermanual", + "p_code":"", + "code":"54" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Operating DCS Instances", + "uri":"dcs-ug-0312015.html", + "doc_type":"usermanual", + "p_code":"54", + "code":"55" + }, + { + "desc":"On the DCS console, you can scale a DCS Redis instance to a larger or smaller capacity.Modify instance specifications during off-peak hours.If your DCS instances are too ", + "product_code":"dcs", + "title":"Modifying DCS Instance Specifications", + "uri":"dcs-ug-0326011.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"56" + }, + { + "desc":"On the DCS console, you can start one or multiple DCS instances at a time.This function is not supported by recent instances. You can only start old instances that have b", + "product_code":"dcs", + "title":"Starting DCS Instances", + "uri":"dcs-ug-0911001.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"57" + }, + { + "desc":"On the DCS console, you can restart one or multiple DCS instances at a time.After a single-node DCS instance is restarted, data will be deleted from the instance.While a ", + "product_code":"dcs", + "title":"Restarting DCS Instances", + "uri":"dcs-ug-0326013.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"58" + }, + { + "desc":"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.After a DCS instance i", + "product_code":"dcs", + "title":"Deleting DCS Instances", + "uri":"dcs-ug-0326014.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"59" + }, + { + "desc":"On the DCS console, you can manually switch the master and standby nodes of a DCS instance. This operation is used for special purposes, for example, releasing all servic", + "product_code":"dcs", + "title":"Performing a Master/Standby Switchover for a DCS Instance", + "uri":"dcs-ug-0312017.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"60" + }, + { + "desc":"On the DCS console, you can clear data only for DCS Redis 4.0 and 5.0 instances.Clearing instance data cannot be undone and cleared data cannot be recovered. Exercise cau", + "product_code":"dcs", + "title":"Clearing DCS Instance Data", + "uri":"dcs-ug-0312018.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"61" + }, + { + "desc":"On the DCS console, you can export DCS instance information in full to an Excel file.Click the export result displayed in the lower left corner of the page.", + "product_code":"dcs", + "title":"Exporting DCS Instance List", + "uri":"dcs-ug-0312019.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"62" + }, + { + "desc":"After creating a DCS Redis 4.0 or 5.0 instance, you can rename the following critical commands: COMMAND, KEYS, FLUSHDB, FLUSHALL, and HGETALL.You can rename multiple comm", + "product_code":"dcs", + "title":"Command Renaming", + "uri":"dcs-ug-1009002.html", + "doc_type":"usermanual", + "p_code":"55", + "code":"63" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Managing DCS Instances", + "uri":"dcs-ug-0312022.html", + "doc_type":"usermanual", + "p_code":"54", + "code":"64" + }, + { + "desc":"In most cases, different DCS instance management operations cannot proceed concurrently. If you initiate a new management operation while the current operation is in prog", + "product_code":"dcs", + "title":"Configuration Notice", + "uri":"dcs-ug-0312023.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"65" + }, + { + "desc":"You can modify the configuration parameters of your DCS instance to optimize DCS performance based on your requirements.For example, if you do not need data persistence, ", + "product_code":"dcs", + "title":"Modifying Configuration Parameters", + "uri":"dcs-ug-0312024.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"66" + }, + { + "desc":"On the DCS console, after creating a DCS instance, you can modify the maintenance time window of the DCS instance on the instance's Basic Information page.At least one DC", + "product_code":"dcs", + "title":"Modifying Maintenance Time Window", + "uri":"dcs-ug-0312025.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"67" + }, + { + "desc":"On the DCS console, after creating a DCS instance, you can modify the security group of the DCS instance on the instance's Basic Information page.You can modify the secur", + "product_code":"dcs", + "title":"Modifying the Security Group", + "uri":"dcs-ug-0312026.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"68" + }, + { + "desc":"After you initiate certain instance operations such as modifying instance specifications and changing or resetting a password, a background task will start for the operat", + "product_code":"dcs", + "title":"Viewing Background Tasks", + "uri":"dcs-ug-0312028.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"69" + }, + { + "desc":"You can view the data storage statistics of all nodes of a DCS Redis 3.0 Proxy Cluster instance. If data storage is unevenly distributed across nodes, you can scale up th", + "product_code":"dcs", + "title":"Viewing Data Storage Statistics of a DCS Redis 3.0 Proxy Cluster Instance", + "uri":"dcs-ug-0312029.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"70" + }, + { + "desc":"This section describes how to query the shards and replicas of a DCS Redis 4.0 or 5.0 instance and how to manually promote a replica to master.Currently, this function is", + "product_code":"dcs", + "title":"Managing Shards and Replicas", + "uri":"dcs-ug-210107001.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"71" + }, + { + "desc":"By performing big key analysis and hot key analysis, you will have a picture of keys that occupy a large space and keys that are the most frequently accessed.Notes on big", + "product_code":"dcs", + "title":"Cache Analysis", + "uri":"dcs-ug-190808001.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"72" + }, + { + "desc":"DCS helps you control access to your DCS instances in the following ways, depending on the deployment mode:To control access to Redis 3.0 instances, you can use security ", + "product_code":"dcs", + "title":"Managing IP Address Whitelist", + "uri":"dcs-ug-190812001.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"73" + }, + { + "desc":"Redis logs queries that exceed a specified execution time. You can view the slow query log on the DCS console to identify performance issues.For details about the command", + "product_code":"dcs", + "title":"Viewing Redis Slow Logs", + "uri":"dcs-ug-190926001.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"74" + }, + { + "desc":"You can create run log files on the DCS console to collect run logs of DCS Redis instances within a specified period. After the logs are collected, you can download the l", + "product_code":"dcs", + "title":"Viewing Redis Run Logs", + "uri":"dcs-ug-1009001.html", + "doc_type":"usermanual", + "p_code":"64", + "code":"75" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Backing Up and Restoring DCS Instances", + "uri":"dcs-ug-0312030.html", + "doc_type":"usermanual", + "p_code":"54", + "code":"76" + }, + { + "desc":"On the DCS console, you can back up and restore DCS instances.There is a small chance that inconsistent data could exist in a DCS instance owing to service system excepti", + "product_code":"dcs", + "title":"Overview", + "uri":"en-us_topic_0079835992.html", + "doc_type":"usermanual", + "p_code":"76", + "code":"77" + }, + { + "desc":"On the DCS console, you can configure an automatic backup policy. The system then backs up data in your instances according to the backup policy.If automatic backup is no", + "product_code":"dcs", + "title":"Configuring a Backup Policy", + "uri":"dcs-ug-0312031.html", + "doc_type":"usermanual", + "p_code":"76", + "code":"78" + }, + { + "desc":"You need to manually back up data in DCS instances in a timely manner. This section describes how to manually back up data in master/standby instances using the DCS conso", + "product_code":"dcs", + "title":"Manually Backing Up a DCS Instance", + "uri":"dcs-ug-0312032.html", + "doc_type":"usermanual", + "p_code":"76", + "code":"79" + }, + { + "desc":"On the DCS console, you can restore backup data to a chosen DCS instance.At least one master/standby or cluster DCS instance is in the Running state.A backup task has bee", + "product_code":"dcs", + "title":"Restoring a DCS Instance", + "uri":"dcs-ug-0312033.html", + "doc_type":"usermanual", + "p_code":"76", + "code":"80" + }, + { + "desc":"Due to the limitations of automatic and manual backups (automatically backed up data can be retained for a maximum of 7 days, and manually backed up data takes space in O", + "product_code":"dcs", + "title":"Downloading a Backup File", + "uri":"dcs-ug-0312034.html", + "doc_type":"usermanual", + "p_code":"76", + "code":"81" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Migrating Data with DCS", + "uri":"dcs-ug-0312035.html", + "doc_type":"usermanual", + "p_code":"54", + "code":"82" + }, + { + "desc":"DCS for Redis provides the following migration modes:Backup file import: The data source can be an OBS bucket or a Redis instance.Importing data from an OBS bucket: Downl", + "product_code":"dcs", + "title":"Introduction to Migration with DCS", + "uri":"dcs-ug-0312036.html", + "doc_type":"usermanual", + "p_code":"82", + "code":"83" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Importing Backup Files", + "uri":"dcs-ug-210922001.html", + "doc_type":"usermanual", + "p_code":"82", + "code":"84" + }, + { + "desc":"Use the DCS console to migrate Redis data from Redis of other vendors or self-hosted Redis to DCS for Redis.Simply download the source Redis data and then upload the data", + "product_code":"dcs", + "title":"Importing Backup Files from an OBS Bucket", + "uri":"dcs-ug-0312037.html", + "doc_type":"usermanual", + "p_code":"84", + "code":"85" + }, + { + "desc":"Use the DCS console to migrate Redis data from self-hosted Redis to DCS for Redis.Simply back up your Redis data, create a migration task on the DCS console, and then imp", + "product_code":"dcs", + "title":"Importing Backup Files from Redis", + "uri":"dcs-ug-210226001.html", + "doc_type":"usermanual", + "p_code":"84", + "code":"86" + }, + { + "desc":"If the source and target instances are interconnected and the SYNC and PSYNC commands are supported in the source instance, data can be migrated online in full or increme", + "product_code":"dcs", + "title":"Migrating Data Online", + "uri":"dcs-ug-0312038.html", + "doc_type":"usermanual", + "p_code":"82", + "code":"87" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Managing Passwords", + "uri":"dcs-ug-0312039.html", + "doc_type":"usermanual", + "p_code":"54", + "code":"88" + }, + { + "desc":"Passwords can be configured to control access to your DCS instances, ensuring the security of your data.After 5 consecutive incorrect password attempts, the account for a", + "product_code":"dcs", + "title":"DCS Instance Passwords", + "uri":"cache-instance-password.html", + "doc_type":"usermanual", + "p_code":"88", + "code":"89" + }, + { + "desc":"On the DCS console, you can change the password required for accessing your DCS instance.You cannot change the password of a DCS instance in password-free mode.The DCS in", + "product_code":"dcs", + "title":"Changing Instance Passwords", + "uri":"dcs-ug-0312040.html", + "doc_type":"usermanual", + "p_code":"88", + "code":"90" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Monitoring", + "uri":"dcs-ug-0326016.html", + "doc_type":"usermanual", + "p_code":"", + "code":"91" + }, + { + "desc":"This section describes DCS metrics reported to Cloud Eye as well as their namespaces and dimensions. You can use the Cloud Eye console or call APIs to query the DCS metri", + "product_code":"dcs", + "title":"DCS Metrics", + "uri":"dcs-ug-0326019.html", + "doc_type":"usermanual", + "p_code":"91", + "code":"92" + }, + { + "desc":"You can view DCS instance metrics on the Performance Monitoring page.You can also click View Metric in the Operation column on the Cache Manager page. You will be redirec", + "product_code":"dcs", + "title":"Viewing DCS Monitoring Metrics", + "uri":"dcs-ug-0312045.html", + "doc_type":"usermanual", + "p_code":"91", + "code":"93" + }, + { + "desc":"This section describes the alarm rules of some metrics and how to configure the rules. In actual scenarios, configure alarm rules for metrics by referring to the followin", + "product_code":"dcs", + "title":"Configuring Alarm Rules for Critical Metrics", + "uri":"dcs-ug-190905001.html", + "doc_type":"usermanual", + "p_code":"91", + "code":"94" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Auditing", + "uri":"dcs-ug-0326017.html", + "doc_type":"usermanual", + "p_code":"", + "code":"95" + }, + { + "desc":"With CTS, you can query, audit, and review operations performed on cloud resources. Traces include the operation requests sent using the management console or open APIs a", + "product_code":"dcs", + "title":"Operations That Can Be Recorded by CTS", + "uri":"dcs-ug-0326018.html", + "doc_type":"usermanual", + "p_code":"95", + "code":"96" + }, + { + "desc":"After CTS is enabled, the tracker starts recording operations on cloud resources. Operation records for the last seven days can be viewed on the CTS console. This section", + "product_code":"dcs", + "title":"Viewing Traces on the CTS Console", + "uri":"dcs-ug-0312047.html", + "doc_type":"usermanual", + "p_code":"95", + "code":"97" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"FAQs", + "uri":"dcs-faq-0326019.html", + "doc_type":"usermanual", + "p_code":"", + "code":"98" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Client and Network Connection", + "uri":"dcs-faq-0326020.html", + "doc_type":"usermanual", + "p_code":"98", + "code":"99" + }, + { + "desc":"DCS Redis 3.0/4.0/5.0 instances are deployed in different modes. Therefore, the access control method varies.To control access to DCS Redis 3.0 instances, you can use sec", + "product_code":"dcs", + "title":"Security Group Configurations", + "uri":"en-us_topic_0090662012.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"100" + }, + { + "desc":"No. DCS instances cannot be access at their EIPs over public networks. To ensure security, the ECS that serves as a client and the DCS instance that the client will acces", + "product_code":"dcs", + "title":"Does DCS Support Public Access?", + "uri":"dcs-faq-0730001.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"101" + }, + { + "desc":"Cross-VPC means the client and the instance are not in the same VPC.Generally, VPCs are isolated from each other and ECSs cannot access DCS instances that belong to a dif", + "product_code":"dcs", + "title":"Does DCS Support Cross-VPC Access?", + "uri":"en-us_topic_0100698850.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"102" + }, + { + "desc":"Analysis: If persistent connections (\"pconnect\" in Redis terminology) or connection pooling is used and connections are closed after being used for connecting to DCS inst", + "product_code":"dcs", + "title":"What Should I Do If Access to DCS Fails After Server Disconnects?", + "uri":"dcs-faq-0730004.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"103" + }, + { + "desc":"Occasional timeout errors are normal because of network connectivity and client timeout configurations.You are advised to include reconnection operations into your servic", + "product_code":"dcs", + "title":"Why Do Requests Sometimes Time Out in Clients?", + "uri":"dcs-faq-0730005.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"104" + }, + { + "desc":"The error message that will possibly be displayed when you use the Jedis connection pool is as follows:If this error message is displayed, check whether your instance is ", + "product_code":"dcs", + "title":"What Should I Do If an Error Is Returned When I Use the Jedis Connection Pool?", + "uri":"dcs-faq-0730006.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"105" + }, + { + "desc":"The possible causes are as follows:The command is spelled incorrectly.As shown in the following figure, the error message is returned because the correct command for dele", + "product_code":"dcs", + "title":"Why Is \"ERR unknown command\" Displayed When I Access a DCS Redis Instance Through a Redis Client?", + "uri":"dcs-faq-0730007.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"106" + }, + { + "desc":"You can access a DCS Redis instance through the Redis Desktop Manager within a VPC.Enter the address, port number (6379), and authentication password of the DCS instance ", + "product_code":"dcs", + "title":"How Do I Access a DCS Redis Instance Through Redis Desktop Manager?", + "uri":"dcs-faq-0730008.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"107" + }, + { + "desc":"By using DCS Redis instances, Spring Session can implement session sharing. When interconnecting with Spring Cloud, the following error information is displayed:For secur", + "product_code":"dcs", + "title":"What If \"ERR Unsupported CONFIG subcommand\" is Displayed in SpringCloud?", + "uri":"dcs-faq-0730009.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"108" + }, + { + "desc":"Preliminary checks:Check the connection address.Obtain the connection address from the instance basic information page on the DCS console.Obtain the connection address fr", + "product_code":"dcs", + "title":"How Do I Troubleshoot Redis Connection Failures?", + "uri":"dcs-faq-0730010.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"109" + }, + { + "desc":"Pay attention to the following issues when using Redis for pub/sub:Your client must process messages in a timely manner.Your client subscribes to a channel. If it does no", + "product_code":"dcs", + "title":"What Should Be Noted When Using Redis for Pub/Sub?", + "uri":"dcs-faq-0730011.html", + "doc_type":"usermanual", + "p_code":"99", + "code":"110" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Redis Usage", + "uri":"dcs-faq-0326021.html", + "doc_type":"usermanual", + "p_code":"98", + "code":"111" + }, + { + "desc":"Possible cause 1:The service QPS is so high that the CPU usage spikes to 100%.The service QPS is so high that the CPU usage spikes to 100%.Possible cause 2:You have run c", + "product_code":"dcs", + "title":"Why Is CPU Usage of a DCS Redis Instance 100%?", + "uri":"dcs-faq-0730012.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"112" + }, + { + "desc":"No. Once an instance is created, its VPC and subnet cannot be changed. If you want to use a different set of VPC and subnet, create a same instance and specify a desired ", + "product_code":"dcs", + "title":"Can I Change the VPC and Subnet for a DCS Redis Instance?", + "uri":"dcs-faq-0730013.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"113" + }, + { + "desc":"Currently, DCS Redis 4.0 and Redis 5.0 instances use VPC endpoints and do not support security groups. You can configure whitelists instead. For details, see Managing IP ", + "product_code":"dcs", + "title":"Why Aren't Security Groups Configured for DCS Redis 4.0 and 5.0 Instances?", + "uri":"dcs-faq-0730014.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"114" + }, + { + "desc":"The maximum allowed size of a key is 512 MB.To reduce memory usage and facilitate key query, ensure that each key does not exceed 1 KB.To reduce memory usage and facilita", + "product_code":"dcs", + "title":"Do DCS Redis Instances Limit the Size of a Key or Value?", + "uri":"dcs-faq-0730015.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"115" + }, + { + "desc":"Cluster DCS Redis 3.0 instances (Proxy Cluster type) are used in the same way that you use single-node or master/standby instances. You do not need to know the backend no", + "product_code":"dcs", + "title":"Can I Obtain the Addresses of the Nodes in a Cluster DCS Redis Instance?", + "uri":"dcs-faq-0730017.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"116" + }, + { + "desc":"DCS Redis 3.0 instances are deployed on VMs and some memory is reserved for system overheads.", + "product_code":"dcs", + "title":"Why Is Available Memory of a DCS Redis 3.0 Instance Smaller Than Instance Cache Size?", + "uri":"dcs-faq-0730018.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"117" + }, + { + "desc":"Both single-node and master/standby DCS Redis instances support multiple databases. By default, single-node and master/standby DCS instances can read and write data in 25", + "product_code":"dcs", + "title":"Does DCS for Redis Support Multiple Databases?", + "uri":"dcs-faq-0730019.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"118" + }, + { + "desc":"Yes. DCS for Redis 4.0 and 5.0 support Redis Clusters. DCS for Redis 3.0 supports Proxy Clusters.", + "product_code":"dcs", + "title":"Does DCS for Redis Support Redis Clusters?", + "uri":"dcs-faq-0730020.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"119" + }, + { + "desc":"Yes. Redis Sentinel is supported by DCS for Redis 4.0 and 5.0 and is enabled by default. Sentinel constantly checks if master and replica nodes are running properly. If t", + "product_code":"dcs", + "title":"Does DCS for Redis Support Sentinel?", + "uri":"dcs-faq-0730021.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"120" + }, + { + "desc":"Data is evicted from cache based on a user-defined space limit in order to make space for new data. In the current versions of DCS, you can select an eviction policy.noev", + "product_code":"dcs", + "title":"What Is the Default Data Eviction Policy?", + "uri":"dcs-faq-0730022.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"121" + }, + { + "desc":"Start the Redis exporter using the CLI. Based on the output, check for errors and troubleshoot accordingly.", + "product_code":"dcs", + "title":"What Should I Do If an Error Occurs in Redis Exporter?", + "uri":"dcs-faq-0730023.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"122" + }, + { + "desc":"This is normal due to Redis functions (such as master/replica replication and lazyfree). When the memory becomes full, scale up the instance or remove unnecessary data.", + "product_code":"dcs", + "title":"Why Is Memory Usage More Than 100%?", + "uri":"dcs-faq-0730024.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"123" + }, + { + "desc":"Redisson implements lock acquisition and unlocking in the following process:Redisson lock acquisition and unlocking are implemented by running Lua scripts.During lock acq", + "product_code":"dcs", + "title":"Why Is Redisson Distributed Lock Not Supported by DCS Proxy Cluster Redis 3.0 Instances?", + "uri":"dcs-faq-0730025.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"124" + }, + { + "desc":"You cannot customize or change the port for accessing a DCS Redis 3.0 instance. You can customize and change the port for accessing a DCS Redis 4.0 or 5.0 instance.Redis ", + "product_code":"dcs", + "title":"Can I Customize or Change the Port for Accessing a DCS Instance?", + "uri":"dcs-faq-0730026.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"125" + }, + { + "desc":"After a DCS instance is created, its intra-VPC connection addresses cannot be modified.For details about accessing DCS instances through clients, see Accessing a DCS Redi", + "product_code":"dcs", + "title":"Can I Modify the Connection Addresses for Accessing a DCS Instance?", + "uri":"dcs-faq-0730027.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"126" + }, + { + "desc":"Master/Standby and cluster DCS Redis instances can be deployed across availability zones (AZs).If instances nodes in an AZ are faulty, nodes in other AZs will not be affe", + "product_code":"dcs", + "title":"Does DCS Support Cross-AZ Deployment?", + "uri":"dcs-faq-0730029.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"127" + }, + { + "desc":"Possible cause: When a cluster instance is started, status and data are synchronized between the nodes of the instance. If a large amount of data is continuously written ", + "product_code":"dcs", + "title":"Why Does It Take a Long Time to Start a Cluster DCS Instance?", + "uri":"dcs-faq-0730030.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"128" + }, + { + "desc":"No. If you wish to query Redis configurations and usage information, use redis-cli. If you wish to monitor DCS Redis instance metrics, go to the Cloud Eye console. For de", + "product_code":"dcs", + "title":"Does DCS for Redis Provide Backend Management Software?", + "uri":"dcs-faq-0730032.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"129" + }, + { + "desc":"Possible cause: The output buffer may have occupied an excessive amount of memory.Solution: After connecting to the instance using redis-cli, run the redis-cli --bigkeys ", + "product_code":"dcs", + "title":"Why Is Memory of a DCS Redis Instance Used Up by Just a Few Keys?", + "uri":"dcs-faq-0730033.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"130" + }, + { + "desc":"If a DCS instance is automatically deleted or manually deleted through the Redis client, its data cannot be retrieved. If you have backed up the instance, you can restore", + "product_code":"dcs", + "title":"Can I Recover Data from Deleted DCS Instances?", + "uri":"dcs-faq-0730034.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"131" + }, + { + "desc":"Symptom: \"Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: OOM command not allowed when used memory > 'maxmemory'\" is returned duri", + "product_code":"dcs", + "title":"Why Is \"Error in execution\" Returned When I Access Redis?", + "uri":"dcs-faq-210223001.html", + "doc_type":"usermanual", + "p_code":"111", + "code":"132" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Redis Commands", + "uri":"dcs-faq-190921003.html", + "doc_type":"usermanual", + "p_code":"98", + "code":"133" + }, + { + "desc":"Exercise caution when clearing data.Redis 3.0Data of a DCS Redis 3.0 instance cannot be cleared on the console, and can only be cleared by the FLUSHDB or FLUSHALL command", + "product_code":"dcs", + "title":"How Do I Clear Redis Data?", + "uri":"dcs-faq-0730036.html", + "doc_type":"usermanual", + "p_code":"133", + "code":"134" + }, + { + "desc":"Yes. For more information about Redis command compatibility, see Command Compatibility.", + "product_code":"dcs", + "title":"Does DCS for Redis Support the INCR and EXPIRE Commands?", + "uri":"dcs-faq-0730039.html", + "doc_type":"usermanual", + "p_code":"133", + "code":"135" + }, + { + "desc":"Possible causes include the following:The command is incorrect.The command is disabled in DCS.For security purposes, some Redis commands are disabled in DCS. For details ", + "product_code":"dcs", + "title":"Why Do I Fail to Execute Some Redis Commands?", + "uri":"dcs-faq-0730040.html", + "doc_type":"usermanual", + "p_code":"133", + "code":"136" + }, + { + "desc":"Run the command in redis-cli to check whether the command takes effect.The following describes two scenarios:Scenario 1: Set and query the value of a key to check whether", + "product_code":"dcs", + "title":"Why Does a Redis Command Fail to Take Effect?", + "uri":"dcs-faq-0730041.html", + "doc_type":"usermanual", + "p_code":"133", + "code":"137" + }, + { + "desc":"The time limit for executing a Redis command is 1 minute. This limit cannot be configured. After the execution of a command times out, your client will be automatically d", + "product_code":"dcs", + "title":"Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?", + "uri":"dcs-faq-0730042.html", + "doc_type":"usermanual", + "p_code":"133", + "code":"138" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Instance Scaling and Upgrade", + "uri":"dcs-faq-0326022.html", + "doc_type":"usermanual", + "p_code":"98", + "code":"139" + }, + { + "desc":"No. Different Redis versions use different underlying architectures. The Redis version used by a DCS instance cannot be changed once the instance is created. However, you", + "product_code":"dcs", + "title":"Can DCS Redis Instances Be Upgraded, for Example, from Redis 3.0 to Redis 4.0 or 5.0?", + "uri":"dcs-faq-0730043.html", + "doc_type":"usermanual", + "p_code":"139", + "code":"140" + }, + { + "desc":"O&M personnel will contact you before performing maintenance during the maintenance time window, informing you of the operations and their impacts. You do not need to wor", + "product_code":"dcs", + "title":"Are Services Interrupted If Maintenance is Performed During the Maintenance Time Window?", + "uri":"dcs-faq-0730044.html", + "doc_type":"usermanual", + "p_code":"139", + "code":"141" + }, + { + "desc":"No. Specification modifications can take place while the instance is running and do not affect any other resources.", + "product_code":"dcs", + "title":"Are Instance Resources Affected During Specification Modification?", + "uri":"dcs-faq-0730045.html", + "doc_type":"usermanual", + "p_code":"139", + "code":"142" + }, + { + "desc":"You are advised to change the instance specifications during off-peak hours because specification modification has the following impacts:Impact of instance type changes:F", + "product_code":"dcs", + "title":"Are Services Interrupted During Specification Modification?", + "uri":"dcs-faq-0730047.html", + "doc_type":"usermanual", + "p_code":"139", + "code":"143" + }, + { + "desc":"Specifications of a DCS instance cannot be modified if another task of the instance is still running. For example, you cannot delete or scale up an instance while it is b", + "product_code":"dcs", + "title":"Why Can't I Modify Specifications for a DCS Redis Instance?", + "uri":"dcs-faq-0730048.html", + "doc_type":"usermanual", + "p_code":"139", + "code":"144" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Monitoring and Alarm", + "uri":"dcs-faq-0326023.html", + "doc_type":"usermanual", + "p_code":"98", + "code":"145" + }, + { + "desc":"No. To ensure high-performance reads and writes, Redis does not audit commands. Commands are not printed.", + "product_code":"dcs", + "title":"Does Redis Support Command Audits?", + "uri":"dcs-faq-0730049.html", + "doc_type":"usermanual", + "p_code":"145", + "code":"146" + }, + { + "desc":"If you have any doubt on the monitoring data of a DCS Redis instance, you can access the instance through redis-cli and run the INFO ALL command to view the metrics. For ", + "product_code":"dcs", + "title":"What Should I Do If the Monitoring Data of a DCS Redis Instance Is Abnormal?", + "uri":"dcs-faq-0730050.html", + "doc_type":"usermanual", + "p_code":"145", + "code":"147" + }, + { + "desc":"For single-node and master/standby DCS instances, the used instance memory is measured by the Redis-server process. For cluster DCS instances, the used cluster memory is ", + "product_code":"dcs", + "title":"Why Is Used Memory Greater Than Available Memory?", + "uri":"dcs-faq-0730052.html", + "doc_type":"usermanual", + "p_code":"145", + "code":"148" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Data Backup, Export, and Migration", + "uri":"dcs-faq-0326024.html", + "doc_type":"usermanual", + "p_code":"98", + "code":"149" + }, + { + "desc":"For master/standby or cluster instances:Perform the following operations to export the data:On the Backups & Restorations page, view the backup records.If there are no ba", + "product_code":"dcs", + "title":"How Do I Export DCS Redis Instance Data?", + "uri":"dcs-faq-0730053.html", + "doc_type":"usermanual", + "p_code":"149", + "code":"150" + }, + { + "desc":"Redis 3.0No. On the console, backup data of a DCS Redis 3.0 instance can be exported only to AOF files. To export data to RDB files, run the following command in redis-cl", + "product_code":"dcs", + "title":"Can I Export Backup Data of DCS Redis Instances to RDB Files Using the Console?", + "uri":"dcs-faq-0730054.html", + "doc_type":"usermanual", + "p_code":"149", + "code":"151" + }, + { + "desc":"DCS Redis instances:Single-node: Not supportedMaster/Standby and cluster: SupportedSingle-node: Not supportedMaster/Standby and cluster: Supported", + "product_code":"dcs", + "title":"Does DCS Support Data Persistence?", + "uri":"dcs-faq-0730057.html", + "doc_type":"usermanual", + "p_code":"149", + "code":"152" + }, + { + "desc":"Rump is an open-source tool designed for migrating Redis data online. It supports migration between DBs of the same instance and between DBs of different instances.Rump u", + "product_code":"dcs", + "title":"Online Migration with Rump", + "uri":"dcs-migration-090626001.html", + "doc_type":"usermanual", + "p_code":"149", + "code":"153" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Master/Standby Switchover", + "uri":"dcs-faq-191204001.html", + "doc_type":"usermanual", + "p_code":"98", + "code":"154" + }, + { + "desc":"A master/standby switchover may occur in the following scenarios:A master/standby switchover operation is initiated on the DCS Console.If the master node of a master/stan", + "product_code":"dcs", + "title":"When Does a Master/Standby Switchover Occur?", + "uri":"dcs-faq-0730058.html", + "doc_type":"usermanual", + "p_code":"154", + "code":"155" + }, + { + "desc":"If a fault occurs in a master/standby or cluster DCS instance, a failover is triggered automatically. Services may be interrupted for less than half a minute during excep", + "product_code":"dcs", + "title":"How Does Master/Standby Switchover Affect Services?", + "uri":"dcs-faq-0730059.html", + "doc_type":"usermanual", + "p_code":"154", + "code":"156" + }, + { + "desc":"No. If the master fails, the standby node will be promoted to master and takes the original IP address.", + "product_code":"dcs", + "title":"Does the Client Need to Switch the Connection Address After a Master/Standby Switchover?", + "uri":"dcs-faq-0730060.html", + "doc_type":"usermanual", + "p_code":"154", + "code":"157" + }, + { + "desc":"Redis master/standby instances are also called master/slave instances. Generally, updates to the master cache node are automatically and asynchronously replicated to the ", + "product_code":"dcs", + "title":"How Does Redis Master/Standby Replication Work?", + "uri":"dcs-faq-0730061.html", + "doc_type":"usermanual", + "p_code":"154", + "code":"158" + }, + { + "desc":"For details about the terms involved in this document, see Glossary.", + "product_code":"dcs", + "title":"Glossary", + "uri":"en-us_topic_0072429345.html", + "doc_type":"usermanual", + "p_code":"", + "code":"159" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"dcs", + "title":"Change History", + "uri":"dcs-ug-0326026.html", + "doc_type":"usermanual", + "p_code":"", + "code":"160" + } +] \ No newline at end of file diff --git a/docs/dcs/umn/CacheCluster.html b/docs/dcs/umn/CacheCluster.html new file mode 100644 index 000000000..da772ee1c --- /dev/null +++ b/docs/dcs/umn/CacheCluster.html @@ -0,0 +1,72 @@ + + +

Proxy Cluster Redis

+

DCS provides two types of cluster Redis instances: Proxy Cluster and Redis Cluster. Proxy Cluster uses Linux Virtual Server (LVS) and proxies. Redis Cluster is the native distributed implementation of Redis. Proxy Cluster instances are compatible with Redis 3.0, while Redis Cluster instances are compatible with Redis 4.0 and 5.0.

+

This section describes Proxy Cluster DCS Redis 3.0 instances.

+
  • A Proxy Cluster instance can be connected in the same way that a single-node or master/standby instance is connected, without any special settings on the client. You can use the IP address or domain name of the instance, and do not need to know or use the proxy or shard addresses.
+
+

Proxy Cluster DCS Redis 3.0 Instances

Proxy Cluster DCS Redis 3.0 instances are compatible with codis. The specifications range from 64 GB to 1024 GB, meeting requirements for millions of concurrent connections and massive data cache. Distributed data storage and access is implemented by DCS, without requiring development or maintenance.

+

Each Proxy Cluster instance consists of load balancers, proxies, cluster managers, and shards.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Specifications of Proxy Cluster DCS Redis 3.0 instances

Total Memory

+

Proxies

+

Shards

+

64 GB

+

3

+

8

+

128 GB

+

6

+

16

+

256 GB

+

8

+

32

+

512 GB

+

16

+

64

+
+
+
Figure 1 Proxy Cluster DCS Redis instance architecture
+

Architecture description:

+ +
+
+
+ +
diff --git a/docs/dcs/umn/CacheMasterSlave.html b/docs/dcs/umn/CacheMasterSlave.html new file mode 100644 index 000000000..d1af231cb --- /dev/null +++ b/docs/dcs/umn/CacheMasterSlave.html @@ -0,0 +1,39 @@ + + +

Master/Standby Redis

+

This section describes master/standby DCS Redis instances. Three Redis versions are available for master/standby DCS Redis instances: Redis 3.0, Redis 4.0, and Redis 5.0.

+

You cannot upgrade the Redis version for an instance. For example, a master/standby DCS Redis 3.0 instance cannot be upgraded to a master/standby DCS Redis 4.0 or 5.0 instance. If your service requires the features of higher Redis versions, create a DCS Redis instance of a higher version and then migrate data from the old instance to the new one.

+
+

Features

Master/Standby DCS instances have higher availability and reliability than single-node DCS instances.

+

Master/Standby DCS instances have the following features:

+
  1. Data persistence and high reliability

    By default, data persistence is enabled by both the master and the standby node of a master/standby instance.

    +

    The standby node of a DCS Redis instance is invisible to you. Only the master node provides data read/write operations.

    +
  2. Data synchronization

    Data in the master and standby nodes is kept consistent through incremental synchronization.

    +

    After recovering from a network exception or node fault, master/standby instances perform a full synchronization to ensure data consistency.

    +
    +
  3. Automatic master/standby switchover

    If the master node becomes faulty, the standby node takes over within 30 seconds, without requiring any service interruptions or manual operations.

    +
  4. DR policies

    Each master/standby instance can be deployed across AZs with physically isolated power supplies and networks. Applications can also be deployed across AZs to achieve high availability for both data and applications.

    +
+
+

Architecture

Figure 1 shows the architecture of master/standby DCS Redis instances.

+

To access a DCS Redis 3.0 instance, you must use port 6379. To access a DCS Redis 4.0 or 5.0 instance, you can customize the port. If no port is specified, the default port 6379 will be used. In the following architecture, port 6379 is used. If you have customized a port, replace 6379 with the actual port.

+
+
Figure 1 Master/Standby DCS instance architecture
+

Architecture description:

+ +
+
+
+ +
diff --git a/docs/dcs/umn/CacheProxy.html b/docs/dcs/umn/CacheProxy.html new file mode 100644 index 000000000..e03ea6da6 --- /dev/null +++ b/docs/dcs/umn/CacheProxy.html @@ -0,0 +1,84 @@ + + +

Redis Cluster

+

This section describes Redis Cluster DCS Redis 4.0 and 5.0 instances.

+

Redis Cluster DCS Redis 4.0 and 5.0 Instances

The Redis Cluster instance type provided by DCS is compatible with the native Redis Cluster, which uses smart clients and a distributed architecture to perform sharding.

+

Table 1 lists the shard specification for different instance specifications.

+

Specification per shard=Instance specification/Number of shards. For example, if a 48 GB instance has 6 shards, the specification of each shard is 48 GB/6 = 8 GB.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Specifications of Redis Cluster DCS instances

Total Memory

+

Shards

+

4 GB/8 GB/16 GB/24 GB/32 GB

+

3

+

48 GB

+

6

+

64 GB

+

8

+

96 GB

+

12

+

128 GB

+

16

+

192 GB

+

24

+

256 GB

+

32

+

384 GB

+

48

+

512 GB

+

64

+

768 GB

+

96

+

1024 GB

+

128

+
+
+ +
+
+
+ +
diff --git a/docs/dcs/umn/CacheSingleNode.html b/docs/dcs/umn/CacheSingleNode.html new file mode 100644 index 000000000..9423df875 --- /dev/null +++ b/docs/dcs/umn/CacheSingleNode.html @@ -0,0 +1,32 @@ + + +

Single-Node Redis

+

Three Redis versions are available for single-node DCS Redis instances: Redis 3.0, Redis 4.0, and Redis 5.0.

+

Features

  1. Low system overhead and high QPS

    Single-node instances do not support data synchronization or data persistence, reducing system overhead and supporting higher concurrency. QPS of single-node DCS Redis instances reaches up to 100,000.

    +
  2. Process monitoring and automatic fault recovery

    With an HA monitoring mechanism, if a single-node DCS instance becomes faulty, a new process is started within 30 seconds to resume service provisioning.

    +
  3. Out-of-the-box usability and no data persistence

    Single-node DCS instances can be used out of the box because they do not involve data loading. If your service requires high QPS, you can warm up the data beforehand to avoid strong concurrency impact on the backend database.

    +
  4. Low-cost and suitable for development and testing

    Single-node instances are 40% cheaper than master/standby DCS instances, suitable for setting up development or testing environments.

    +
+

In summary, single-node DCS instances support highly concurrent read/write operations, but do not support data persistence. Data will be deleted after instances are restarted. They are suitable for scenarios which do not require data persistence, such as database front-end caching, to accelerate access and ease the concurrency load off the backend. If the desired data does not exist in the cache, requests will go to the database. When restarting the service or the DCS instance, you can pre-generate cache data from the disk database to relieve pressure on the backend during startup.

+
+

Architecture

Figure 1 shows the architecture of single-node DCS Redis instances.

+

To access a DCS Redis 3.0 instance, you must use port 6379. To access a DCS Redis 4.0 or 5.0 instance, you can customize the port. If no port is specified, the default port 6379 will be used. In the following architecture, port 6379 is used. If you have customized a port, replace 6379 with the actual port.

+
+
Figure 1 Single-node DCS Redis instance architecture
+

Architecture description:

+ +
+
+
+ +
diff --git a/docs/dcs/umn/GlobalDRPolicy.html b/docs/dcs/umn/GlobalDRPolicy.html new file mode 100644 index 000000000..8868ecd67 --- /dev/null +++ b/docs/dcs/umn/GlobalDRPolicy.html @@ -0,0 +1,27 @@ + + +

HA and DR Policies

+

Whether you use DCS as the frontend cache or backend data store, DCS is always ready to ensure data reliability and service availability. The following figure shows the evolution of DCS DR architectures.

+
Figure 1 DCS DR architecture evolution
+

To meet the reliability requirements of your data and services, you can choose to deploy your DCS instance within a single AZ or across AZs.

+

Single-AZ HA

Single-AZ deployment means deploying an instance within a physical equipment room. DCS provides process/service HA, data persistence, and hot standby DR policies for different types of DCS instances.

+

Single-node DCS instance: When DCS detects a process fault, a new process is started to ensure service HA.

+
Figure 2 HA for a single-node DCS instance deployed within an AZ
+

Master/Standby DCS instance: Data is persisted to disk in the master node and incrementally synchronized and persisted to the standby node, achieving hot standby and data persistence.

+
Figure 3 HA for a master/standby DCS instance deployed within an AZ
+

Cluster DCS instance: Similar to a master/standby instance, data in each shard (instance process) of a cluster instance is synchronized between master and standby nodes and persisted on both nodes.

+
Figure 4 HA for a cluster DCS instance deployed within an AZ
+
+

Cross-AZ DR

The master and standby nodes of a master/standby or cluster DCS instance can be deployed across AZs (in different equipment rooms). Power supplies and networks of different AZs are physically isolated. When a fault occurs in the AZ where the master node is deployed, the standby node connects to the client and takes over data read and write operations.

+
Figure 5 Cross-AZ deployment of a master/standby DCS instance
+

This mechanism applies in a similar way to a cluster DCS instance. Each shard (process) is deployed across AZs.

+
+

When creating a master/standby or cluster DCS instance, select a standby AZ that is different from the primary AZ.

+

Backup, configuration modification, and password change functions cannot be used during the fault.

+
+
+
+ +
diff --git a/docs/dcs/umn/PARAMETERS.txt b/docs/dcs/umn/PARAMETERS.txt new file mode 100644 index 000000000..6da8d5f07 --- /dev/null +++ b/docs/dcs/umn/PARAMETERS.txt @@ -0,0 +1,3 @@ +version="" +language="en-us" +type="" \ No newline at end of file diff --git a/docs/dcs/umn/PurchasePreparation.html b/docs/dcs/umn/PurchasePreparation.html new file mode 100644 index 000000000..3ed479244 --- /dev/null +++ b/docs/dcs/umn/PurchasePreparation.html @@ -0,0 +1,19 @@ + + +

Identifying Requirements

+

Before creating a DCS instance, identify your requirements and complete the following preparations:

+
  1. Decide on the required cache engine version.

    Different Redis versions have different features. For details, see Comparing Redis Versions.

    +
  2. Decide on the required instance type.

    DCS provides single-node, master/standby, Proxy Cluster, and Redis Cluster types of instances. Each type has its own architecture. For details about the instance architectures, see DCS Instance Types.

    +
  3. Decide on the required instance specification.

    Each specification specifies the maximum available memory, number of connections, and bandwidth. For details, see DCS Instance Specifications.

    +
  4. Decide on the region and whether cross-AZ deployment is required.

    Choose a region closest to your application to reduce latency.

    +

    A region consists of multiple availability zones (AZs) with physically isolated power supplies and networks. Master/standby and cluster DCS instances can be deployed across AZs.

    +
    • If a master/standby or cluster DCS instance is deployed across AZs, faults in an AZ do not affect cache nodes in other AZs. This is because when the master node is faulty, the standby cache node will automatically become the master node to provide services. Such deployment achieves better disaster recovery.
    • Deploying a DCS instance across AZs slightly reduces network efficiency compared with deploying an instance within an AZ. Therefore, if a DCS instance is deployed across AZs, synchronization between master and standby cache nodes is slightly less efficient.
    +
    +
  5. Decide whether backup policies are required.

    Currently, backup policies can be configured only for master/standby and cluster DCS instances. For details about backup and restoration, see Overview.

    +
+
+
+ +
diff --git a/docs/dcs/umn/RedisDifference.html b/docs/dcs/umn/RedisDifference.html new file mode 100644 index 000000000..237325e8b --- /dev/null +++ b/docs/dcs/umn/RedisDifference.html @@ -0,0 +1,76 @@ + + +

Comparing Redis Versions

+

When creating a DCS Redis instance, you can select the cache engine version and the instance type.

+ +
+
+ +
diff --git a/docs/dcs/umn/cache-instance-password.html b/docs/dcs/umn/cache-instance-password.html new file mode 100644 index 000000000..670b6c8a9 --- /dev/null +++ b/docs/dcs/umn/cache-instance-password.html @@ -0,0 +1,23 @@ + + +

DCS Instance Passwords

+

Passwords can be configured to control access to your DCS instances, ensuring the security of your data.

+

After 5 consecutive incorrect password attempts, the account for accessing the chosen DCS instance will be locked for 5 minutes. Passwords cannot be changed during the lockout period.

+

The password must meet the following requirements:

+
  • Cannot be left blank.
  • Cannot be the same as the old password.
  • Can contain 8 to 32 characters.
  • Must contain at least three of the following character types:
    • Lowercase letters
    • Uppercase letters
    • Digits
    • special characters (`~!@#$^&*()-_=+\|{}:,<.>/?)
    +
+
+

Using Passwords Securely

  1. Hide the password when using redis-cli.

    If the -a <password> option is used in redis-cli in Linux, the password is prone to leakage because it is logged and kept in the history. You are advised not to use -a <password> when running commands in redis-cli. After connecting to Redis, run the auth command to complete authentication as shown in the following example:

    +
    $ redis-cli -h 192.168.0.148 -p 6379
    +redis 192.168.0.148:6379>auth yourPassword
    +OK
    +redis 192.168.0.148:6379>
    +
  2. Use interactive password authentication or switch between users with different permissions.

    If the script involves DCS instance access, use interactive password authentication. To enable automatic script execution, manage the script as another user and authorize execution using sudo.

    +
  3. Use an encryption module in your application to encrypt the password.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0326019.html b/docs/dcs/umn/dcs-faq-0326019.html new file mode 100644 index 000000000..182b7ef49 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0326019.html @@ -0,0 +1,26 @@ + + + +

FAQs

+ +

+
+ +
+ +
diff --git a/docs/dcs/umn/dcs-faq-0326020.html b/docs/dcs/umn/dcs-faq-0326020.html new file mode 100644 index 000000000..f7e36a8e1 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0326020.html @@ -0,0 +1,34 @@ + + +

Client and Network Connection

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-faq-0326021.html b/docs/dcs/umn/dcs-faq-0326021.html new file mode 100644 index 000000000..729ab6bcc --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0326021.html @@ -0,0 +1,54 @@ + + +

Redis Usage

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-faq-0326022.html b/docs/dcs/umn/dcs-faq-0326022.html new file mode 100644 index 000000000..b7859f950 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0326022.html @@ -0,0 +1,22 @@ + + +

Instance Scaling and Upgrade

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-faq-0326023.html b/docs/dcs/umn/dcs-faq-0326023.html new file mode 100644 index 000000000..3a1c9ef4d --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0326023.html @@ -0,0 +1,18 @@ + + +

Monitoring and Alarm

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-faq-0326024.html b/docs/dcs/umn/dcs-faq-0326024.html new file mode 100644 index 000000000..c9e05ff44 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0326024.html @@ -0,0 +1,20 @@ + + +

Data Backup, Export, and Migration

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-faq-0730001.html b/docs/dcs/umn/dcs-faq-0730001.html new file mode 100644 index 000000000..393ea8daf --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730001.html @@ -0,0 +1,11 @@ + + +

Does DCS Support Public Access?

+

No. DCS instances cannot be access at their EIPs over public networks. To ensure security, the ECS that serves as a client and the DCS instance that the client will access must belong to the same VPC.

+

In the application development and debugging phase, you can also use an SSH agent to access DCS instances in the local environment.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730004.html b/docs/dcs/umn/dcs-faq-0730004.html new file mode 100644 index 000000000..0be1c1662 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730004.html @@ -0,0 +1,11 @@ + + +

What Should I Do If Access to DCS Fails After Server Disconnects?

+

Analysis: If persistent connections ("pconnect" in Redis terminology) or connection pooling is used and connections are closed after being used for connecting to DCS instances, errors will be returned at attempts to reuse the connections.

+

Solution: When using pconnect or connection pooling, do not close the connection after the end of a request. If the connection is dropped, re-establish it.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730005.html b/docs/dcs/umn/dcs-faq-0730005.html new file mode 100644 index 000000000..f201eff26 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730005.html @@ -0,0 +1,12 @@ + + +

Why Do Requests Sometimes Time Out in Clients?

+

Occasional timeout errors are normal because of network connectivity and client timeout configurations.

+

You are advised to include reconnection operations into your service code to avoid service failure if a single request fails.

+

If timeout errors occur frequently, contact O&M personnel.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730006.html b/docs/dcs/umn/dcs-faq-0730006.html new file mode 100644 index 000000000..6c28d82b5 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730006.html @@ -0,0 +1,43 @@ + + +

What Should I Do If an Error Is Returned When I Use the Jedis Connection Pool?

+

The error message that will possibly be displayed when you use the Jedis connection pool is as follows:

+
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
+

If this error message is displayed, check whether your instance is running properly. If it is running properly, perform the following checks:

+
  1. Network

    1. Check the IP address configurations.

      Check whether the IP address configured on the Jedis client is the same as the subnet address configured for your DCS instance.

      +
    2. Test the network.

      Use the ping command and telnet on the client to test the network.

      +
      • If the network cannot be pinged:

        For intra-VPC access to a DCS Redis 3.0 instance, ensure that the client and your DCS instance belong to the same VPC and security group, or the security group of your DCS instance allows access through port 6379. For details, see Security Group Configurations.

        +
      • If the IP address can be pinged but telnet failed, restart your instance. If the problem persists after the restart, contact technical support.
      +
    +

  2. Check the number of connections.

    Check whether the number of established network connections exceeds the upper limit configured for the Jedis connection pool. If the number of established connections approaches the configured upper limit, restart the DCS service and check whether the problem persists. If the number of established connections is far below the upper limit, continue with the following checks.

    +

    In Unix or Linux, run the following command to query the number of established network connections:

    +

    netstat -an | grep 6379 | grep ESTABLISHED | wc -l

    +

    In Windows, run the following command to query the number of established network connections:

    +

    netstat -an | find "6379" | find "ESTABLISHED" /C

    +

  3. Check the JedisPool code.

    If the number of established connections approaches the upper limit, determine whether the problem is caused by service concurrency or incorrect usage of JedisPool.

    +

    When using JedisPool, you must call jedisPool.returnResource() or jedis.close() (recommended) to release the resources after you call jedisPool.getResource().

    +

  4. Check the number of TIME_WAIT connections.

    Run the ss -s command to check whether there are too many TIME_WAIT connections on the client.

    +

    +

    If there are too many TIME_WAIT connections, modify the kernel parameters by running the /etc/sysctl.conf command as follows:

    +
    ##Uses cookies to prevent some SYN flood attacks when the SYN waiting queue overflows.
    +net.ipv4.tcp_syncookies = 1
    +##Reuses TIME_WAIT sockets for new TCP connections.
    +net.ipv4.tcp_tw_reuse = 1
    +##Enables quick reclamation of TIME_WAIT sockets in TCP connections.
    +net.ipv4.tcp_tw_recycle = 1
    +##Modifies the default timeout time of the system.
    +net.ipv4.tcp_fin_timeout = 30
    +

    After the modification, run the /sbin/sysctl -p command for the modification to take effect.

    +

  5. If the problem persists after you perform the preceding checks, perform the following steps.

    Capture packets and send packet files along with the time and description of the exception to technical support for analysis.

    +

    Run the following command to capture packets:

    +

    tcpdump -i eth0 tcp and port 6379 -n -nn -s 74 -w dump.pcap

    +

    In Windows, you can also install the Wireshark tool to capture packets.

    +

    Replace the NIC name to the actual one.

    +
    +

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730007.html b/docs/dcs/umn/dcs-faq-0730007.html new file mode 100644 index 000000000..0fbe080fd --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730007.html @@ -0,0 +1,16 @@ + + +

Why Is "ERR unknown command" Displayed When I Access a DCS Redis Instance Through a Redis Client?

+

The possible causes are as follows:

+
  1. The command is spelled incorrectly.

    As shown in the following figure, the error message is returned because the correct command for deleting a string should be del.

    +

    +
  2. A command available in a higher Redis version is run in a lower Redis version.

    As shown in the following figure, the error message is returned because a stream command (available in Redis 5.0) is run in Redis 3.0.

    +

    +
  3. Some commands are disabled.

    DCS Redis instance interfaces are fully compatible with the open-source Redis in terms of data access. However, for ease of use and security purposes, some operations cannot be initiated through Redis clients. For details about disabled commands, see Command Compatibility.

    +
+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730008.html b/docs/dcs/umn/dcs-faq-0730008.html new file mode 100644 index 000000000..1dcea5698 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730008.html @@ -0,0 +1,15 @@ + + +

How Do I Access a DCS Redis Instance Through Redis Desktop Manager?

+

You can access a DCS Redis instance through the Redis Desktop Manager within a VPC.

+
  1. Enter the address, port number (6379), and authentication password of the DCS instance you want to access.
  2. Click Test Connection.

    The system displays a success message if the connection is successful.

    +
    Figure 1 Accessing a DCS Redis instance through Redis Desktop Manager over the intranet
    +

    When accessing a cluster DCS instance, the Redis command is run properly, but an error message may display on the left because DCS clusters are based on Codis, which differs from the native Redis in terms of the INFO command output.

    +
    +
+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730009.html b/docs/dcs/umn/dcs-faq-0730009.html new file mode 100644 index 000000000..0ca136165 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730009.html @@ -0,0 +1,22 @@ + + +

What If "ERR Unsupported CONFIG subcommand" is Displayed in SpringCloud?

+

By using DCS Redis instances, Spring Session can implement session sharing. When interconnecting with Spring Cloud, the following error information is displayed:

+
Figure 1 Spring Cloud error information
+

For security purposes, DCS does not support the CONFIG command initiated by a client. You need to perform the following steps:

+
  1. On the DCS console, set the value of the notify-keyspace-event parameter to Egx for a DCS Redis instance.
  2. Add the following content to the XML configuration file of the Spring framework:

    <util:constant

    +

    static-field="org.springframework.session.data.redis.config.ConfigureRedisAction.NO_OP"/>

    +
  3. Modify the related Spring code. Enable the ConfigureRedisAction.NO_OP bean component to forbid a client to invoke the CONFIG command.

    @Bean

    +

    public static ConfigureRedisAction configureRedisAction() {

    +

    return ConfigureRedisAction.NO_OP;

    +

    }

    +
+

For more information, see the Spring Session Documentation.

+

Session sharing is supported only by single-node and master/standby DCS Redis instances, but not by cluster DCS Redis instances.

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730010.html b/docs/dcs/umn/dcs-faq-0730010.html new file mode 100644 index 000000000..1a25cba1c --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730010.html @@ -0,0 +1,24 @@ + + +

How Do I Troubleshoot Redis Connection Failures?

+

Preliminary checks:

+ +

Further checks:

+ +
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730011.html b/docs/dcs/umn/dcs-faq-0730011.html new file mode 100644 index 000000000..6552c386f --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730011.html @@ -0,0 +1,14 @@ + + +

What Should Be Noted When Using Redis for Pub/Sub?

+

Pay attention to the following issues when using Redis for pub/sub:

+ +
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730012.html b/docs/dcs/umn/dcs-faq-0730012.html new file mode 100644 index 000000000..f42638a14 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730012.html @@ -0,0 +1,13 @@ + + +

Why Is CPU Usage of a DCS Redis Instance 100%?

+
+ +
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730013.html b/docs/dcs/umn/dcs-faq-0730013.html new file mode 100644 index 000000000..207aa58b5 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730013.html @@ -0,0 +1,10 @@ + + +

Can I Change the VPC and Subnet for a DCS Redis Instance?

+

No. Once an instance is created, its VPC and subnet cannot be changed. If you want to use a different set of VPC and subnet, create a same instance and specify a desired set of VPC and subnet. After the new instance is created, you can migrate data from the old instance to the new instance by following the data migration instructions.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730014.html b/docs/dcs/umn/dcs-faq-0730014.html new file mode 100644 index 000000000..89d1cd6fe --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730014.html @@ -0,0 +1,12 @@ + + +

Why Aren't Security Groups Configured for DCS Redis 4.0 and 5.0 Instances?

+

Currently, DCS Redis 4.0 and Redis 5.0 instances use VPC endpoints and do not support security groups. You can configure whitelists instead. For details, see Managing IP Address Whitelist.

+

To allow access only from specific IP addresses to a DCS Redis 4.0 or 5.0 instance, add the IP addresses to the instance whitelist.

+

If no whitelists are added to the instance whitelist or the whitelist function is disabled, all IP addresses that can communicate with the VPC can access the instance.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730015.html b/docs/dcs/umn/dcs-faq-0730015.html new file mode 100644 index 000000000..f14645659 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730015.html @@ -0,0 +1,13 @@ + + +

Do DCS Redis Instances Limit the Size of a Key or Value?

+
+

Prevent the client from constantly writing large values in Redis. Otherwise, network transmission efficiency will be lowered and the Redis server would take a longer time to process commands, resulting in higher latency.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730017.html b/docs/dcs/umn/dcs-faq-0730017.html new file mode 100644 index 000000000..35901e77a --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730017.html @@ -0,0 +1,14 @@ + + +

Can I Obtain the Addresses of the Nodes in a Cluster DCS Redis Instance?

+

Cluster DCS Redis 3.0 instances (Proxy Cluster type) are used in the same way that you use single-node or master/standby instances. You do not need to know the backend node addresses.

+

For a cluster DCS Redis 4.0 or 5.0 instance (Redis Cluster type), run the CLUSTER NODES command to obtain node addresses:

+

redis-cli -h {redis_address} -p {redis_port} -a {redis_password} cluster nodes

+

In the output similar to the following, obtain the IP addresses and port numbers of all the master nodes.

+

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730018.html b/docs/dcs/umn/dcs-faq-0730018.html new file mode 100644 index 000000000..068bb5234 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730018.html @@ -0,0 +1,10 @@ + + +

Why Is Available Memory of a DCS Redis 3.0 Instance Smaller Than Instance Cache Size?

+

DCS Redis 3.0 instances are deployed on VMs and some memory is reserved for system overheads.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730019.html b/docs/dcs/umn/dcs-faq-0730019.html new file mode 100644 index 000000000..ca272e441 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730019.html @@ -0,0 +1,11 @@ + + +

Does DCS for Redis Support Multiple Databases?

+

Both single-node and master/standby DCS Redis instances support multiple databases. By default, single-node and master/standby DCS instances can read and write data in 256 databases (databases numbering 0–255).

+

Cluster DCS instances do not support data read/write in multiple databases.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730020.html b/docs/dcs/umn/dcs-faq-0730020.html new file mode 100644 index 000000000..6aa69c937 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730020.html @@ -0,0 +1,10 @@ + + +

Does DCS for Redis Support Redis Clusters?

+

Yes. DCS for Redis 4.0 and 5.0 support Redis Clusters. DCS for Redis 3.0 supports Proxy Clusters.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730021.html b/docs/dcs/umn/dcs-faq-0730021.html new file mode 100644 index 000000000..b7f9a3eeb --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730021.html @@ -0,0 +1,11 @@ + + +

Does DCS for Redis Support Sentinel?

+

Yes. Redis Sentinel is supported by DCS for Redis 4.0 and 5.0 and is enabled by default. Sentinel constantly checks if master and replica nodes are running properly. If the master is not running properly, Sentinel starts a failover process and promotes a replica to master.

+

However, DCS for Redis 3.0 does not support Redis Sentinel. Instead, it uses keepalive to monitor master and replica nodes and to manage failovers.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730022.html b/docs/dcs/umn/dcs-faq-0730022.html new file mode 100644 index 000000000..a9396c86c --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730022.html @@ -0,0 +1,16 @@ + + +

What Is the Default Data Eviction Policy?

+

Data is evicted from cache based on a user-defined space limit in order to make space for new data. In the current versions of DCS, you can select an eviction policy.

+

noeviction is the default eviction policy for single-node and master/standby DCS Redis instances. You can change the eviction policy by configuring the instance parameters on the DCS console.

+

volatile-lru is the default eviction policy for cluster DCS Redis instances. To change the eviction policy for cluster instances, contact technical support.

+

When maxmemory is reached, you can select one of the following eight eviction policies:

+ +

If no key can be recycled, volatile-lru, volatile-random, and volatile-ttl are the same as noeviction. For details, see the description of noeviction.

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730023.html b/docs/dcs/umn/dcs-faq-0730023.html new file mode 100644 index 000000000..86ccefed5 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730023.html @@ -0,0 +1,11 @@ + + +

What Should I Do If an Error Occurs in Redis Exporter?

+

Start the Redis exporter using the CLI. Based on the output, check for errors and troubleshoot accordingly.

+

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730024.html b/docs/dcs/umn/dcs-faq-0730024.html new file mode 100644 index 000000000..064e8bb91 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730024.html @@ -0,0 +1,10 @@ + + +

Why Is Memory Usage More Than 100%?

+

This is normal due to Redis functions (such as master/replica replication and lazyfree). When the memory becomes full, scale up the instance or remove unnecessary data.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730025.html b/docs/dcs/umn/dcs-faq-0730025.html new file mode 100644 index 000000000..92649eab2 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730025.html @@ -0,0 +1,13 @@ + + +

Why Is Redisson Distributed Lock Not Supported by DCS Proxy Cluster Redis 3.0 Instances?

+

Redisson implements lock acquisition and unlocking in the following process:

+
  1. Redisson lock acquisition and unlocking are implemented by running Lua scripts.
  2. During lock acquisition, the EXISTS, HSET, PEXPIRE, HEXISTS, HINCRBY, PEXPIRE, and PTTL commands must be executed in the Lua script.
  3. During unlocking, the EXISTS, PUBLISH, HEXISTS, PEXIPRE, and DEL commands must be executed in the Lua script.
+

In a proxy-based cluster, the proxy processes PUBLISH and SUBSCRIBE commands and forwards requests to the Redis server. The PUBLISH command cannot be executed in the Lua script.

+

As a result, Proxy Cluster DCS Redis 3.0 instances do not support Redisson distributed locks. To use Redisson, resort to Redis 4.0 or 5.0 instead.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730026.html b/docs/dcs/umn/dcs-faq-0730026.html new file mode 100644 index 000000000..3abcd2be0 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730026.html @@ -0,0 +1,14 @@ + + +

Can I Customize or Change the Port for Accessing a DCS Instance?

+

You cannot customize or change the port for accessing a DCS Redis 3.0 instance. You can customize and change the port for accessing a DCS Redis 4.0 or 5.0 instance.

+ +

If the instance and the client use different security groups, you must configure access rules for the security groups, allowing access through the specified port. For details, see Security Group Configurations.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730027.html b/docs/dcs/umn/dcs-faq-0730027.html new file mode 100644 index 000000000..5b1c1782b --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730027.html @@ -0,0 +1,11 @@ + + +

Can I Modify the Connection Addresses for Accessing a DCS Instance?

+

After a DCS instance is created, its intra-VPC connection addresses cannot be modified.

+

For details about accessing DCS instances through clients, see Accessing a DCS Redis Instance Through redis-cli.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730029.html b/docs/dcs/umn/dcs-faq-0730029.html new file mode 100644 index 000000000..682d0cdb8 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730029.html @@ -0,0 +1,11 @@ + + +

Does DCS Support Cross-AZ Deployment?

+

Master/Standby and cluster DCS Redis instances can be deployed across availability zones (AZs).

+ +
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730030.html b/docs/dcs/umn/dcs-faq-0730030.html new file mode 100644 index 000000000..955288b55 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730030.html @@ -0,0 +1,11 @@ + + +

Why Does It Take a Long Time to Start a Cluster DCS Instance?

+

Possible cause: When a cluster instance is started, status and data are synchronized between the nodes of the instance. If a large amount of data is continuously written into the instance before the synchronization is complete, the synchronization will be prolonged and the instance remains in the Starting state. After the synchronization is complete, the instance enters the Running state.

+

Solution: Start writing data to an instance only after the instance has been started.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730032.html b/docs/dcs/umn/dcs-faq-0730032.html new file mode 100644 index 000000000..96a129415 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730032.html @@ -0,0 +1,10 @@ + + +

Does DCS for Redis Provide Backend Management Software?

+

No. If you wish to query Redis configurations and usage information, use redis-cli. If you wish to monitor DCS Redis instance metrics, go to the Cloud Eye console. For details on how to configure and view the metrics, see Monitoring.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730033.html b/docs/dcs/umn/dcs-faq-0730033.html new file mode 100644 index 000000000..2c0e66b1b --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730033.html @@ -0,0 +1,11 @@ + + +

Why Is Memory of a DCS Redis Instance Used Up by Just a Few Keys?

+

Possible cause: The output buffer may have occupied an excessive amount of memory.

+

Solution: After connecting to the instance using redis-cli, run the redis-cli --bigkeys command to scan for big keys. Then, run the info command to check the output buffer size.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730034.html b/docs/dcs/umn/dcs-faq-0730034.html new file mode 100644 index 000000000..cbb5b3d2d --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730034.html @@ -0,0 +1,11 @@ + + +

Can I Recover Data from Deleted DCS Instances?

+

If a DCS instance is automatically deleted or manually deleted through the Redis client, its data cannot be retrieved. If you have backed up the instance, you can restore its data from the backup. However, the restoration will overwrite the data written in during the period from the backup and the restoration.

+

By default, data is not evicted from DCS instances. You can modify the instance configuration parameters to adjust the eviction policy so that the instance can evict key values.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730036.html b/docs/dcs/umn/dcs-faq-0730036.html new file mode 100644 index 000000000..f7e097c5c --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730036.html @@ -0,0 +1,18 @@ + + +

How Do I Clear Redis Data?

+

Exercise caution when clearing data.

+ +
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730039.html b/docs/dcs/umn/dcs-faq-0730039.html new file mode 100644 index 000000000..19cec2ab0 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730039.html @@ -0,0 +1,10 @@ + + +

Does DCS for Redis Support the INCR and EXPIRE Commands?

+

Yes. For more information about Redis command compatibility, see Command Compatibility.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730040.html b/docs/dcs/umn/dcs-faq-0730040.html new file mode 100644 index 000000000..1882e2c2e --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730040.html @@ -0,0 +1,14 @@ + + +

Why Do I Fail to Execute Some Redis Commands?

+

Possible causes include the following:

+ +
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730041.html b/docs/dcs/umn/dcs-faq-0730041.html new file mode 100644 index 000000000..b8721a0e1 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730041.html @@ -0,0 +1,19 @@ + + +

Why Does a Redis Command Fail to Take Effect?

+

Run the command in redis-cli to check whether the command takes effect.

+

The following describes two scenarios:

+ +

Redis clients (including redis-cli, Jedis clients, and Python clients) communicate with Redis server using a binary protocol.

+

If Redis commands are run properly in redis-cli, the problem may lie in the service code. In this case, create logs in the code for further analysis.

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730042.html b/docs/dcs/umn/dcs-faq-0730042.html new file mode 100644 index 000000000..4bf7a7975 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730042.html @@ -0,0 +1,10 @@ + + +

Is There a Time Limit on Executing Redis Commands? What Will Happen If a Command Times Out?

+

The time limit for executing a Redis command is 1 minute. This limit cannot be configured. After the execution of a command times out, your client will be automatically disconnected.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730043.html b/docs/dcs/umn/dcs-faq-0730043.html new file mode 100644 index 000000000..fc5d4a5e5 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730043.html @@ -0,0 +1,11 @@ + + +

Can DCS Redis Instances Be Upgraded, for Example, from Redis 3.0 to Redis 4.0 or 5.0?

+

No. Different Redis versions use different underlying architectures. The Redis version used by a DCS instance cannot be changed once the instance is created. However, you will be informed of any defects or problems found in Redis.

+

If your service requires the features of higher Redis versions, create a DCS Redis instance of a higher version and then migrate data from the original instance to the new one. For details on how to migrate data, see Migrating Data with DCS.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730044.html b/docs/dcs/umn/dcs-faq-0730044.html new file mode 100644 index 000000000..44c7e79ed --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730044.html @@ -0,0 +1,10 @@ + + +

Are Services Interrupted If Maintenance is Performed During the Maintenance Time Window?

+

O&M personnel will contact you before performing maintenance during the maintenance time window, informing you of the operations and their impacts. You do not need to worry about instance running exceptions.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730045.html b/docs/dcs/umn/dcs-faq-0730045.html new file mode 100644 index 000000000..31f5111f0 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730045.html @@ -0,0 +1,10 @@ + + +

Are Instance Resources Affected During Specification Modification?

+

No. Specification modifications can take place while the instance is running and do not affect any other resources.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730047.html b/docs/dcs/umn/dcs-faq-0730047.html new file mode 100644 index 000000000..310b572bb --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730047.html @@ -0,0 +1,20 @@ + + +

Are Services Interrupted During Specification Modification?

+

You are advised to change the instance specifications during off-peak hours because specification modification has the following impacts:

+ +
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730048.html b/docs/dcs/umn/dcs-faq-0730048.html new file mode 100644 index 000000000..2f12e63c4 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730048.html @@ -0,0 +1,11 @@ + + +

Why Can't I Modify Specifications for a DCS Redis Instance?

+

Specifications of a DCS instance cannot be modified if another task of the instance is still running. For example, you cannot delete or scale up an instance while it is being restarted. Likewise, you cannot delete an instance while it is being scaled up.

+

If the specification modification fails, try again later. If it fails again, contact technical support.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730049.html b/docs/dcs/umn/dcs-faq-0730049.html new file mode 100644 index 000000000..797c50a2b --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730049.html @@ -0,0 +1,10 @@ + + +

Does Redis Support Command Audits?

+

No. To ensure high-performance reads and writes, Redis does not audit commands. Commands are not printed.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730050.html b/docs/dcs/umn/dcs-faq-0730050.html new file mode 100644 index 000000000..3c15b42df --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730050.html @@ -0,0 +1,10 @@ + + +

What Should I Do If the Monitoring Data of a DCS Redis Instance Is Abnormal?

+

If you have any doubt on the monitoring data of a DCS Redis instance, you can access the instance through redis-cli and run the INFO ALL command to view the metrics. For details about the output of the INFO ALL command, see http://www.redis.io/commands/info.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730052.html b/docs/dcs/umn/dcs-faq-0730052.html new file mode 100644 index 000000000..a6fa98d32 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730052.html @@ -0,0 +1,13 @@ + + +

Why Is Used Memory Greater Than Available Memory?

+

For single-node and master/standby DCS instances, the used instance memory is measured by the Redis-server process. For cluster DCS instances, the used cluster memory is the sum of used memory of all shards in the cluster.

+

Due to the internal implementation of the open-source redis-server, the used instance memory is normally slightly higher than the available instance memory.

+

Why is used_memory higher than max_memory?

+

Redis allocates memory using zmalloc. It does not check whether used_memory exceeds max_memory every time the memory is allocated. Instead, it checks whether the current used_memory exceeds max_memory at the beginning of a periodic task or command processing. If used_memory exceeds max_memory, eviction is triggered. Therefore, the restrictions of the max_memory policy are not implemented in real time or rigidly. A case in which the used_memory is greater than the max_memory may occur occasionally.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730053.html b/docs/dcs/umn/dcs-faq-0730053.html new file mode 100644 index 000000000..11960829b --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730053.html @@ -0,0 +1,17 @@ + + +

How Do I Export DCS Redis Instance Data?

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730054.html b/docs/dcs/umn/dcs-faq-0730054.html new file mode 100644 index 000000000..4774c4c89 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730054.html @@ -0,0 +1,13 @@ + + +

Can I Export Backup Data of DCS Redis Instances to RDB Files Using the Console?

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730057.html b/docs/dcs/umn/dcs-faq-0730057.html new file mode 100644 index 000000000..0a9ada8a9 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730057.html @@ -0,0 +1,11 @@ + + +

Does DCS Support Data Persistence?

+
DCS Redis instances: +
+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730058.html b/docs/dcs/umn/dcs-faq-0730058.html new file mode 100644 index 000000000..4e477689a --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730058.html @@ -0,0 +1,13 @@ + + +

When Does a Master/Standby Switchover Occur?

+

A master/standby switchover may occur in the following scenarios:

+ +

After a master/standby switchover occurs, you will receive a notification. Check whether the client services are running properly. If not, check whether the TCP connection is normal and whether it can be re-established after the master/standby switchover to restore the services.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730059.html b/docs/dcs/umn/dcs-faq-0730059.html new file mode 100644 index 000000000..760bcd582 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730059.html @@ -0,0 +1,10 @@ + + +

How Does Master/Standby Switchover Affect Services?

+

If a fault occurs in a master/standby or cluster DCS instance, a failover is triggered automatically. Services may be interrupted for less than half a minute during exception detection and failover.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730060.html b/docs/dcs/umn/dcs-faq-0730060.html new file mode 100644 index 000000000..bf23b02f8 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730060.html @@ -0,0 +1,10 @@ + + +

Does the Client Need to Switch the Connection Address After a Master/Standby Switchover?

+

No. If the master fails, the standby node will be promoted to master and takes the original IP address.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-0730061.html b/docs/dcs/umn/dcs-faq-0730061.html new file mode 100644 index 000000000..1b2990c6d --- /dev/null +++ b/docs/dcs/umn/dcs-faq-0730061.html @@ -0,0 +1,10 @@ + + +

How Does Redis Master/Standby Replication Work?

+

Redis master/standby instances are also called master/slave instances. Generally, updates to the master cache node are automatically and asynchronously replicated to the standby cache node. This means that data in the standby cache node may not always be consistent with data in the master cache node. The inconsistency is typically seen when the I/O write speed of the master node is faster than the synchronization speed of the standby node or a network latency occurs between the master and standby nodes. If a failover happens when some data is not yet replicated to the standby node, such data may be lost after the failover.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-faq-190921003.html b/docs/dcs/umn/dcs-faq-190921003.html new file mode 100644 index 000000000..a5572a8d0 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-190921003.html @@ -0,0 +1,22 @@ + + +

Redis Commands

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-faq-191204001.html b/docs/dcs/umn/dcs-faq-191204001.html new file mode 100644 index 000000000..0ed0d38ca --- /dev/null +++ b/docs/dcs/umn/dcs-faq-191204001.html @@ -0,0 +1,20 @@ + + +

Master/Standby Switchover

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-faq-210223001.html b/docs/dcs/umn/dcs-faq-210223001.html new file mode 100644 index 000000000..8ed98a990 --- /dev/null +++ b/docs/dcs/umn/dcs-faq-210223001.html @@ -0,0 +1,12 @@ + + +

Why Is "Error in execution" Returned When I Access Redis?

+

Symptom: "Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: OOM command not allowed when used memory > 'maxmemory'" is returned during a Redis connection.

+

Analysis: An out-of-memory (OOM) error indicates that the maximum memory is exceeded. In the error information, the "maxmemory" parameter indicates the maximum memory configured on the Redis server.

+

If the memory usage of the Redis instance is less than 100%, the memory of the node where data is written may have reached the maximum limit. Connect to each node in the cluster by running redis-cli -h <redis_ip> -p 6379 -a <redis_password> -c --bigkeys. When connecting to a replica node, run the READONLY command before running the bigkeys command.

+
+
+ +
diff --git a/docs/dcs/umn/dcs-migration-090626001.html b/docs/dcs/umn/dcs-migration-090626001.html new file mode 100644 index 000000000..068fb6463 --- /dev/null +++ b/docs/dcs/umn/dcs-migration-090626001.html @@ -0,0 +1,35 @@ + + +

Online Migration with Rump

+

Background

Rump is an open-source tool designed for migrating Redis data online. It supports migration between DBs of the same instance and between DBs of different instances.

+
+

Migration Principles

Rump uses the SCAN command to acquire keys and the DUMP/RESTORE command to get or set values.

+

Featuring time complexity O(1), SCAN is capable of quickly getting all keys. DUMP/RESTORE is used to read/write values independent from the key type.

+

Rump brings the following benefits:

+ +
  1. To cluster DCS instances, you cannot use Rump. Instead, use redis-port or redis-cli.
  2. To prevent migration command resolution errors, do not include special characters (#@:) in the instance password.
  3. Stop the service before migrating data. If data is kept being written in during the migration, some keys might be lost.
+
+
+

Step 1: Installing Rump

  1. Download Rump (release version).

    On 64-bit Linux, run the following command:

    +

    wget https://github.com/stickermule/rump/releases/download/0.0.3/rump-0.0.3-linux-amd64;

    +
  2. After decompression, run the following commands to add the execution permission:

    mv rump-0.0.3-linux-amd64 rump;

    +

    chmod +x rump;

    +
+
+

Step 2: Migrating Data

rump -from {source_redis_address} -to {target_redis_address}

+

Parameter/Option description:

+ +
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-0326001.html b/docs/dcs/umn/dcs-pd-0326001.html new file mode 100644 index 000000000..a79a7db8d --- /dev/null +++ b/docs/dcs/umn/dcs-pd-0326001.html @@ -0,0 +1,33 @@ + + +

Service Overview

+

+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-0326002.html b/docs/dcs/umn/dcs-pd-0326002.html new file mode 100644 index 000000000..8d8d1a8ef --- /dev/null +++ b/docs/dcs/umn/dcs-pd-0326002.html @@ -0,0 +1,20 @@ + + +

Application Scenarios

+

Redis Application Scenarios

Many large-scale e-commerce websites and video streaming and gaming applications require fast access to large amounts of data that has simple data structures and does not need frequent join queries. In such scenarios, you can use Redis to achieve fast yet inexpensive access to data. Redis enables you to retrieve data from in-memory data stores instead of relying entirely on slower disk-based databases. In addition, you no longer need to perform additional management tasks. These features make Redis an important supplement to traditional disk-based databases and a basic service essential for internet applications receiving high-concurrency access.

+

Typical application scenarios of DCS for Redis are as follows:

+
  1. E-commerce flash sales

    E-commerce product catalogue, deals, and flash sales data can be cached to Redis.

    +

    For example, the high-concurrency data access in flash sales can be hardly handled by traditional relational databases. It requires the hardware to have higher configuration such as disk I/O. By contrast, Redis supports 100,000 QPS per node and allows you to implement locking using simple commands such as SET, GET, DEL, and RPUSH to handle flash sales.

    +
  2. Live video commenting

    In live streaming, online user, gift ranking, and bullet comment data can be stored as sorted sets in Redis.

    +

    For example, bullet comments can be returned using the ZREVRANGEBYSCORE command. The ZPOPMAX and ZPOPMIN commands in Redis 5.0 can further facilitate message processing.

    +
  3. Game leaderboard

    In online gaming, the highest ranking players are displayed and updated in real time. The leaderboard ranking can be stored as sorted sets, which are easy to use with up to 20 commands.

    +
  4. Social networking comments

    In web applications, queries of post comments often involve sorting by time in descending order. As comments pile up, sorting becomes less efficient.

    +

    By using lists in Redis, a preset number of comments can be returned from the cache, rather than from disk, easing the load off the database and accelerating application responses.

    +
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-0326003.html b/docs/dcs/umn/dcs-pd-0326003.html new file mode 100644 index 000000000..496f4541a --- /dev/null +++ b/docs/dcs/umn/dcs-pd-0326003.html @@ -0,0 +1,82 @@ + + +

Comparing DCS and Open-Source Cache Services

+

DCS supports single-node, master/standby, and cluster instances, ensuring high read/write performance and fast data access. It also supports various instance management operations to facilitate your O&M. With DCS, you only need to focus on the service logic, without concerning about the deployment, monitoring, scaling, security, and fault recovery issues.

+

DCS is compatible with open-source Redis, and can be customized based on your requirements. This renders DCS unique features in addition to the advantages of open-source cache databases.

+

DCS for Redis vs. Open-Source Redis

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Differences between DCS for Redis and open-source Redis

Feature

+

Open-Source Redis

+

DCS for Redis

+

Service deployment

+

Requires 0.5 to 2 days to prepare servers.

+
  • Creates a Redis 3.0 instance in 5 to 15 minutes.
  • Creates a containerized Redis 4.0 or 5.0 instance within 8 seconds.
+

Version

+

-

+

Deeply engaged in the open-source community and supports the latest Redis version. Currently, Redis 3.0, 4.0, and 5.0 are supported.

+

Security

+

Network and server safety is the user's responsibility.

+
  • Network security is ensured using VPCs and security groups.
  • Data reliability is ensured by data replication and scheduled backup.
+

Performance

+

-

+

100,000 QPS per node

+

Monitoring

+

Provides only basic statistics.

+

Provides more than 30 monitoring metrics and customizable alarm threshold and policies.

+
  • Various metrics
    • External metrics include the number of commands, concurrent operations, connections, clients, and denied connections.
    • Resource usage metrics include CPU usage, physical memory usage, network input throughput, and network output throughput.
    • Internal metrics include instance capacity usage, as well as the number of keys, expired keys, PubSub channels, PubSub patterns, keyspace hits, and keyspace misses.
    +
  • Custom alarm thresholds and policies for different metrics to help identify service faults.
+

Backup and restoration

+

Supported

+
  • Supports scheduled and manual backup. Backup files can be downloaded.
  • Backup data can be restored on the console.
+

Parameter management

+

No visualized parameter management

+
  • Visualized parameter management is supported on the console.
  • Configuration parameters can be modified online.
  • Data can be accessed and modified on the console.
+

Scale-up

+

Interrupts services and involves a complex procedure from modifying the server RAM to modifying Redis memory and restarting the OS and services.

+
  • Supports online scale-up and scale-down without interrupting services.
  • Specifications can be scaled up or down within the available range based on service requirements.
+
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-0326006.html b/docs/dcs/umn/dcs-pd-0326006.html new file mode 100644 index 000000000..17792a22c --- /dev/null +++ b/docs/dcs/umn/dcs-pd-0326006.html @@ -0,0 +1,27 @@ + + +

Related Services

+

DCS is used together with other services, including VPC, ECS, IAM, Cloud Eye, CTS, and Object Storage Service (OBS).

+
Figure 1 Relationships between DCS and other services
+

VPC

A VPC is an isolated virtual network environment on the cloud. You can configure IP address ranges, subnets, and security groups in a VPC.

+

DCS runs in VPCs. The VPC service manages EIPs and bandwidth, and provides security groups. You can configure access rules for security groups to secure the access to DCS.

+
+

ECS

An ECS is a cloud server that provides scalable, on-demand computing resources for secure, flexible, and efficient applications.

+

You can access and manage your DCS instances using an ECS.

+
+

IAM

IAM provides identity authentication, permissions management, and access control.

+

With IAM, you can control access to DCS.

+
+

Cloud Eye

Cloud Eye is a secure, scalable, and integrated monitoring service. With Cloud Eye, you can monitor your DCS service and configure alarm rules and notifications.

+
+

Cloud Trace Service (CTS)

CTS provides you with a history of operations performed on cloud service resources. With CTS, you can query, audit, and backtrack operations. The traces include the operation requests sent using the management console or open APIs and the results of these requests.

+
+

OBS

OBS provides secure, cost-effective storage service using objects as storage units. With OBS, you can store and manage the lifecycle of massive amounts of data.

+

You can store DCS instance backup files in OBS.

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-0916001.html b/docs/dcs/umn/dcs-pd-0916001.html new file mode 100644 index 000000000..8a9ffb04c --- /dev/null +++ b/docs/dcs/umn/dcs-pd-0916001.html @@ -0,0 +1,259 @@ + + +

Redis 3.0 Instance Specifications

+

This section describes DCS Redis 3.0 instance specifications, including the total memory, available memory, maximum number of connections allowed, maximum/assured bandwidth, and reference performance.

+

The following metrics are related to the instance specifications:

+ +

Single-Node Instances

For each single-node DCS Redis instance, the available memory is less than the total memory because some memory is reserved for system overheads, as shown in Table 1. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Specifications of single-node DCS Redis 3.0 instances

Total Memory

+

(GB)

+

Available Memory

+

(GB)

+

Max. Connections (Default/Limit)

+

(Count)

+

Assured/Maximum Bandwidth

+

(Mbit/s)

+

Reference Performance

+

(QPS)

+

2

+

1.5

+

5000/50,000

+

42/512

+

50,000

+

4

+

3.2

+

5000/50,000

+

64/1536

+

100,000

+

8

+

6.8

+

5000/50,000

+

64/1536

+

100,000

+

16

+

13.6

+

5000/50,000

+

85/3072

+

100,000

+

32

+

27.2

+

5000/50,000

+

85/3072

+

100,000

+

64

+

58.2

+

5000/60,000

+

128/5120

+

100,000

+
+
+
+
+

Master/Standby Instances

For each master/standby DCS Redis instance, the available memory is less than that of a single-node DCS Redis instance because some memory is reserved for data persistence, as shown in Table 2. The available memory of a master/standby instance can be adjusted to support background tasks such as data persistence and master/standby synchronization.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Specifications of master/standby DCS Redis 3.0 instances

Total Memory

+

(GB)

+

Available Memory

+

(GB)

+

Max. Connections (Default/Limit)

+

(Count)

+

Assured/Maximum Bandwidth

+

(Mbit/s)

+

Reference Performance

+

(QPS)

+

2

+

1.5

+

5000/50,000

+

42/512

+

50,000

+

4

+

3.2

+

5000/50,000

+

64/1536

+

100,000

+

8

+

6.4

+

5000/50,000

+

64/1536

+

100,000

+

16

+

12.8

+

5000/50,000

+

85/3072

+

100,000

+

32

+

25.6

+

5000/50,000

+

85/3072

+

100,000

+

64

+

51.2

+

5000/60,000

+

128/5120

+

100,000

+
+
+
+

Proxy Cluster Instances

In addition to larger memory, cluster instances feature more connections allowed, higher bandwidth allowed, and more QPS than single-node and master/standby instances.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Specifications of Proxy Cluster DCS Redis 3.0 instances

Specification

+

(GB)

+

Available Memory

+

(GB)

+

Max. Connections (Default/Limit)

+

(Count)

+

Assured/Maximum Bandwidth

+

(Mbit/s)

+

Reference Performance

+

(QPS)

+

64

+

64

+

90,000/90,000

+

600/5120

+

500,000

+

128

+

128

+

180,000/180,000

+

600/5120

+

500,000

+

256

+

256

+

240,000/240,000

+

600/5120

+

500,000

+

512

+

512

+

480,000/480,000

+

600/5120

+

500,000

+
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-0916002.html b/docs/dcs/umn/dcs-pd-0916002.html new file mode 100644 index 000000000..b6cd70f92 --- /dev/null +++ b/docs/dcs/umn/dcs-pd-0916002.html @@ -0,0 +1,557 @@ + + +

Redis 4.0 and 5.0 Instance Specifications

+

This section describes DCS Redis 4.0 and 5.0 instance specifications, including the total memory, available memory, maximum number of connections allowed, maximum/assured bandwidth, and reference performance.

+

The following metrics are related to the instance specifications:

+ +
  • DCS Redis 4.0 and 5.0 instances are available in single-node, master/standby, and Redis Cluster types.
  • Only the x86 architecture is supported. The Arm architecture is not supported.
+
+

Single-Node Instances

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Specifications of single-node DCS Redis 4.0 or 5.0 instances

Total Memory

+

(GB)

+

Available Memory

+

(GB)

+

Max. Connections (Default/Limit)

+

(Count)

+

Assured/Maximum Bandwidth

+

(Mbit/s)

+

Reference Performance

+

(QPS)

+

0.125

+

0.125

+

10,000/10,000

+

40/40

+

80,000

+

0.25

+

0.25

+

10,000/10,000

+

80/80

+

80,000

+

0.5

+

0.5

+

10,000/10,000

+

80/80

+

80,000

+

1

+

1

+

10,000/50,000

+

80/80

+

80,000

+

2

+

2

+

10,000/50,000

+

128/128

+

80,000

+

4

+

4

+

10,000/50,000

+

192/192

+

80,000

+

8

+

8

+

10,000/50,000

+

192/192

+

100,000

+

16

+

16

+

10,000/50,000

+

256/256

+

100,000

+

24

+

24

+

10,000/50,000

+

256/256

+

100,000

+

32

+

32

+

10,000/50,000

+

256/256

+

100,000

+

48

+

48

+

10,000/50,000

+

256/256

+

100,000

+

64

+

64

+

10,000/50,000

+

384/384

+

100,000

+
+
+
+

Master/Standby Instances

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Specifications of master/standby DCS Redis 4.0 or 5.0 instances

Total Memory

+

(GB)

+

Available Memory

+

(GB)

+

Max. Connections (Default/Limit)

+

(Count)

+

Assured/Maximum Bandwidth

+

(Mbit/s)

+

Reference Performance

+

(QPS)

+

0.125

+

0.125

+

10,000/10,000

+

40/40

+

80,000

+

0.25

+

0.25

+

10,000/10,000

+

80/80

+

80,000

+

0.5

+

0.5

+

10,000/10,000

+

80/80

+

80,000

+

1

+

1

+

10,000/50,000

+

80/80

+

80,000

+

2

+

2

+

10,000/50,000

+

128/128

+

80,000

+

4

+

4

+

10,000/50,000

+

192/192

+

80,000

+

8

+

8

+

10,000/50,000

+

192/192

+

100,000

+

16

+

16

+

10,000/50,000

+

256/256

+

100,000

+

24

+

24

+

10,000/50,000

+

256/256

+

100,000

+

32

+

32

+

10,000/50,000

+

256/256

+

100,000

+

48

+

48

+

10,000/50,000

+

256/256

+

100,000

+

64

+

64

+

10,000/50,000

+

384/384

+

100,000

+
+
+
+

Redis Cluster Instances

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Specifications of Redis Cluster DCS Redis 4.0 or 5.0 instances

Specification

+

(GB)

+

Available Memory

+

(GB)

+

Shards (Master Nodes)

+

Max. Connections (Default/Limit)

+

(Count)

+

Assured/Maximum Bandwidth

+

(Mbit/s)

+

Reference Performance

+

(QPS)

+

4

+

4

+

3

+

30,000

+

/150,000

+

2304/2304

+

240,000

+

8

+

8

+

3

+

30,000

+

/150,000

+

2304/2304

+

240,000

+

16

+

16

+

3

+

30,000

+

/150,000

+

2304/2304

+

240,000

+

24

+

24

+

3

+

30,000

+

/150,000

+

2304/2304

+

300,000

+

+

32

+

32

+

3

+

30,000

+

/150,000

+

2304/2304

+

300,000

+

48

+

48

+

6

+

60,000

+

/300,000

+

4608/4608

+

> 300,000

+

64

+

64

+

8

+

80,000

+

/400,000

+

6144/6144

+

500,000

+

96

+

96

+

12

+

120,000

+

/600,000

+

9216/9216

+

> 500,000

+

128

+

128

+

16

+

160,000

+

/800,000

+

12,288/12,288

+

1,000,000

+

192

+

192

+

24

+

240,000

+

/1,200,000

+

18,432/18,432

+

> 1,000,000

+

256

+

256

+

32

+

320,000

+

/1,600,000

+

24,576/24,576

+

> 2,000,000

+

384

+

384

+

48

+

480,000

+

/2,400,000

+

36,864/36,864

+

> 2,000,000

+

512

+

512

+

64

+

640,000

+

/3,200,000

+

49,152/49,152

+

> 2,000,000

+

768

+

768

+

96

+

960,000

+

/4,800,000

+

73,728/73,728

+

> 2,000,000

+

1024

+

1024

+

128

+

1,280,000

+

/6,400,000

+

98,304/98,304

+

> 2,000,000

+
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-190826001.html b/docs/dcs/umn/dcs-pd-190826001.html new file mode 100644 index 000000000..68adef212 --- /dev/null +++ b/docs/dcs/umn/dcs-pd-190826001.html @@ -0,0 +1,917 @@ + + +

Web CLI Commands

+

Web CLI is a command line tool provided on the DCS console. This section describes Web CLI's compatibility with Redis commands, including supported and disabled commands. For details about the command syntax, visit the Redis official website.

+

Currently, only DCS for Redis 4.0 and 5.0 support Web CLI.

+
  • Keys and values cannot contain spaces.
  • If the value is empty, nil is returned after the GET command is executed.
+
+

Commands Supported by Web CLI

The following lists the commands supported when you use Web CLI.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Commands supported by Web CLI (1)

Keys

+

String

+

List

+

Set

+

Sorted Set

+

Server

+

DEL

+

APPEND

+

RPUSH

+

SADD

+

ZADD

+

FLUSHALL

+

OBJECT

+

BITCOUNT

+

RPUSHX

+

SCARD

+

ZCARD

+

FLUSHDB

+

EXISTS

+

BITOP

+

BRPOPLRUSH

+

SDIFF

+

ZCOUNT

+

DBSIZE

+

EXPIRE

+

BITPOS

+

LINDEX

+

SDIFFSTORE

+

ZINCRBY

+

TIME

+

MOVE

+

DECR

+

LINSERT

+

SINTER

+

ZRANGE

+

INFO

+

PERSIST

+

DECRBY

+

LLEN

+

SINTERSTORE

+

ZRANGEBYSCORE

+

CLIENT KILL

+

PTTL

+

GET

+

LPOP

+

SISMEMBER

+

ZRANK

+

CLIENT LIST

+

RANDOMKEY

+

GETRANGE

+

LPUSHX

+

SMEMBERS

+

ZREMRANGEBYRANK

+

CLIENT GETNAME

+

RENAME

+

GETSET

+

LRANGE

+

SMOVE

+

ZREMRANGEBYCORE

+

CLIENT SETNAME

+

RENAMENX

+

INCR

+

LREM

+

SPOP

+

ZREVRANGE

+

CONFIG GET

+

SCAN

+

INCRBY

+

LSET

+

SRANDMEMBER

+

ZREVRANGEBYSCORE

+

MONITOR

+

SORT

+

INCRBYFLOAT

+

LTRIM

+

SREM

+

ZREVRANK

+

SLOWLOG

+

TTL

+

MGET

+

RPOP

+

SUNION

+

ZSCORE

+

ROLE

+

TYPE

+

MSET

+

RPOPLPU

+

SUNIONSTORE

+

ZUNIONSTORE

+

SWAPDB

+

-

+

MSETNX

+

RPOPLPUSH

+

SSCAN

+

ZINTERSTORE

+

MEMORY

+

-

+

PSETEX

+

-

+

SPOP

+

ZSCAN

+

-

+

-

+

SET

+

-

+

-

+

ZRANGEBYLEX

+

-

+

-

+

SETBIT

+

-

+

-

+

ZLEXCOUNT

+

-

+

-

+

SETEX

+

-

+

-

+

-

+

-

+

-

+

SETNX

+

-

+

-

+

-

+

-

+

-

+

SETRANGE

+

-

+

-

+

-

+

-

+

-

+

STRLEN

+

-

+

-

+

-

+

-

+

-

+

BITFIELD

+

-

+

-

+

-

+

-

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Commands supported by Web CLI (2)

Hash

+

HyperLoglog

+

Connection

+

Scripting

+

Geo

+

HDEL

+

PFADD

+

AUTH

+

EVAL

+

GEOADD

+

HEXISTS

+

PFCOUNT

+

ECHO

+

EVALSHA

+

GEOHASH

+

HGET

+

PFMERGE

+

PING

+

SCRIPT EXISTS

+

GEOPOS

+

HGETALL

+

-

+

QUIT

+

SCRIPT FLUSH

+

GEODIST

+

HINCRBY

+

-

+

-

+

SCRIPT KILL

+

GEORADIUS

+

HINCRBYFLOAT

+

-

+

-

+

SCRIPT LOAD

+

GEORADIUSBYMEMBER

+

HKEYS

+

-

+

-

+

-

+

-

+

HMGET

+

-

+

-

+

-

+

-

+

HMSET

+

-

+

-

+

-

+

-

+

HSET

+

-

+

-

+

-

+

-

+

HSETNX

+

-

+

-

+

-

+

-

+

HVALS

+

-

+

-

+

-

+

-

+

HSCAN

+

-

+

-

+

-

+

-

+

HSTRLEN

+

-

+

-

+

-

+

-

+
+
+
+

Commands Disabled in Web CLI

The following lists the commands disabled when you use Web CLI.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Redis commands disabled in Web CLI for single-node and master/standby instances (1)

Keys

+

Server

+

Transactions

+

Pub/Sub

+

MIGRATE

+

SLAVEOF

+

UNWATCH

+

PSUBSCRIBE

+

WAIT

+

SHUTDOWN

+

REPLICAOF

+

PUBLISH

+

DUMP

+

DEBUG commands

+

DISCARD

+

PUBSUB

+

RESTORE

+

CONFIG SET

+

EXEC

+

PUNSUBSCRIBE

+

-

+

CONFIG REWRITE

+

MULTI

+

SUBSCRIBE

+

-

+

CONFIG RESETSTAT

+

WATCH

+

UNSUBSCRIBE

+

-

+

SAVE

+

-

+

-

+

-

+

BGSAVE

+

-

+

-

+

-

+

BGREWRITEAOF

+

-

+

-

+

-

+

COMMAND

+

-

+

-

+

-

+

KEYS

+

-

+

-

+

-

+

MONITOR

+

-

+

-

+

-

+

SYNC

+

-

+

-

+

-

+

PSYNC

+

-

+

-

+

-

+

ACL

+

-

+

-

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 Redis commands disabled in Web CLI for single-node and master/standby instances (2)

List

+

Connection

+

Sorted Set

+

BLPOP

+

SELECT

+

BZPOPMAX

+

BRPOP

+

-

+

BZPOPMIN

+

BLMOVE

+

-

+

BZMPOP

+

BRPOPLPUSH

+

-

+

-

+

BLMPOP

+

-

+

-

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 5 Redis commands disabled in Web CLI for Redis Cluster instances (1)

Keys

+

Server

+

Transactions

+

Cluster

+

MIGRATE

+

SLAVEOF

+

UNWATCH

+

CLUSTER MEET

+

WAIT

+

SHUTDOWN

+

REPLICAOF

+

CLUSTER FLUSHSLOTS

+

DUMP

+

DEBUG commands

+

DISCARD

+

CLUSTER ADDSLOTS

+

RESTORE

+

CONFIG SET

+

EXEC

+

CLUSTER DELSLOTS

+

-

+

CONFIG REWRITE

+

MULTI

+

CLUSTER SETSLOT

+

-

+

CONFIG RESETSTAT

+

WATCH

+

CLUSTER BUMPEPOCH

+

-

+

SAVE

+

-

+

CLUSTER SAVECONFIG

+

-

+

BGSAVE

+

-

+

CLUSTER FORGET

+

-

+

BGREWRITEAOF

+

-

+

CLUSTER REPLICATE

+

-

+

COMMAND

+

-

+

CLUSTER COUNT-FAILURE-REPORTS

+

-

+

KEYS

+

-

+

CLUSTER FAILOVER

+

-

+

MONITOR

+

-

+

CLUSTER SET-CONFIG-EPOCH

+

-

+

SYNC

+

-

+

CLUSTER RESET

+

-

+

PSYNC

+

-

+

-

+

-

+

ACL

+

-

+

-

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 6 Redis commands disabled in Web CLI for Redis Cluster instances (2)

Pub/Sub

+

List

+

Connection

+

Sorted Set

+

PSUBSCRIBE

+

BLPOP

+

SELECT

+

BZPOPMAX

+

PUBLISH

+

BRPOP

+

-

+

BZPOPMIN

+

PUBSUB

+

BLMOVE

+

-

+

BZMPOP

+

PUNSUBSCRIBE

+

BRPOPLPUSH

+

-

+

-

+

SUBSCRIBE

+

BLMPOP

+

-

+

-

+

UNSUBSCRIBE

+

-

+

-

+

-

+
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-200312001.html b/docs/dcs/umn/dcs-pd-200312001.html new file mode 100644 index 000000000..2d5fd5a81 --- /dev/null +++ b/docs/dcs/umn/dcs-pd-200312001.html @@ -0,0 +1,20 @@ + + +

DCS Instance Types

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-pd-200312003.html b/docs/dcs/umn/dcs-pd-200312003.html new file mode 100644 index 000000000..4773db206 --- /dev/null +++ b/docs/dcs/umn/dcs-pd-200312003.html @@ -0,0 +1,24 @@ + + +

Command Compatibility

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-pd-200312004.html b/docs/dcs/umn/dcs-pd-200312004.html new file mode 100644 index 000000000..3ca810678 --- /dev/null +++ b/docs/dcs/umn/dcs-pd-200312004.html @@ -0,0 +1,27 @@ + + +

Basic Concepts

+

DCS Instance

An instance is the minimum resource unit provided by DCS.

+

DCS supports the Redis cache engine, and single-node, master/standby, and cluster instance types. For each instance type, multiple specifications are available.

+

For details, see DCS Instance Specifications and DCS Instance Types.

+
+

Project

Projects are used to group and isolate OpenStack resources (computing resources, storage resources, and network resources). A project can be a department or a project team. Multiple projects can be created for one account.

+
+

Replica

A replica is a node of a DCS instance. No replication indicates that the instance does not have a standby node. Master/Standby replication indicates that the instance has a standby node. For example, a master/standby DCS instance has a master/standby replication. Each node of a cluster DCS Redis instance has a master/standby replication.

+
+

Maintenance Time Window

The maintenance time window is the period when the DCS service team upgrade and maintain the instance.

+

DCS instance maintenance takes place only once a quarter and does not interrupt services. Even so, you are advised to select a time period when the service demand is low.

+

When creating an instance, you must specify a maintenance time window, which can be modified after the instance is created.

+

For details, see: Modifying Maintenance Time Window.

+
+

Cross-AZ Deployment

Master/Standby instances are deployed across different AZs with physically isolated power supplies and networks. Applications can also be deployed across AZs to achieve HA for both data and applications.

+

When creating a master/standby or cluster DCS Redis instance, you can select a standby AZ for the standby node.

+
+

Shard

A shard is a management unit of a cluster DCS Redis instance. Each shard corresponds to a redis-server process. A cluster consists of multiple shards. Each shard has multiple slots. Data is distributedly stored in the slots. The use of shards increases cache capacity and concurrent connections.

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-200713005.html b/docs/dcs/umn/dcs-pd-200713005.html new file mode 100644 index 000000000..ba66f407e --- /dev/null +++ b/docs/dcs/umn/dcs-pd-200713005.html @@ -0,0 +1,746 @@ + + +

Redis 3.0 Commands

+

DCS for Redis 3.0 is developed based on Redis 3.0.7 and is compatible with open-source protocols and commands.

+

This section describes DCS for Redis 3.0's compatibility with Redis commands, including supported commands, disabled commands, unsupported scripts and commands of later Redis versions, and restrictions on command usage. For more information about the command syntax, visit the Redis official website.

+

DCS for Redis instances support most Redis commands, which are listed in Commands Supported by DCS for Redis 3.0. Any client compatible with the Redis protocol can access DCS.

+ +

Commands Supported by DCS for Redis 3.0

The following lists commands supported by DCS for Redis 3.0.

+
  • Commands available since later Redis versions are not supported by earlier-version instances. Run a command on redis-cli to check whether it is supported by DCS for Redis. If the message "(error) ERR unknown command" is returned, the command is not supported.
  • The following commands listed in the tables are not supported by Proxy Cluster instances:
    • List group: BLPOP, BRPOP, and BRPOPLRUSH
    • CLIENT commands in the Server group: CLIENT KILL, CLIENT GETNAME, CLIENT LIST, CLIENT SETNAME, CLIENT PAUSE, and CLIENT REPLY.
    • Server group: MONITOR
    • Key group: RANDOMKE (for old Proxy Cluster instances)
    +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Commands supported by DCS Redis 3.0 instances 1

Keys

+

String

+

Hash

+

List

+

Set

+

Sorted Set

+

Server

+

DEL

+

APPEND

+

HDEL

+

BLPOP

+

SADD

+

ZADD

+

FLUSHALL

+

DUMP

+

BITCOUNT

+

HEXISTS

+

BRPOP

+

SCARD

+

ZCARD

+

FLUSHDB

+

EXISTS

+

BITOP

+

HGET

+

BRPOPLRUSH

+

SDIFF

+

ZCOUNT

+

DBSIZE

+

EXPIRE

+

BITPOS

+

HGETALL

+

LINDEX

+

SDIFFSTORE

+

ZINCRBY

+

TIME

+

MOVE

+

DECR

+

HINCRBY

+

LINSERT

+

SINTER

+

ZRANGE

+

INFO

+

PERSIST

+

DECRBY

+

HINCRBYFLOAT

+

LLEN

+

SINTERSTORE

+

ZRANGEBYSCORE

+

KEYS

+

PTTL

+

GET

+

HKEYS

+

LPOP

+

SISMEMBER

+

ZRANK

+

CLIENT KILL

+

RANDOMKEY

+

GETRANGE

+

HMGET

+

LPUSHX

+

SMEMBERS

+

ZREMRANGEBYRANK

+

CLIENT LIST

+

RENAME

+

GETSET

+

HMSET

+

LRANGE

+

SMOVE

+

ZREMRANGEBYCORE

+

CLIENT GETNAME

+

RENAMENX

+

INCR

+

HSET

+

LREM

+

SPOP

+

ZREVRANGE

+

CLIENT SETNAME

+

RESTORE

+

INCRBY

+

HSETNX

+

LSET

+

SRANDMEMBER

+

ZREVRANGEBYSCORE

+

CONFIG GET

+

SORT

+

INCRBYFLOAT

+

HVALS

+

LTRIM

+

SREM

+

ZREVRANK

+

MONITOR

+

TTL

+

MGET

+

HSCAN

+

RPOP

+

SUNION

+

ZSCORE

+

SLOWLOG

+

TYPE

+

MSET

+

-

+

RPOPLPU

+

SUNIONSTORE

+

ZUNIONSTORE

+

ROLE

+

SCAN

+

MSETNX

+

-

+

RPOPLPUSH

+

SSCAN

+

ZINTERSTORE

+

-

+

OBJECT

+

PSETEX

+

-

+

RPUSH

+

-

+

ZSCAN

+

-

+

-

+

SET

+

-

+

RPUSHX

+

-

+

ZRANGEBYLEX

+

-

+

-

+

SETBIT

+

-

+

-

+

-

+

-

+

-

+

-

+

SETEX

+

-

+

-

+

-

+

-

+

-

+

-

+

SETNX

+

-

+

-

+

-

+

-

+

-

+

-

+

SETRANGE

+

-

+

-

+

-

+

-

+

-

+

-

+

STRLEN

+

-

+

-

+

-

+

-

+

-

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Commands supported by DCS Redis 3.0 instances 2

HyperLoglog

+

Pub/Sub

+

Transactions

+

Connection

+

Scripting

+

Geo

+

PFADD

+

PSUBSCRIBE

+

DISCARD

+

AUTH

+

EVAL

+

GEOADD

+

PFCOUNT

+

PUBLISH

+

EXEC

+

ECHO

+

EVALSHA

+

GEOHASH

+

PFMERGE

+

PUBSUB

+

MULTI

+

PING

+

SCRIPT EXISTS

+

GEOPOS

+

-

+

PUNSUBSCRIBE

+

UNWATCH

+

QUIT

+

SCRIPT FLUSH

+

GEODIST

+

-

+

SUBSCRIBE

+

WATCH

+

SELECT

+

SCRIPT KILL

+

GEORADIUS

+

-

+

UNSUBSCRIBE

+

-

+

-

+

SCRIPT LOAD

+

GEORADIUSBYMEMBER

+
+
+
+

Commands Disabled by DCS for Redis 3.0

The following lists commands disabled by DCS for Redis 3.0.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Redis commands disabled in single-node and master/standby Redis 3.0 instances

Keys

+

Server

+

MIGRATE

+

SLAVEOF

+

-

+

SHUTDOWN

+

-

+

LASTSAVE

+

-

+

DEBUG commands

+

-

+

COMMAND

+

-

+

SAVE

+

-

+

BGSAVE

+

-

+

BGREWRITEAOF

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 Redis commands disabled in Proxy Cluster Redis 3.0 instances

Keys

+

Server

+

List

+

Transactions

+

Connection

+

Cluster

+

codis

+

MIGRATE

+

SLAVEOF

+

BLPOP

+

DISCARD

+

SELECT

+

CLUSTER

+

TIME

+

MOVE

+

SHUTDOWN

+

BRPOP

+

EXEC

+

-

+

-

+

SLOTSINFO

+

-

+

LASTSAVE

+

BRPOPLPUSH

+

MULTI

+

-

+

-

+

SLOTSDEL

+

-

+

DEBUG commands

+

-

+

UNWATCH

+

-

+

-

+

SLOTSMGRTSLOT

+

-

+

COMMAND

+

-

+

WATCH

+

-

+

-

+

SLOTSMGRTONE

+

-

+

SAVE

+

-

+

-

+

-

+

-

+

SLOTSCHECK

+

-

+

BGSAVE

+

-

+

-

+

-

+

-

+

SLOTSMGRTTAGSLOT

+

-

+

BGREWRITEAOF

+

-

+

-

+

-

+

-

+

SLOTSMGRTTAGONE

+

-

+

SYNC

+

-

+

-

+

-

+

-

+

-

+

-

+

PSYNC

+

-

+

-

+

-

+

-

+

-

+

-

+

MONITOR

+

-

+

-

+

-

+

-

+

-

+

-

+

CLIENT commands

+

-

+

-

+

-

+

-

+

-

+

-

+

OBJECT

+

-

+

-

+

-

+

-

+

-

+

-

+

ROLE

+

-

+

-

+

-

+

-

+

-

+
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-200813002.html b/docs/dcs/umn/dcs-pd-200813002.html new file mode 100644 index 000000000..36d367dc5 --- /dev/null +++ b/docs/dcs/umn/dcs-pd-200813002.html @@ -0,0 +1,762 @@ + + +

Redis 5.0 Commands

+

DCS for Redis 5.0 is developed based on Redis 5.0.9 and is compatible with open-source protocols and commands.

+

This section describes DCS for Redis 5.0's compatibility with Redis commands, including supported and disabled commands. For more information about the command syntax, visit the Redis official website.

+

DCS for Redis instances support most Redis commands. Any client compatible with the Redis protocol can access DCS.

+ +

Commands Supported by DCS for Redis 5.0

+
  • Commands available since later Redis versions are not supported by earlier-version instances. Run a command on redis-cli to check whether it is supported by DCS for Redis. If the message "(error) ERR unknown command" is returned, the command is not supported.
  • For DCS Redis 5.0 instances in the Redis Cluster mode, ensure that all commands in a pipeline are executed on the same shard.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Commands supported by single-node, master/standby, and Redis Cluster DCS Redis 5.0 instances (1)

Keys

+

String

+

Hash

+

List

+

Set

+

Sorted Set

+

Server

+

DEL

+

APPEND

+

HDEL

+

BLPOP

+

SADD

+

ZADD

+

FLUSHALL

+

DUMP

+

BITCOUNT

+

HEXISTS

+

BRPOP

+

SCARD

+

ZCARD

+

FLUSHDB

+

EXISTS

+

BITOP

+

HGET

+

BRPOPLRUSH

+

SDIFF

+

ZCOUNT

+

DBSIZE

+

EXPIRE

+

BITPOS

+

HGETALL

+

LINDEX

+

SDIFFSTORE

+

ZINCRBY

+

TIME

+

MOVE

+

DECR

+

HINCRBY

+

LINSERT

+

SINTER

+

ZRANGE

+

INFO

+

PERSIST

+

DECRBY

+

HINCRBYFLOAT

+

LLEN

+

SINTERSTORE

+

ZRANGEBYSCORE

+

KEYS

+

PTTL

+

GET

+

HKEYS

+

LPOP

+

SISMEMBER

+

ZRANK

+

CLIENT KILL

+

RANDOMKEY

+

GETRANGE

+

HMGET

+

LPUSHX

+

SMEMBERS

+

ZREMRANGEBYRANK

+

CLIENT LIST

+

RENAME

+

GETSET

+

HMSET

+

LRANGE

+

SMOVE

+

ZREMRANGEBYCORE

+

CLIENT GETNAME

+

RENAMENX

+

INCR

+

HSET

+

LREM

+

SPOP

+

ZREVRANGE

+

CLIENT SETNAME

+

RESTORE

+

INCRBY

+

HSETNX

+

LSET

+

SRANDMEMBER

+

ZREVRANGEBYSCORE

+

CONFIG GET

+

SORT

+

INCRBYFLOAT

+

HVALS

+

LTRIM

+

SREM

+

ZREVRANK

+

MONITOR

+

TTL

+

MGET

+

HSCAN

+

RPOP

+

SUNION

+

ZSCORE

+

SLOWLOG

+

TYPE

+

MSET

+

HSTRLEN

+

RPOPLPU

+

SUNIONSTORE

+

ZUNIONSTORE

+

ROLE

+

SCAN

+

MSETNX

+

HLEN

+

RPOPLPUSH

+

SSCAN

+

ZINTERSTORE

+

SWAPDB

+

OBJECT

+

PSETEX

+

-

+

RPUSH

+

SPOP

+

ZSCAN

+

MEMORY

+

PEXPIREAT

+

SET

+

-

+

RPUSHX

+

-

+

ZRANGEBYLEX

+

CONFIG

+

PEXPIRE

+

SETBIT

+

-

+

LPUSH

+

-

+

ZLEXCOUNT

+

-

+

-

+

SETEX

+

-

+

-

+

-

+

ZPOPMIN

+

-

+

-

+

SETNX

+

-

+

-

+

-

+

ZPOPMAX

+

-

+

-

+

SETRANGE

+

-

+

-

+

-

+

ZREMRANGEBYSCORE

+

-

+

-

+

STRLEN

+

-

+

-

+

-

+

ZREM

+

-

+

-

+

BITFIELD

+

-

+

-

+

-

+

-

+

-

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Commands supported by single-node, master/standby, and Redis Cluster DCS Redis 5.0 instances (2)

HyperLoglog

+

Pub/Sub

+

Transactions

+

Connection

+

Scripting

+

Geo

+

Stream

+

PFADD

+

PSUBSCRIBE

+

DISCARD

+

AUTH

+

EVAL

+

GEOADD

+

XACK

+

PFCOUNT

+

PUBLISH

+

EXEC

+

ECHO

+

EVALSHA

+

GEOHASH

+

XADD

+

PFMERGE

+

PUBSUB

+

MULTI

+

PING

+

SCRIPT EXISTS

+

GEOPOS

+

XCLAIM

+

-

+

PUNSUBSCRIBE

+

UNWATCH

+

QUIT

+

SCRIPT FLUSH

+

GEODIST

+

XDEL

+

-

+

SUBSCRIBE

+

WATCH

+

SELECT

+

SCRIPT KILL

+

GEORADIUS

+

XGROUP

+

-

+

UNSUBSCRIBE

+

-

+

-

+

SCRIPT LOAD

+

GEORADIUSBYMEMBER

+

XINFO

+

-

+

-

+

-

+

-

+

-

+

-

+

XLEN

+

-

+

-

+

-

+

-

+

-

+

-

+

XPENDING

+

-

+

-

+

-

+

-

+

-

+

-

+

XRANGE

+

-

+

-

+

-

+

-

+

-

+

-

+

XREAD

+

-

+

-

+

-

+

-

+

-

+

-

+

XREADGROUP

+

-

+

-

+

-

+

-

+

-

+

-

+

XREVRANGE

+

-

+

-

+

-

+

-

+

-

+

-

+

XTRIM

+
+
+
+

Commands Disabled by DCS for Redis 5.0

The following lists commands disabled by DCS for Redis 5.0.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Redis commands disabled in single-node and master/standby Redis 5.0 instances

Keys

+

Server

+

MIGRATE

+

SLAVEOF

+

-

+

SHUTDOWN

+

-

+

LASTSAVE

+

-

+

DEBUG commands

+

-

+

COMMAND

+

-

+

SAVE

+

-

+

BGSAVE

+

-

+

BGREWRITEAOF

+

-

+

SYNC

+

-

+

PSYNC

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 Redis commands disabled in Redis Cluster Redis 5.0 instances

Keys

+

Server

+

Cluster

+

MIGRATE

+

SLAVEOF

+

CLUSTER MEET

+

-

+

SHUTDOWN

+

CLUSTER FLUSHSLOTS

+

-

+

LASTSAVE

+

CLUSTER ADDSLOTS

+

-

+

DEBUG commands

+

CLUSTER DELSLOTS

+

-

+

COMMAND

+

CLUSTER SETSLOT

+

-

+

SAVE

+

CLUSTER BUMPEPOCH

+

-

+

BGSAVE

+

CLUSTER SAVECONFIG

+

-

+

BGREWRITEAOF

+

CLUSTER FORGET

+

-

+

SYNC

+

CLUSTER REPLICATE

+

-

+

PSYNC

+

CLUSTER COUNT-FAILURE-REPORTS

+

-

+

-

+

CLUSTER FAILOVER

+

-

+

-

+

CLUSTER SET-CONFIG-EPOCH

+

-

+

-

+

CLUSTER RESET

+
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-200813003.html b/docs/dcs/umn/dcs-pd-200813003.html new file mode 100644 index 000000000..b63023f56 --- /dev/null +++ b/docs/dcs/umn/dcs-pd-200813003.html @@ -0,0 +1,117 @@ + + +

Command Restrictions for Cluster Instances

+

Some Redis commands are supported by cluster DCS instances for multi-key operations in the same slot. For details, see Table 1.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Redis commands restricted in cluster DCS instances.

Category

+

Description

+

Set

+

SINTER

+

Returns the members of the set resulting from the intersection of all the given sets.

+

SINTERSTORE

+

Equal to SINTER, but instead of returning the result set, it is stored in destination.

+

SUNION

+

Returns the members of the set resulting from the union of all the given sets.

+

SUNIONSTORE

+

Equal to SUNION, but instead of returning the result set, it is stored in destination.

+

SDIFF

+

Returns the members of the set resulting from the difference between the first set and all the successive sets.

+

SDIFFSTORE

+

Equal to SDIFF, but instead of returning the result set, it is stored in destination.

+

SMOVE

+

Moves member from the set at source to the set at destination.

+

Sorted Set

+

ZUNIONSTORE

+

Computes the union of numkeys sorted sets given by the specified keys.

+

ZINTERSTORE

+

Computes the intersection of numkeys sorted sets given by the specified keys.

+

HyperLogLog

+

PFCOUNT

+

Returns the approximated cardinality computed by the HyperLogLog data structure stored at the specified variable.

+

PFMERGE

+

Merges multiple HyperLogLog values into a unique value.

+

Keys

+

RENAME

+

Renames key to newkey.

+

RENAMENX

+

Renames key to newkey if newkey does not yet exist.

+

BITOP

+

Performs a bitwise operation between multiple keys (containing string values) and stores the result in the destination key.

+

RPOPLPUSH

+

Returns and removes the last element (tail) of the list stored at source, and pushes the element at the first element (head) of the list stored at destination.

+

String

+

MSETNX

+

Merges multiple HyperLogLog values into a unique value.

+
+
+

While running commands that take a long time to run, such as FLUSHALL, DCS instances may not respond to other commands and may change to the faulty state. After the command finishes executing, the instance will return to normal.

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-200813004.html b/docs/dcs/umn/dcs-pd-200813004.html new file mode 100644 index 000000000..0a4cc5535 --- /dev/null +++ b/docs/dcs/umn/dcs-pd-200813004.html @@ -0,0 +1,19 @@ + + +

Other Command Usage Restrictions

+

This section describes restrictions on some Redis commands.

+

KEYS Command

In case of a large amount of cached data, running the KEYS command may block the execution of other commands for a long time or occupy exceptionally large memory. Therefore, when running the KEYS command, describe the exact pattern and do not use fuzzy keys *. Do not use the KEYS command in the production environment. Otherwise, the service running will be affected.

+
+

Commands in the Server Group

+
+

EVAL and EVALSHA Commands

+
+

Other Restrictions

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-200916001.html b/docs/dcs/umn/dcs-pd-200916001.html new file mode 100644 index 000000000..73b603612 --- /dev/null +++ b/docs/dcs/umn/dcs-pd-200916001.html @@ -0,0 +1,643 @@ + + +

Redis 4.0 Commands

+

DCS for Redis 4.0 is developed based on Redis 4.0.14 and is compatible with open-source protocols and commands.

+

This section describes DCS for Redis 4.0's compatibility with Redis commands, including supported and disabled commands. For more information about the command syntax, visit the Redis official website.

+

DCS for Redis instances support most Redis commands, which are listed in Commands Supported by DCS for Redis 4.0. Any client compatible with the Redis protocol can access DCS.

+ +

Commands Supported by DCS for Redis 4.0

Table 1 and Table 2 list the Redis commands supported by single-node, master/standby, and Redis Cluster DCS Redis 4.0 instances.

+
  • Commands available since later Redis versions are not supported by earlier-version instances. Run a command on redis-cli to check whether it is supported by DCS for Redis. If the message "(error) ERR unknown command" is returned, the command is not supported.
  • For DCS Redis 4.0 instances in the Redis Cluster mode, ensure that all commands in a pipeline are executed on the same shard.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 Commands supported by single-node, master/standby, and Redis Cluster DCS Redis 4.0 instances (1)

Keys

+

String

+

Hash

+

List

+

Set

+

Sorted Set

+

Server

+

DEL

+

APPEND

+

HDEL

+

BLPOP

+

SADD

+

ZADD

+

FLUSHALL

+

DUMP

+

BITCOUNT

+

HEXISTS

+

BRPOP

+

SCARD

+

ZCARD

+

FLUSHDB

+

EXISTS

+

BITOP

+

HGET

+

BRPOPLRUSH

+

SDIFF

+

ZCOUNT

+

DBSIZE

+

EXPIRE

+

BITPOS

+

HGETALL

+

LINDEX

+

SDIFFSTORE

+

ZINCRBY

+

TIME

+

MOVE

+

DECR

+

HINCRBY

+

LINSERT

+

SINTER

+

ZRANGE

+

INFO

+

PERSIST

+

DECRBY

+

HINCRBYFLOAT

+

LLEN

+

SINTERSTORE

+

ZRANGEBYSCORE

+

KEYS

+

PTTL

+

GET

+

HKEYS

+

LPOP

+

SISMEMBER

+

ZRANK

+

CLIENT KILL

+

RANDOMKEY

+

GETRANGE

+

HMGET

+

LPUSHX

+

SMEMBERS

+

ZREMRANGEBYRANK

+

CLIENT LIST

+

RENAME

+

GETSET

+

HMSET

+

LRANGE

+

SMOVE

+

ZREMRANGEBYCORE

+

CLIENT GETNAME

+

RENAMENX

+

INCR

+

HSET

+

LREM

+

SPOP

+

ZREVRANGE

+

CLIENT SETNAME

+

RESTORE

+

INCRBY

+

HSETNX

+

LSET

+

SRANDMEMBER

+

ZREVRANGEBYSCORE

+

CONFIG GET

+

SORT

+

INCRBYFLOAT

+

HVALS

+

LTRIM

+

SREM

+

ZREVRANK

+

MONITOR

+

TTL

+

MGET

+

HSCAN

+

RPOP

+

SUNION

+

ZSCORE

+

SLOWLOG

+

TYPE

+

MSET

+

HSTRLEN

+

RPOPLPU

+

SUNIONSTORE

+

ZUNIONSTORE

+

ROLE

+

SCAN

+

MSETNX

+

HLEN

+

RPOPLPUSH

+

SSCAN

+

ZINTERSTORE

+

SWAPDB

+

OBJECT

+

PSETEX

+

-

+

RPUSH

+

SPOP

+

ZSCAN

+

MEMORY

+

PEXPIRE

+

SET

+

-

+

RPUSHX

+

-

+

ZRANGEBYLEX

+

CONFIG

+

PEXPIREAT

+

SETBIT

+

-

+

LPUSH

+

-

+

ZLEXCOUNT

+

-

+

-

+

SETEX

+

-

+

-

+

-

+

ZREMRANGEBYSCORE

+

-

+

-

+

SETNX

+

-

+

-

+

-

+

ZREM

+

-

+

-

+

SETRANGE

+

-

+

-

+

-

+

-

+

-

+

-

+

STRLEN

+

-

+

-

+

-

+

-

+

-

+

-

+

BITFIELD

+

-

+

-

+

-

+

-

+

-

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Commands supported by single-node, master/standby, and Redis Cluster DCS Redis 4.0 instances (2)

HyperLoglog

+

Pub/Sub

+

Transactions

+

Connection

+

Scripting

+

Geo

+

PFADD

+

PSUBSCRIBE

+

DISCARD

+

AUTH

+

EVAL

+

GEOADD

+

PFCOUNT

+

PUBLISH

+

EXEC

+

ECHO

+

EVALSHA

+

GEOHASH

+

PFMERGE

+

PUBSUB

+

MULTI

+

PING

+

SCRIPT EXISTS

+

GEOPOS

+

-

+

PUNSUBSCRIBE

+

UNWATCH

+

QUIT

+

SCRIPT FLUSH

+

GEODIST

+

-

+

SUBSCRIBE

+

WATCH

+

SELECT

+

SCRIPT KILL

+

GEORADIUS

+

-

+

UNSUBSCRIBE

+

-

+

-

+

SCRIPT LOAD

+

GEORADIUSBYMEMBER

+
+
+
+

Commands Disabled by DCS for Redis 4.0

The following lists commands disabled by DCS for Redis 4.0.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Redis commands disabled in single-node and master/standby Redis 4.0 instances

Keys

+

Server

+

MIGRATE

+

SLAVEOF

+

-

+

SHUTDOWN

+

-

+

LASTSAVE

+

-

+

DEBUG commands

+

-

+

COMMAND

+

-

+

SAVE

+

-

+

BGSAVE

+

-

+

BGREWRITEAOF

+

-

+

SYNC

+

-

+

PSYNC

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 Redis commands disabled in Redis Cluster Redis 4.0 instances

Keys

+

Server

+

Cluster

+

MIGRATE

+

SLAVEOF

+

CLUSTER MEET

+

-

+

SHUTDOWN

+

CLUSTER FLUSHSLOTS

+

-

+

LASTSAVE

+

CLUSTER ADDSLOTS

+

-

+

DEBUG commands

+

CLUSTER DELSLOTS

+

-

+

COMMAND

+

CLUSTER SETSLOT

+

-

+

SAVE

+

CLUSTER BUMPEPOCH

+

-

+

BGSAVE

+

CLUSTER SAVECONFIG

+

-

+

BGREWRITEAOF

+

CLUSTER FORGET

+

-

+

SYNC

+

CLUSTER REPLICATE

+

-

+

PSYNC

+

CLUSTER COUNT-FAILURE-REPORTS

+

-

+

-

+

CLUSTER FAILOVER

+

-

+

-

+

CLUSTER SET-CONFIG-EPOCH

+

-

+

-

+

CLUSTER RESET

+
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-pd-210626001.html b/docs/dcs/umn/dcs-pd-210626001.html new file mode 100644 index 000000000..6b64bbf6d --- /dev/null +++ b/docs/dcs/umn/dcs-pd-210626001.html @@ -0,0 +1,310 @@ + + +

Permissions Management

+

If you need to assign different permissions to employees in your enterprise to access your DCS resources, Identity and Access Management (IAM) is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your resources.

+

With IAM, you can use your account to create IAM users, and assign permissions to the users to control their access to specific resources. For example, some software developers in your enterprise need to use DCS resources but should not be allowed to delete DCS instances or perform any other high-risk operations. In this scenario, you can create IAM users for the software developers and grant them only the permissions required for using DCS resources.

+

If your account does not require individual IAM users for permissions management, skip this section.

+

DCS Permissions

By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.

+

DCS is a project-level service deployed and accessed in specific physical regions. To assign DCS permissions to a user group, specify the scope as region-specific projects and select regions for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing DCS, the users need to switch to a region where they have been authorized to use this service.

+
You can grant users permissions by using roles and policies.
  • Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you must also assign other roles on which the permissions depend to take effect. However, roles are not an ideal choice for fine-grained authorization and secure access control.
  • Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant DCS users only the permissions for operating DCS instances. Fine-grained policies are based on APIs. The minimum granularity of a policy is API actions. For the API actions supported by DCS, see "Permissions Policies and Supported Actions".
+
+

Table 1 lists all the system-defined roles and policies supported by DCS.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 System-defined roles and policies supported by DCS

Role/Policy Name

+

Description

+

Type

+

Dependency

+

DCS FullAccess

+

All permissions for DCS. Users granted these permissions can operate and use all DCS instances.

+

System-defined policy

+

None

+

DCS UserAccess

+

Common user permissions for DCS, excluding permissions for creating, modifying, deleting DCS instances and modifying instance specifications.

+

System-defined policy

+

None

+

DCS ReadOnlyAccess

+

Read-only permissions for DCS. Users granted these permissions can only view DCS instance data.

+

System-defined policy

+

None

+
+
+

The DCS UserAccess policy is different from the DCS FullAccess policy. If you configure both of them, you cannot create, modify, delete, or scale DCS instances because deny statements will take precedence over allowed statements.

+
+

Table 2 lists the common operations supported by each system policy of DCS. Please choose proper system policies according to this table.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 Common operations supported by each system policy

Operation

+

DCS FullAccess

+

DCS UserAccess

+

DCS ReadOnlyAccess

+

Modifying instance configuration parameters

+

+

+

×

+

Deleting background tasks

+

+

+

×

+

Accessing instances using Web CLI

+

+

+

×

+

Modifying instance running status

+

+

+

×

+

Expanding instance capacity

+

+

×

+

×

+

Changing instance passwords

+

+

+

×

+

Modifying DCS instances

+

+

×

+

×

+

Performing a master/standby switchover

+

+

+

×

+

Backing up instance data

+

+

+

×

+

Analyzing big keys or hot keys

+

+

+

×

+

Creating DCS instances

+

+

×

+

×

+

Deleting instance backup files

+

+

+

×

+

Upgrading instance version

+

+

+

×

+

Restoring instance data

+

+

+

×

+

Resetting instance passwords

+

+

+

×

+

Migrating instance data

+

+

+

×

+

Downloading instance backup data

+

+

+

×

+

Deleting DCS instances

+

+

×

+

×

+

Querying instance configuration parameters

+

+

+

+

Querying instance restoration logs

+

+

+

+

Querying instance backup logs

+

+

+

+

Querying DCS instances

+

+

+

+

Querying instance background tasks

+

+

+

+

Querying instance upgrade information

+

+

+

+

Querying all instances

+

+

+

+

Viewing instance performance metrics

+

+

+

+
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312003.html b/docs/dcs/umn/dcs-ug-0312003.html new file mode 100644 index 000000000..5e39165b9 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312003.html @@ -0,0 +1,18 @@ + + +

Creating an Instance

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-0312004.html b/docs/dcs/umn/dcs-ug-0312004.html new file mode 100644 index 000000000..760bbea8a --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312004.html @@ -0,0 +1,19 @@ + + +

Preparing the Environment

+

To access DCS instances through a Virtual Private Cloud (VPC), create a VPC and configure security groups and subnets for it before using DCS. A VPC provides an isolated virtual network environment which you can configure and manage. Using VPCs enhances cloud resource security and simplifies network deployment.

+

Once you have created a VPC, you can use it for all DCS instances you subsequently create.

+

Creating a VPC

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List, and choose Network > Virtual Private Cloud to launch the VPC console.
  4. Click Apply for VPC.
  5. Create a VPC as prompted, retaining the default values unless otherwise required.

    For details about how to create a VPC, see Creating a VPC.

    +

    After a VPC is created, a subnet is also created in the subnet. If the VPC needs more subnets, go to 7. Otherwise, go to 8.

    +
    • When creating a VPC, CIDR Block indicates the IP address range of the VPC. If this parameter is set, the IP addresses of subnets in the VPC must be within the IP address range of the VPC.
    • If you create a VPC to provision DCS instances, you do not need to configure the CIDR block for the VPC.
    +
    +

  6. In the navigation pane on the left, choose Virtual Private Cloud > Subnets.
  7. Click Create Subnet. Create a subnet as prompted, retaining the default values unless otherwise required.

    For details about how to create a subnet, see Creating a Subnet for the VPC.

    +

  8. In the navigation pane on the left, choose Access Control > Security Groups and then click Create Security Group in the upper right corner of the displayed page. Create a security group as prompted, retaining the default values unless otherwise required.

    For details about how to create a security group, see Creating a Security Group.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312008.html b/docs/dcs/umn/dcs-ug-0312008.html new file mode 100644 index 000000000..30ba8c8f9 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312008.html @@ -0,0 +1,18 @@ + + +

Accessing a DCS Redis 4.0 or 5.0 Instance on the Console

+

Access a DCS Redis instance through Web CLI. This function is supported only by DCS Redis 4.0 and 5.0 instances, and not by DCS Redis 3.0 instances.

+
  • Do not enter sensitive information in Web CLI to avoid disclosure.
  • Keys and values cannot contain spaces.
  • If the value is empty, nil is returned after the GET command is executed.
+
+

Prerequisites

The DCS Redis 4.0 or 5.0 instance you want to access through Web CLI is in the Running state.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. In the row containing the desired instance, choose More > Connect to Redis to go to the Web CLI login page.
  5. Enter the password of the DCS instance. On Web CLI, select the current Redis database, enter a Redis command in the command box, and press Enter.
+

+

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312009.html b/docs/dcs/umn/dcs-ug-0312009.html new file mode 100644 index 000000000..93e800533 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312009.html @@ -0,0 +1,61 @@ + + +

phpredis

+

Access a DCS Redis instance through phpredis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.

+

The operations described in this section apply only to single-node, master/standby, and Proxy Cluster instances. To use phpredis to connect to a Redis Cluster instance, see the phpredis description.

+
+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.

    The following uses CentOS as an example to describe how to access an instance through phpredis.

    +

  3. Install GCC-C++ and Make compilation components.

    yum install gcc-c++ make

    +

  4. Install the PHP development package and CLI tool.

    Run the following yum command to install the PHP development package:

    +

    yum install php-devel php-common php-cli

    +

    After the installation is complete, run the following command to query the PHP version and check whether the installation is successful:

    +

    php --version

    +

  5. Install the phpredis client.

    1. Download the source phpredis package.

      wget http://pecl.php.net/get/redis-5.3.7.tgz

      +

      This version is used as an example. To download phpredis clients of other versions, visit the Redis or PHP official website.

      +
    2. Decompress the source phpredis package.

      tar -zxvf redis-5.3.7.tgz

      +

      cd redis-5.3.7

      +
    3. Command before compilation.

      phpize

      +
    4. Configure the php-config file.

      ./configure --with-php-config=/usr/bin/php-config

      +

      The location of the file varies depending on the OS and PHP installation mode. You are advised to locate the directory where the file is saved before the configuration.

      +

      find / -name php-config

      +
    5. Compile and install the phpredis client.

      make && make install

      +
    6. After the installation, add the extension configuration in the php.ini file to reference the Redis module.

      vim /etc/php.ini

      +

      Add the following configuration:

      +
      extension = "/usr/lib64/php/modules/redis.so"
      +

      The redis.so file may be saved in a different directory from php.ini. Run the following command to locate the directory:

      +

      find / -name php.ini

      +
      +
    7. Save the configuration and exit. Then, run the following command to check whether the extension takes effect:

      php -m |grep redis

      +

      If the command output contains redis, the phpredis client environment has been set up.

      +
    +

  6. Access the DCS instance by using phpredis.

    1. Edit a redis.php file.
      <?php
      +    $redis_host = "{redis_instance_address}";
      +    $redis_port = 6379;
      +    $user_pwd = "{password}";
      +    $redis = new Redis();
      +    if ($redis->connect($redis_host, $redis_port) == false) {
      +       die($redis->getLastError());
      +    }
      +    if ($redis->auth($user_pwd) == false) {
      +        die($redis->getLastError());
      +    }
      +    if ($redis->set("welcome", "Hello, DCS for Redis!") == false) {
      +        die($redis->getLastError());
      +    }
      +    $value = $redis->get("welcome");
      +    echo $value;
      +    $redis->close();
      +?>
      +

      {redis_instance_address} indicates the IP address/domain name of DCS instance and 6379 is an example port number of DCS instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address/domain name and port as required. {password} indicates the password used to log in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation. If password-free access is enabled, shield the if statement for password authentication.

      +
    2. Run the php redis.php command to access the DCS instance.
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312010.html b/docs/dcs/umn/dcs-ug-0312010.html new file mode 100644 index 000000000..4c953f082 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312010.html @@ -0,0 +1,91 @@ + + +

hiredis in C++

+

Access a DCS Redis instance through hiredis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.

+

The operations described in this section apply only to single-node, master/standby, and Proxy Cluster instances. To use C++ to connect to a Redis Cluster instance, see the C++ Redis client description.

+
+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.

    The following uses CentOS as an example to describe how to access an instance in C++.

    +

  3. Install GCC, Make, and hiredis.

    If the system does not provide a compiling environment, run the following yum command to install the environment:

    +

    yum install gcc make

    +

  4. Run the following command to download and decompress the hiredis package:

    wget https://github.com/redis/hiredis/archive/master.zip

    +

    unzip master.zip

    +

  5. Go to the directory where the decompressed hiredis package is saved, and compile and install hiredis.

    make

    +

    make install

    +

  6. Access the DCS instance by using hiredis.

    The following describes connection and password authentication of hiredis. For more information on how to use hiredis, visit the Redis official website.

    +
    1. Edit the sample code for connecting to a DCS instance, and then save the code and exit.

      vim connRedis.c

      +

      Example:

      +
      #include <stdio.h>
      +#include <stdlib.h>
      +#include <string.h>
      +#include <hiredis.h>
      +int main(int argc, char **argv) {
      +     unsigned int j;
      +     redisContext *conn;
      +     redisReply *reply;
      +     if (argc < 3) {
      +             printf("Usage: example {instance_ip_address} 6379 {password}\n");
      +             exit(0);
      +     }
      +     const char *hostname = argv[1];
      +     const int port = atoi(argv[2]);
      +     const char *password = argv[3];
      +     struct timeval timeout = { 1, 500000 }; // 1.5 seconds
      +     conn = redisConnectWithTimeout(hostname, port, timeout);
      +     if (conn == NULL || conn->err) {
      +		if (conn) {
      +             printf("Connection error: %s\n", conn->errstr);
      +             redisFree(conn);
      +		} else {
      +             printf("Connection error: can't allocate redis context\n");
      +		}
      +     exit(1);
      +     }
      +     /* AUTH */
      +     reply = redisCommand(conn, "AUTH %s", password);
      +     printf("AUTH: %s\n", reply->str);
      +     freeReplyObject(reply);
      +
      +     /* Set */
      +     reply = redisCommand(conn,"SET %s %s", "welcome", "Hello, DCS for Redis!");
      +     printf("SET: %s\n", reply->str);
      +     freeReplyObject(reply);
      +
      +     /* Get */
      +     reply = redisCommand(conn,"GET welcome");
      +     printf("GET welcome: %s\n", reply->str);
      +     freeReplyObject(reply);
      +
      +     /* Disconnects and frees the context */
      +     redisFree(conn);
      +     return 0;
      +}
      +
    2. Run the following command to compile the code:

      gcc connRedis.c -o connRedis -I /usr/local/include/hiredis -lhiredis

      +

      If an error is reported, locate the directory where the hiredis.h file is saved and modify the compilation command.

      +

      After the compilation, an executable connRedis file is obtained.

      +
    3. Run the following command to access the chosen DCS Redis instance:

      ./connRedis {redis_ip_address} 6379 {password}

      +

      {redis_instance_address} indicates the IP address/domain name of DCS instance and 6379 is an example port number of DCS instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address/domain name and port as required. {password} indicates the password used to log in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation.

      +

      You have successfully accessed the instance if the following command output is displayed:

      +
      AUTH: OK
      +SET: OK
      +GET welcome: Hello, DCS for Redis!
      +
    +

    If an error is reported, indicating that the hiredis library files cannot be found, run the following commands to copy related files to the system directories and add dynamic links:

    +

    mkdir /usr/lib/hiredis

    +

    cp /usr/local/lib/libhiredis.so.0.13 /usr/lib/hiredis/

    +

    mkdir /usr/include/hiredis

    +

    cp /usr/local/include/hiredis/hiredis.h /usr/include/hiredis/

    +

    echo '/usr/local/lib' >>;>>;/etc/ld.so.conf

    +

    ldconfig

    +

    Replace the locations of the so and .h files with actual ones before running the commands.

    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312011.html b/docs/dcs/umn/dcs-ug-0312011.html new file mode 100644 index 000000000..f959bd008 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312011.html @@ -0,0 +1,55 @@ + + +

Clients in Python

+

Access a DCS Redis instance through redis-py on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.

+

Use redis-py to connect to single-node, master/standby, and Proxy Cluster instances and redis-py-cluster to connect to Redis Cluster instances.

+
+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.

    The following uses CentOS as an example to describe how to access an instance using a Python client.

    +

  3. Access the DCS Redis instance.

    If the system does not provide Python, run the following yum command to install it:

    +
    yum install python

    The Python version must be 3.6 or later. If the default Python version is earlier than 3.6, perform the following operations to change it:

    +
    1. Run the rm -rf python command to delete the Python symbolic link.
    2. Run the ln -s pythonX.X.X python command to create another Python link. In the command, X.X.X indicates the Python version number.
    +
    +
    • If the instance is a single-node, master/standby, or Proxy Cluster instance:
      1. Install Python and redis-py.
        1. If the system does not provide Python, run the following yum command to install it.
        2. Run the following command to download and decompress the redis-py package:

          wget https://github.com/andymccurdy/redis-py/archive/master.zip

          +

          unzip master.zip

          +
        3. Go to the directory where the decompressed redis-py package is saved, and install redis-py.

          python setup.py install

          +

          After the installation, run the python command. redis-py have been successfully installed if the following command output is displayed:

          +
          Figure 1 Running the python command
          +
        +
      2. Use the redis-py client to connect to the instance. In the following steps, commands are executed in CLI mode. (Alternatively, write the commands into a Python script and then execute the script.)
        1. Run the python command to enter the CLI mode. You have entered CLI mode if the following command output is displayed:
          Figure 2 Entering the CLI mode
          +
        2. Run the following command to access the chosen DCS Redis instance:
          r = redis.StrictRedis(host='XXX.XXX.XXX.XXX', port=6379, password='******');
          +

          XXX.XXX.XXX.XXX indicates the IP address/domain name of the DCS instance and 6379 is an example port number of the instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address/domain name and port as required. ****** indicates the password used for logging in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation.

          +

          You have successfully accessed the instance if the following command output is displayed. Enter commands to perform read and write operations on the database.

          +
          Figure 3 Redis connected successfully
          +
        +
      +
    • If the instance is a Redis Cluster instance:
      1. Install the redis-py-cluster client.
        1. Download the released version.

          wget https://github.com/Grokzen/redis-py-cluster/releases/download/2.1.3/redis-py-cluster-2.1.3.tar.gz

          +
        2. Decompress the package.

          tar -xvf redis-py-cluster-2.1.3.tar.gz

          +
        3. Go to the directory where the decompressed redis-py-cluster package is saved, and install redis-py-cluster.

          python setup.py install

          +
        +
      2. Access the DCS Redis instance by using redis-py-cluster.

        In the following steps, commands are executed in CLI mode. (Alternatively, write the commands into a Python script and then execute the script.)

        +
        1. Run the python command to enter the CLI mode.
        2. Run the following command to access the chosen DCS Redis instance:
          >>> from rediscluster import RedisCluster
          +
          +>>> startup_nodes = [{"host": "192.168.0.143", "port": "6379"}]
          +
          +>>> rc = RedisCluster(startup_nodes=startup_nodes, decode_responses=True)
          +
          +>>> rc.set("foo", "bar")
          +True
          +>>> print(rc.get("foo"))
          +'bar'
          +

          +
        +
      +
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312012.html b/docs/dcs/umn/dcs-ug-0312012.html new file mode 100644 index 000000000..31e93b7c1 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312012.html @@ -0,0 +1,94 @@ + + +

Node.js

+

Access a DCS Redis instance through Node.js on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.

+

The operations described in this section apply only to single-node, master/standby, and Proxy Cluster instances. To use Node.js to connect to a Redis Cluster instance, see Node.js Redis client description.

+
+

Prerequisites

+
+

Procedure

+
  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.
  3. Install Node.js.

    apt install nodejs-legacy

    +

    If the preceding command does not work, run the following commands:

    +

    wget https://nodejs.org/dist/v0.12.4/node-v0.12.4.tar.gz --no-check-certificate

    +

    tar -xvf node-v4.28.5.tar.gz

    +

    cd node-v4.28.5

    +

    ./configure

    +

    make

    +

    make install

    +

    After the installation is complete, run the node --version command to query the Node.js version to check whether the installation is successful.

    +
    +

  4. Install the node package manager (npm).

    apt install npm

    +

  5. Install the Redis client ioredis.

    npm install ioredis

    +

  6. Edit the sample script for connecting to a DCS instance.

    Add the following content to the ioredisdemo.js script, including information about connection and data reading.

    +
    var Redis = require('ioredis');
    +var redis = new Redis({
    +  port: 6379,          // Redis port
    +  host: '192.168.0.196',   // Redis host
    +  family: 4,           // 4 (IPv4) or 6 (IPv6)
    +  password: '******',
    +  db: 0
    +});
    +redis.set('foo', 'bar');
    +redis.get('foo', function (err, result) {
    +  console.log(result);
    +});
    +// Or using a promise if the last argument isn't a function
    +redis.get('foo').then(function (result) {
    +  console.log(result);
    +});
    +// Arguments to commands are flattened, so the following are the same:
    +redis.sadd('set', 1, 3, 5, 7);
    +redis.sadd('set', [1, 3, 5, 7]);
    +// All arguments are passed directly to the redis server:
    +redis.set('key', 100, 'EX', 10);
    +

    host indicates the example IP address/domain name of DCS instance and port indicates the port number of DCS instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address/domain name and port as required. ****** indicates the password used for logging in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation.

    +

  7. Run the sample script to access the chosen DCS instance.

    node ioredisdemo.js

    +

+

+ +
  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.
  3. Install Node.js.

    yum install nodejs

    +

    If the preceding command does not work, run the following commands:

    +

    wget https://nodejs.org/dist/v0.12.4/node-v0.12.4.tar.gz --no-check-certificate

    +

    tar -xvf node-v0.12.4.tar.gz

    +

    cd node-v0.12.4

    +

    ./configure

    +

    make

    +

    make install

    +

    After the installation is complete, run the node --version command to query the Node.js version to check whether the installation is successful.

    +
    +

  4. Install npm.

    yum install npm

    +

  5. Install the Redis client ioredis.

    npm install ioredis

    +

  6. Edit the sample script for connecting to a DCS instance.

    Add the following content to the ioredisdemo.js script, including information about connection and data reading.

    +
    var Redis = require('ioredis');
    +var redis = new Redis({
    +  port: 6379,          // Redis port
    +  host: '192.168.0.196',   // Redis host
    +  family: 4,           // 4 (IPv4) or 6 (IPv6)
    +  password: '******',
    +  db: 0
    +});
    +redis.set('foo', 'bar');
    +redis.get('foo', function (err, result) {
    +  console.log(result);
    +});
    +// Or using a promise if the last argument isn't a function
    +redis.get('foo').then(function (result) {
    +  console.log(result);
    +});
    +// Arguments to commands are flattened, so the following are the same:
    +redis.sadd('set', 1, 3, 5, 7);
    +redis.sadd('set', [1, 3, 5, 7]);
    +// All arguments are passed directly to the redis server:
    +redis.set('key', 100, 'EX', 10);
    +

    host indicates the example IP address/domain name of DCS instance and port indicates the port number of DCS instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address/domain name and port as required. ****** indicates the password used for logging in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation.

    +

  7. Run the sample script to access the chosen DCS instance.

    node ioredisdemo.js

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312013.html b/docs/dcs/umn/dcs-ug-0312013.html new file mode 100644 index 000000000..9fa54f602 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312013.html @@ -0,0 +1,63 @@ + + +

C#

+

Access a DCS Redis instance through C# Client StackExchange.Redis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.

+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.

    A Windows ECS is used as an example.

    +

  3. Install Visual Studio Community 2017 on the ECS.
  4. Start Visual Studio 2017 and create a project.

    Set the project name to redisdemo.

    +

  5. Install StackExchange.Redis by using the NuGet package manager of Visual Studio.

    Access the NuGet package manager console according to Figure 1, and enter Install-Package StackExchange.Redis -Version 2.2.79. (The version number is optional).

    +
    Figure 1 Accessing the NuGet package manager console
    +

  6. Write the following code, and use the String Set and Get methods to test the connection.

    using System;
    +using StackExchange.Redis;
    +
    +namespace redisdemo
    +{
    +    class Program
    +    {
    +        // redis config
    +        private static ConfigurationOptions connDCS = ConfigurationOptions.Parse("10.10.38.233:6379,password=********,connectTimeout=2000");
    +        //the lock for singleton
    +        private static readonly object Locker = new object();
    +        //singleton
    +        private static ConnectionMultiplexer redisConn;
    +        //singleton
    +        public static ConnectionMultiplexer getRedisConn()
    +        {
    +            if (redisConn == null)
    +            {
    +                lock (Locker)
    +                {
    +                    if (redisConn == null || !redisConn.IsConnected)
    +                    {
    +                        redisConn = ConnectionMultiplexer.Connect(connDCS);
    +                    }
    +                }
    +            }
    +            return redisConn;
    +        }
    +        static void Main(string[] args)
    +        {
    +            redisConn = getRedisConn();
    +            var db = redisConn.GetDatabase();
    +            //set get
    +            string strKey = "Hello";
    +            string strValue = "DCS for Redis!";
    +            Console.WriteLine( strKey + ", " + db.StringGet(strKey));
    +
    +            Console.ReadLine();
    +        }
    +    }
    +}
    +

    10.10.38.233:6379 contains an example IP address/domain name and port number of the DCS Redis instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address/domain name and port as required. ******** indicates the password used for logging in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation.

    +

  7. Run the code. You have successfully accessed the instance if the following command output is displayed:

    Hello, DCS for Redis!
    +

    For more information about other commands of StackExchange.Redis, visit StackExchange.Redis.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312015.html b/docs/dcs/umn/dcs-ug-0312015.html new file mode 100644 index 000000000..003a1cd30 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312015.html @@ -0,0 +1,28 @@ + + +

Operating DCS Instances

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-0312016.html b/docs/dcs/umn/dcs-ug-0312016.html new file mode 100644 index 000000000..18407a999 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312016.html @@ -0,0 +1,152 @@ + + +

Viewing Details of a DCS Instance

+

On the DCS console, you can view DCS instance details.

+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Search for DCS instances using any of the following methods:

    • Search by keyword.

      Enter a keyword to search.

      +
    • Select attributes and enter their keywords to search.

      Currently, you can search by name, ID, connection address (IP address:port number), AZ, status, instance type, and cache engine.

      +
    +

    For more information on how to search, click the question mark to the right of the search box.

    +

  5. On the DCS instance list, click the name of a DCS instance to display more details about it. Table 1 describes the parameters.

    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 1 Parameters on the Basic Information page of a DCS instance

    Section

    +

    Parameter

    +

    Description

    +

    Instance Details

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    Name

    +

    Name of the chosen instance. To modify the instance name, click the icon.

    +

    Status

    +

    State of the chosen instance.

    +

    ID

    +

    ID of the chosen instance.

    +

    Cache Engine

    +

    Cache engine and cache engine version used by the DCS instance. For example, Redis 3.0.

    +

    Instance Type

    +

    Type of the selected instance. Currently, supported types include single-node, master/standby, Proxy Cluster, and Redis Cluster.

    +

    Cache Size

    +

    Specification of the chosen instance.

    +

    Used/Available Memory (MB)

    +

    The used memory space and maximum available memory space of the chosen instance.

    +

    The used memory space includes:

    +
    • Size of data stored on the DCS instance
    • Size of Redis-server buffers (including client buffer and repl-backlog) and internal data structures
    +

    CPU

    +

    CPU of the DCS instance.

    +

    Created

    +

    Time at which the chosen instance started to be created.

    +

    Run

    +

    Time at which the instance was created.

    +

    Maintenance

    +

    Time range for any scheduled maintenance activities on cache nodes of this DCS instance. To modify the time window, click the icon.

    +

    Description

    +

    Description of the chosen DCS instance. To modify the description, click the icon.

    +

    Connection

    +

    Password Protected

    +

    Currently, password-protected access and password-free access are supported.

    +

    IP Address

    +

    IP address and port number of the chosen instance.

    +

    Network

    +

    AZ

    +

    Availability zone in which the cache node running the selected DCS instance resides.

    +

    VPC

    +

    VPC in which the chosen instance resides.

    +

    Subnet

    +

    Subnet in which the chosen instance resides.

    +

    Security Group

    +

    Security group that controls access to the chosen instance. To modify the security group, click the icon.

    +

    This parameter is displayed only for DCS Redis 3.0 instances. DCS for Redis 4.0 and 5.0 are based on VPC endpoints and do not support security groups.

    +
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312017.html b/docs/dcs/umn/dcs-ug-0312017.html new file mode 100644 index 000000000..0fc42bec3 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312017.html @@ -0,0 +1,17 @@ + + +

Performing a Master/Standby Switchover for a DCS Instance

+

On the DCS console, you can manually switch the master and standby nodes of a DCS instance. This operation is used for special purposes, for example, releasing all service connections or terminating ongoing service operations.

+

Only master/standby instances support a master/standby node switchover.

+
  • Services may be interrupted for up to 10 seconds during the switchover. Before performing a switchover, ensure that your application supports reconnection.
  • During a master/standby node switchover, a large amount of resources will be consumed for data synchronization between the master and standby nodes. You are advised to perform this operation during off-peak hours.
  • Data of the maser and standby nodes is synchronized asynchronously. Therefore, a small amount of data that is being operated on during the switchover may be lost.
+
+

Prerequisites

The DCS instance for which you want to perform a master/standby node switchover is in the Running state.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. In the Operation column of the instance, choose More > Master/Standby Switchover.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312018.html b/docs/dcs/umn/dcs-ug-0312018.html new file mode 100644 index 000000000..76746edeb --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312018.html @@ -0,0 +1,13 @@ + + +

Clearing DCS Instance Data

+

On the DCS console, you can clear data only for DCS Redis 4.0 and 5.0 instances.

+

Clearing instance data cannot be undone and cleared data cannot be recovered. Exercise caution when performing this operation.

+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Select one or more DCS2.0 instances to clear.
  5. Click Clear data above the instance list.
  6. In the displayed dialog box, click Yes.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312019.html b/docs/dcs/umn/dcs-ug-0312019.html new file mode 100644 index 000000000..2d14b0940 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312019.html @@ -0,0 +1,13 @@ + + +

Exporting DCS Instance List

+

On the DCS console, you can export DCS instance information in full to an Excel file.

+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the search bar. In the displayed drop-down list, select the filter criteria to query the desired DCS instances.
  5. Click above the instance list.

    Click the export result displayed in the lower left corner of the page.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312022.html b/docs/dcs/umn/dcs-ug-0312022.html new file mode 100644 index 000000000..648fce854 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312022.html @@ -0,0 +1,34 @@ + + +

Managing DCS Instances

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-0312023.html b/docs/dcs/umn/dcs-ug-0312023.html new file mode 100644 index 000000000..4cbcba112 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312023.html @@ -0,0 +1,14 @@ + + +

Configuration Notice

+
+

In the event that a cache node of a DCS instance is faulty:

+
  • The instance remains in the Running state and you can continue to read from and write to the instance. This is achieved thanks to the high availability of DCS.
  • Cache nodes can recover from internal faults automatically. Manual fault recovery is also supported.
  • Certain operations (such as parameter configuration, password change or resetting, backup, restoration, and specification modification) in the management zone are not supported during fault recovery. You can contact technical support or perform these operations after the cache nodes recover from faults.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312024.html b/docs/dcs/umn/dcs-ug-0312024.html new file mode 100644 index 000000000..85f6c4d99 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312024.html @@ -0,0 +1,277 @@ + + +

Modifying Configuration Parameters

+

You can modify the configuration parameters of your DCS instance to optimize DCS performance based on your requirements.

+

For example, if you do not need data persistence, set appendonly to no.

+

After the instance configuration parameters are modified, the modification takes effect immediately without the need to manually restart the instance. For a cluster instance, the modification takes effect on all shards.

+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. On the Cache Manager page, click the name of the DCS instance you want to configure.
  5. Choose Parameters.
  6. On the Parameters page, click Modify.
  7. Modify parameters based on your requirements.

    Table 1 describes the parameters. In most cases, retain the default values.

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 1 DCS Redis instance configuration parameters

    Parameter

    +

    Description

    +

    Value Range

    +

    Default Value

    +

    timeout

    +

    The maximum amount of time (in seconds) a connection between a client and the DCS instance can be allowed to remain idle before the connection is terminated. A setting of 0 means that this function is disabled.

    +

    0–7200 seconds

    +

    0

    +

    appendfsync

    +

    Controls how often fsync() transfers cached data to the disk. Note that some OSs will perform a complete data transfer but some others only make a "best-effort" attempt.

    +

    There are three settings:

    +

    no: fsync() is never called. The OS will flush data when it is ready. This mode offers the highest performance.

    +

    always: fsync() is called after every write to the AOF. This mode is very slow, but also very safe.

    +

    everysec: fsync() is called once per second. This mode provides a compromise between safety and performance.

    +
    • no
    • always
    • everysec
    +

    everysec

    +

    appendonly

    +

    Indicates whether to log each modification of the instance. By default, data is written to disks asynchronously in Redis. If this function is disabled, recently-generated data might be lost in the event of a power failure. Options:

    +

    yes: enabled

    +

    no: disabled

    +
    • yes
    • no
    +

    yes

    +

    client-output-buffer-limit-slave-soft-seconds

    +

    Number of seconds that the output buffer remains above client-output-buffer-slave-soft-limit before the client is disconnected.

    +

    0–60

    +

    60

    +

    client-output-buffer-slave-hard-limit

    +

    Hard limit (in bytes) on the output buffer of replica clients. Once the output buffer exceeds the hard limit, the client is immediately disconnected.

    +

    Depends on the instance type and specifications.

    +

    +

    Depends on the instance type and specifications.

    +

    client-output-buffer-slave-soft-limit

    +

    Soft limit (in bytes) on the output buffer of replica clients. Once the output buffer exceeds the soft limit and continuously remains above the limit for the time specified by the client-output-buffer-limit-slave-soft-seconds parameter, the client is disconnected.

    +

    Depends on the instance type and specifications.

    +

    +

    Depends on the instance type and specifications.

    +

    maxmemory-policy

    +

    The deletion policy to apply when the maxmemory limit is reached. Options:

    +

    volatile-lru: Evict keys by trying to remove the less recently used (LRU) keys first, but only among keys that have an expire set. (Recommended)

    +

    allkeys-lru: Evict keys by trying to remove the LRU keys first.

    +

    volatile-random: evict keys randomly, but only evict keys with an expire set.

    +

    allkeys-random: Evict keys randomly.

    +

    volatile-ttl: Evict keys with an expire set, and try to evict keys with a shorter time to live (TTL) first.

    +

    noeviction: Do not delete any keys and only return errors when the memory limit was reached.

    +

    volatile-lfu: Evict keys by trying to remove the less frequently used (LFU) keys first, but only among keys that have an expire set.

    +

    allkeys-lfu: Evict keys by trying to remove the LFU keys first.

    +

    Depends on the instance version.

    +

    Depends on the instance version and type.

    +

    lua-time-limit

    +

    Maximum time allowed for executing a Lua script (in milliseconds).

    +

    100–5000

    +

    5,000

    +

    master-read-only

    +

    Sets the instance to be read-only. All write operations will fail.

    +
    • yes
    • no
    +

    no

    +

    maxclients

    +

    The maximum number of clients allowed to be concurrently connected to a DCS instance.

    +

    Depends on the instance type and specifications.

    +

    Depends on the instance type and specifications.

    +

    proto-max-bulk-len

    +

    Maximum size of a single element request (in bytes).

    +

    1,048,576–536,870,912

    +

    536,870,912

    +

    repl-backlog-size

    +

    The replication backlog size (bytes). The backlog is a buffer that accumulates replica data when replicas are disconnected from the master. When a replica reconnects, a partial synchronization is performed to synchronize the data that was missed while replicas were disconnected.

    +

    16,384–1,073,741,824

    +

    1,048,576

    +

    repl-backlog-ttl

    +

    The amount of time, in seconds, before the backlog buffer is released, starting from the last a replica was disconnected. The value 0 indicates that the backlog is never released.

    +

    0–604,800

    +

    3,600

    +

    repl-timeout

    +

    Replication timeout (in seconds).

    +

    30–3,600

    +

    60

    +

    hash-max-ziplist-entries

    +

    Hashes are encoded using a memory efficient data structure when the number of entries in hashes is less than the value of this parameter.

    +

    1–10,000

    +

    512

    +

    hash-max-ziplist-value

    +

    Hashes are encoded using a memory efficient data structure when the biggest entry in hashes does not exceed the length threshold indicated by this parameter.

    +

    1–10,000

    +

    64

    +

    set-max-intset-entries

    +

    When a set is composed of just strings that happen to be integers in radix 10 in the range of 64 bit signed integers, sets are encoded using a memory efficient data structure.

    +

    1–10,000

    +

    512

    +

    zset-max-ziplist-entries

    +

    Sorted sets are encoded using a memory efficient data structure when the number of entries in sorted sets is less than the value of this parameter.

    +

    1–10,000

    +

    128

    +

    zset-max-ziplist-value

    +

    Sorted sets are encoded using a memory efficient data structure when the biggest entry in sorted sets does not exceed the length threshold indicated by this parameter.

    +

    1–10,000

    +

    64

    +

    latency-monitor-threshold

    +

    Threshold time in latency monitoring. Unit: millisecond.

    +

    Set to 0: Latency monitoring is disabled.

    +

    Set to more than 0: All with at least this many milliseconds of latency will be logged.

    +

    By running the LATENCY command, you can perform operations related to latency monitoring, such as obtaining statistical data, and configuring and enabling latency monitoring.

    +

    0–86,400,000 ms

    +

    0

    +

    notify-keyspace-events

    +

    Controls which keyspace events notifications are enabled for. If the value is an empty string, this function is disabled. A combination of different values can be used to enable notifications for multiple event types. Possible values:

    +

    K: Keyspace events, published with the __keyspace@__ prefix.

    +

    E: Keyevent events, published with __keyevent@__ prefix

    +

    g: Generic commands (non-type specific) such as DEL, EXPIRE, and RENAME

    +

    $: String commands

    +

    l: List commands

    +

    s: Set commands

    +

    h: Hash commands

    +

    z: Sorted set commands

    +

    x: Expired events (events generated every time a key expires)

    +

    e: Evicted events (events generated when a key is evicted for maxmemory)

    +

    A: an alias for "g$lshzxe"

    +

    The parameter value must contain either K or E. A cannot be used together with any of the characters in "g$lshzxe". For example, the value Kl means that Redis will notify Pub/Sub clients about keyspace events and list commands. The value AKE means Redis will notify Pub/Sub clients about all events.

    +

    See the parameter description.

    +

    Ex

    +

    slowlog-log-slower-than

    +

    Redis records queries that exceed a specified execution time.

    +

    slowlog-log-slower-than is the maximum time allowed, in microseconds, for command execution. If this threshold is exceeded, Redis will record the query.

    +

    0–1,000,000

    +

    10,000

    +

    slowlog-max-len

    +

    The maximum allowed number of slow queries that can be logged. Slow query log consumes memory, but you can reclaim this memory by running the SLOWLOG RESET command.

    +

    0–1000

    +

    128

    +
    +
    +
    1. For more information about the parameters described in Table 1, visit https://redis.io/topics/memory-optimization.
    2. The latency-monitor-threshold parameter is usually used for fault location. After locating faults based on the latency information collected, change the value of latency-monitor-threshold to 0 to avoid unnecessary latency.
    3. More about the notify-keyspace-events parameter:
      • The parameter setting must contain at least a K or E.
      • A is an alias for "g$lshzxe" and cannot be used together with any of the characters in "g$lshzxe".
      • For example, the value Kl means that Redis will notify Pub/Sub clients about keyspace events and list commands. The value AKE means Redis will notify Pub/Sub clients about all events.
      +
    +
    +

  8. After you have finished setting the parameters, click Save.
  9. Click Yes to confirm the modification.
+
+

Typical Scenarios of Configuring Parameters

The following describes how to change the value of the appendonly parameter:

+ +

Currently, the appendonly and appendfsync parameters can be modified on the console only for master/standby and Redis 4.0/5.0 Redis Cluster instances.

+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312025.html b/docs/dcs/umn/dcs-ug-0312025.html new file mode 100644 index 000000000..1215f3409 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312025.html @@ -0,0 +1,15 @@ + + +

Modifying Maintenance Time Window

+

On the DCS console, after creating a DCS instance, you can modify the maintenance time window of the DCS instance on the instance's Basic Information page.

+

Prerequisites

At least one DCS instance has been created.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of the DCS instance for which you want to modify the maintenance time window.
  5. Click the Basic Information tab. In the Instance Details area, click the icon next to the Maintenance parameter.
  6. Select a new maintenance time window from the drop-down list. Click to save the modification or to discard the modification.

    The modification will take effect immediately, that is, the new maintenance time window will appear on the Basic Information tab page immediately.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312026.html b/docs/dcs/umn/dcs-ug-0312026.html new file mode 100644 index 000000000..ceddeabb6 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312026.html @@ -0,0 +1,18 @@ + + +

Modifying the Security Group

+

On the DCS console, after creating a DCS instance, you can modify the security group of the DCS instance on the instance's Basic Information page.

+

You can modify the security groups of DCS Redis 3.0 instances but cannot modify those of DCS Redis 4.0 or 5.0 instances.

+

Prerequisites

At least one DCS instance has been created.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of the DCS instance for which you want to modify the security group.
  5. Click the Basic Information tab. In the Network area, click next to the Security Group parameter.
  6. Select a new security group from the drop-down list. Click to save the modification or to discard the modification.

    Only the security groups that have been created can be selected from the drop-down list. If you need to create a security group, follow the procedure described Security Group Configurations.

    +
    +

    The modification will take effect immediately, that is, the new maintenance time window will appear on the Basic Information tab page immediately.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312028.html b/docs/dcs/umn/dcs-ug-0312028.html new file mode 100644 index 000000000..866294750 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312028.html @@ -0,0 +1,16 @@ + + +

Viewing Background Tasks

+

After you initiate certain instance operations such as modifying instance specifications and changing or resetting a password, a background task will start for the operation. On the DCS console, you can view the background task status and clear task information by deleting task records.

+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of the DCS instance whose background task you want to manage.
  5. Click the Background Tasks tab.

    A list of background tasks is displayed.

    +

  6. Click , specify Start Date and End Date, and click OK to view tasks started in the corresponding time segment.

    • Click to refresh the task status.
    • To clear the record of a background task, click Delete in the Operation column.

      You can only delete the records of tasks in the Successful or Failed state.

      +
      +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312029.html b/docs/dcs/umn/dcs-ug-0312029.html new file mode 100644 index 000000000..2493e4ae0 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312029.html @@ -0,0 +1,17 @@ + + +

Viewing Data Storage Statistics of a DCS Redis 3.0 Proxy Cluster Instance

+

You can view the data storage statistics of all nodes of a DCS Redis 3.0 Proxy Cluster instance. If data storage is unevenly distributed across nodes, you can scale up the instance or clear data.

+

You can only view data storage statistics of DCS Redis 3.0 Proxy Cluster instances. Instances of other types, for example, master/standby, only have one node, and you can view the used memory on the instance details page.

+

A Redis Cluster instance has multiple storage nodes. You can check the data storage statistics of a Redis Cluster instance in its Redis Server monitoring data.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of a DCS Redis cluster instance to view the basic information.
  5. Click the Node Management tab.

    The data volume of each node in the cluster instance is displayed.

    +

    When the data storage capacity of a node in a cluster is used up, you can scale up the instance according to Modifying DCS Instance Specifications.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312030.html b/docs/dcs/umn/dcs-ug-0312030.html new file mode 100644 index 000000000..e46191118 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312030.html @@ -0,0 +1,22 @@ + + +

Backing Up and Restoring DCS Instances

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-0312031.html b/docs/dcs/umn/dcs-ug-0312031.html new file mode 100644 index 000000000..6a2f230bc --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312031.html @@ -0,0 +1,46 @@ + + +

Configuring a Backup Policy

+

On the DCS console, you can configure an automatic backup policy. The system then backs up data in your instances according to the backup policy.

+

If automatic backup is not required, disable the automatic backup function in the backup policy.

+

Prerequisites

At least one master/standby DCS instance has been created.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of the DCS instance to display more details about the DCS instance.
  5. On the instance details page, click Backups & Restorations.
  6. Slide to the right to enable automatic backup. Backup policies will be displayed.

    +

    + + + + + + + + + + + + + +
    Table 1 Parameters in a backup policy

    Parameter

    +

    Description

    +

    Backup Schedule

    +

    Day of a week on which data in the chosen DCS instance is automatically backed up.

    +

    You can select one or multiple days of a week.

    +

    Retention Period (days)

    +

    The number of days that automatically backed up data is retained.

    +

    Backup data will be permanently deleted at the end of retention period and cannot be restored. Value range: 1–7.

    +

    Start Time

    +

    Time at which automatic backup starts. Value: the full hour between 00:00 to 23:00

    +

    The DCS checks backup policies once every hour. If the backup start time in a backup policy has arrived, data in the corresponding instance is backed up.

    +
    NOTE:

    Instance backup takes 5 to 30 minutes. The data added or modified during the backup process will not be backed up. To reduce the impact of backup on services, it is recommended that data should be backed up during off-peak periods.

    +

    Only instances in the Running state can be backed up.

    +
    +
    +
    +

  7. Click OK.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312032.html b/docs/dcs/umn/dcs-ug-0312032.html new file mode 100644 index 000000000..c3fc5e9b8 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312032.html @@ -0,0 +1,19 @@ + + +

Manually Backing Up a DCS Instance

+

You need to manually back up data in DCS instances in a timely manner. This section describes how to manually back up data in master/standby instances using the DCS console.

+

By default, manually backed up data is permanently retained. If backup data is no longer in use, you can delete it manually.

+

Prerequisites

At least one master/standby DCS instance is in the Running state.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of the DCS instance to display more details about the DCS instance.
  5. On the instance details page, click Backups & Restorations.
  6. Click Create Backup.
  7. Select a backup file format.

    Only DCS Redis 4.0 and 5.0 instances support backup file format selection.

    +

  8. In the Create Backup dialog box, click OK.

    Information in the Description text box cannot exceed 128 bytes.

    Instance backup takes 10 to 15 minutes. The data added or modified during the backup process will not be backed up.

    +
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312033.html b/docs/dcs/umn/dcs-ug-0312033.html new file mode 100644 index 000000000..a1c03680e --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312033.html @@ -0,0 +1,20 @@ + + +

Restoring a DCS Instance

+

On the DCS console, you can restore backup data to a chosen DCS instance.

+

Prerequisites

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of the DCS instance to display more details about the DCS instance.
  5. On the instance details page, click Backups & Restorations.

    A list of historical backup tasks is then displayed.

    +

  6. Click Restore in the same row as the chosen backup task.
  7. Click OK to start instance restoration.

    Information in the Description text box cannot exceed 128 bytes.

    +
    The Restoration History tab page displays the result of the instance restoration task.

    Instance restoration takes 5 to 30 minutes.

    +

    While being restored, DCS instances do not accept data operation requests from clients because existing data is being overwritten by the backup data.

    +
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312034.html b/docs/dcs/umn/dcs-ug-0312034.html new file mode 100644 index 000000000..c21f1e13d --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312034.html @@ -0,0 +1,24 @@ + + +

Downloading a Backup File

+

Due to the limitations of automatic and manual backups (automatically backed up data can be retained for a maximum of 7 days, and manually backed up data takes space in OBS), you should download the backup files and permanently save them on the local host.

+

This function is supported only by master/standby and cluster instances, and not by single-node instances.

+

Prerequisites

The instance has been backed up and the backup is still valid.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of the DCS instance to display more details about the DCS instance.
  5. On the instance details page, click Backups & Restorations.

    A list of historical backup tasks is then displayed.

    +

  6. Select the historical backup data to be downloaded, and click Download.
  7. In the displayed, Download Backup File dialog box, select either of the following two download methods.

    Download methods:
    • By URL
      1. Set the URL validity period and click Query.
      2. Download the backup file by using the URL list.

        If you choose to copy URLs, use quotation marks to quote the URLs when running the wget command in Linux. For example:

        +

        wget 'https://obsEndpoint.com:443/redisdemo.rdb?parm01=value01&parm02=value02'

        +

        This is because the URL contains the special character and (&), which will confuse the wget command. Quoting the URL facilitates URL identification.

        +
        +
      +
    • By OBS

      Perform the procedure as prompted.

      +
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312035.html b/docs/dcs/umn/dcs-ug-0312035.html new file mode 100644 index 000000000..b5345ca31 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312035.html @@ -0,0 +1,22 @@ + + +

Migrating Data with DCS

+ + +

+
+ +
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-0312036.html b/docs/dcs/umn/dcs-ug-0312036.html new file mode 100644 index 000000000..d5cea24fc --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312036.html @@ -0,0 +1,145 @@ + + +

Introduction to Migration with DCS

+

Migration Modes

DCS for Redis provides the following migration modes:

+ +

The following table describes data migration modes supported by DCS.

+

Data can be migrated only from DCS Redis instances or self-hosted Redis. After data migration, change the instance connection address to the target instance address.

+

Data migration is not supported if the DCS instance is created by another service, such as ROMA Connect, or by calling an API.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 DCS data migration modes

Migration Mode

+

Source

+

Target: DCS

+

Single-Node and Master/Standby

+

Proxy Cluster

+

Redis Cluster

+

Importing backup files

+

AOF files in OBS

+
NOTE:

AOF files exported from Redis 4.0/5.0 instances and other instances with RDB compression enabled cannot be imported.

+
+

+

+

×

+

RDB files in OBS

+

+

+

+

Migrating data online

+

DCS for Redis: single-node or master/standby

+

+

+

+

DCS for Redis: Proxy Cluster

+
NOTE:

Proxy Cluster DCS Redis 3.0 instances cannot be used as the source, while Proxy Cluster DCS Redis 4.0 or 5.0 instances can.

+
+

+

+

+

DCS for Redis: Redis Cluster

+

+

+

+

Self-hosted Redis: single-node or master/standby

+

+

+

+

Self-hosted Redis: proxy-based cluster

+

+

+

+

Self-hosted Redis: Redis Cluster

+

+

+

+

Other Redis: single-node or master/standby

+

×

+

×

+

×

+

Other Redis: proxy-based cluster

+

×

+

×

+

×

+

Other Redis: Redis Cluster

+

×

+

×

+

×

+
+
+
  • DCS for Redis refers to Redis instances provided by DCS
  • Self-hosted Redis refers to self-hosted Redis on the cloud, from other cloud vendors, or in on-premises data centers.
  • Other Redis refers to Redis services provided by other cloud vendors.
  • : Supported. ×: Not supported.
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312037.html b/docs/dcs/umn/dcs-ug-0312037.html new file mode 100644 index 000000000..b6d4d6787 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312037.html @@ -0,0 +1,38 @@ + + +

Importing Backup Files from an OBS Bucket

+

Scenario

Use the DCS console to migrate Redis data from Redis of other vendors or self-hosted Redis to DCS for Redis.

+

Simply download the source Redis data and then upload the data to an OBS bucket in the same region as the target DCS Redis instance. After you have created a migration task on the DCS console, DCS will read data from the OBS bucket and data will be migrated to the target instance.

+

.aof, .rbb, .zip, and .tar.gz files can be uploaded to OBS buckets. You can directly upload .aof and .rdb files or compress them into .zip or .tar.gz files before uploading.

+
+

Prerequisites

+
+

Step 1: Prepare the Target DCS Redis Instance

+

You can use a DCS Redis 3.0, 4.0, or 5.0 instance as the target instance.

+
+

Step 2: Create an OBS Bucket and Upload Backup Files

  1. Create an OBS bucket.

    1. Log in to the OBS Console and click Create Bucket.
    2. Select a region.

      The OBS bucket must be in the same region as the target DCS Redis instance.

      +
    3. Specify Bucket Name.

      The bucket name must meet the naming rules specified on the console.

      +
    4. Set Storage Class to Standard, Warm or Cold.
    5. Set Bucket Policy to Private, Public Read, or Public Read and Write.
    6. Configure default encryption.
    7. Click Create Now.
    +

  2. Upload the backup data files to the OBS bucket by using OBS Browser+.

    If the backup file to be uploaded does not exceed 5 GB, upload the file using the OBS console by referring to step 3.

    +

    If the backup file to be uploaded is larger than 5 GB, perform the following steps to upload the file using OBS Browser+.

    +
    1. Download OBS Browser+.

      For details, see section "Downloading OBS Browser+" in Object Storage Service (OBS) Tools Guide (OBS Browser+).

      +
    2. Install OBS Browser+.

      For details, see section "Installing OBS Browser+" in Object Storage Service (OBS) Tools Guide (OBS Browser+).

      +
    3. Log in to OBS Browser+.

      For details, see section "Logging In to OBS Browser+" in Object Storage Service (OBS) Tools Guide (OBS Browser+).

      +
    4. Creates a bucket.
    5. Upload backup data.
    +

  3. On the OBS console, upload the backup data files to the OBS bucket.

    Perform the following steps if the backup file size does not exceed 5 GB:
    1. In the bucket list, click the name of the created bucket.
    2. In the navigation pane, choose Objects.
    3. On the Objects tab page, click Upload Object.
    4. A maximum of 100 files can be uploaded at a time. The total size cannot exceed 5 GB.

      To upload objects, drag files or folders to the Upload Object area or click add file.

      +
    5. Click Upload.
    +
    +

+
+

Step 3: Create a Migration Task

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Data Migration.
  4. Click Create Backup Import Task.
  5. Specify Task Name and Description.
  6. Select OBS Bucket as the data source and then select the OBS bucket to which you have uploaded backup files.

    You can upload files in the .aof, .rdb, .zip, or .tar.gz format.

    +
    +

  7. Select the backup files whose data is to be migrated.
  8. Select the target DCS Redis instance prepared in Step 1: Prepare the Target DCS Redis Instance.
  9. Enter the password of the target instance. Click Test Connection to verify the password.
  10. Click Next.
  11. Confirm the migration task details and click Submit.

    Go back to the data migration task list. After the migration is successful, the task status changes to Successful.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312038.html b/docs/dcs/umn/dcs-ug-0312038.html new file mode 100644 index 000000000..253e82170 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312038.html @@ -0,0 +1,99 @@ + + +

Migrating Data Online

+

Scenario

If the source and target instances are interconnected and the SYNC and PSYNC commands are supported in the source instance, data can be migrated online in full or incrementally from the source to the target.

+
+

Prerequisites

+
+

Obtaining Information About the Source Redis Instance

+
+

Prepare the Target DCS Redis Instance

+
+

Requirements on the Network Between the Online Migration Task, Source Redis, and Target Redis

  • If the source or target of online migration is Redis in the cloud, the selected Redis instance must be in the same VPC as the migration task. Otherwise, the migration task may fail to connect to the cloud Redis instance.
  • In special scenarios, if you have enabled cross-VPC access between the migration task and the cloud Redis instance, the cloud Redis instance and the migration task can be in different VPCs.
+
+

Table 1 lists the requirements on the network between the online migration task, source Redis, and target Redis.

+ +
+ + + + + + + + + + + + + + + + + + + + + +
Table 1 Requirements on the network between the online migration task, source Redis, and target Redis

Source Redis Type

+

Target Redis Type

+

Network Requirement on Online Migration

+

Redis in the cloud

+

Redis in the cloud

+

When creating an online migration task, ensure that the online migration task is in the same VPC as the source and target Redis. If they are not in the same VPC, enable cross-network access between the migration task and the source and target Redis. To enable cross-network access, create a VPC peering connection by referring to section "VPC Peering Connection" in Creating a VPC.

+

Redis in the cloud

+

Self-hosted Redis

+

When creating an online migration task, ensure that the migration task and the source Redis are in the same VPC. Then, enable cross-network access between the migration task and the target Redis.

+

To enable cross-network access, create a VPC peering connection by referring to section "VPC Peering Connection" in Creating a VPC.

+

Self-hosted Redis

+

Redis in the cloud

+

When creating an online migration task, ensure that the migration task and the target Redis are in the same VPC. Then, enable cross-network access between the migration task and the source Redis.

+

To enable cross-network access, create a VPC peering connection by referring to section "VPC Peering Connection" in Creating a VPC.

+

Self-hosted Redis

+

Self-hosted Redis

+

After creating an online migration task, enable cross-network access between the migration task and the source and target Redis, respectively.

+

To enable cross-network access, create a VPC peering connection by referring to section "VPC Peering Connection" in Creating a VPC.

+
+
+
+

Create a Migration Task

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Data Migration. The migration task list is displayed.
  4. Click Create Online Migration Task.
  5. Enter the task name and description.
  6. Select a VPC and security group.
  7. Click Next.
  8. Click Submit.
+
+

Configuring the Online Migration Task

  1. On the Online Migration tab page, click Configure in the row containing the online migration task you just created.
  2. Specify Migration Type.

    Supported migration types are Full and Full + incremental, which are described in Table 2.

    + +
    + + + + + + + + + + +
    Table 2 Migration type description

    Migration Type

    +

    Description

    +

    Full

    +

    Suitable for scenarios where services can be interrupted. Data is migrated at one time. Source instance data updated during the migration will not be migrated to the target instance.

    +

    Full + incremental

    +

    Suitable for scenarios requiring minimal service downtime. The incremental migration parses logs to ensure data consistency between the source and target instances.

    +

    Once incremental migration starts, it remains Migrating until you click Stop in the Operation column. After the migration is stopped, data in the source instance will not be lost, but data will not be written to the target instance. When the transmission network is stable, the delay of incremental migration is within seconds. The actual delay depends on the transmission quality of the network link.

    +
    +
    +

  3. Configure source Redis and target Redis.

    1. Source Redis Type: Select Redis in the cloud or Self-hosted Redis as required.
      • Redis in the cloud: a DCS Redis instance that is in the same VPC as the migration task
      • Self-hosted Redis: self-hosted Redis in another cloud, or in on-premises data centers. If you select this option, enter Redis addresses.
      +
    2. If the instance is password-protected, you can click Test Connection to check whether the instance password is correct and whether the network is connected.
    +

  4. For Target Instance, select the DCS Redis Instance prepared in Prepare the Target DCS Redis Instance.

    If the instance is password-protected, you can click Test Connection to check whether the instance password meets the requirements.

    +

    If the source and target Redis instances are connected but are in different regions of DCS, you can only select Self-hosted Redis for Target Redis Type and enter the instance addresses, regardless of whether the target Redis instance is self-hosted or in the cloud.

    +
    +

  5. Click Next.
  6. Confirm the migration task details and click Submit.

    Go back to the data migration task list. After the migration is successful, the task status changes to Successful.

    +

    If the migration type is full+incremental, the migration task status will remain Migrating until you click Stop.

    +
    +

+
+

+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312039.html b/docs/dcs/umn/dcs-ug-0312039.html new file mode 100644 index 000000000..fd5c2fdf4 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312039.html @@ -0,0 +1,16 @@ + + +

Managing Passwords

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-0312040.html b/docs/dcs/umn/dcs-ug-0312040.html new file mode 100644 index 000000000..2eacd15bb --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312040.html @@ -0,0 +1,21 @@ + + +

Changing Instance Passwords

+

On the DCS console, you can change the password required for accessing your DCS instance.

+
  • You cannot change the password of a DCS instance in password-free mode.
  • The DCS instance for which you want to change the password is in the Running state.
  • The new password takes effect immediately on the server without requiring a restart. The client must reconnect to the server using the new password after a pconnect connection is closed. (The old password can still be used before disconnection.)
+
+

Prerequisites

At least one DCS instance has been created.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Choose More > Change Password in the same row as the chosen instance.
  5. In the displayed dialog box, set Old Password, New Password, and Confirm Password.

    After 5 consecutive incorrect password attempts, the account for accessing the chosen DCS instance will be locked for 5 minutes. Passwords cannot be changed during the lockout period.

    +

    The password must meet the following requirements:

    +
    • Cannot be left blank.
    • The new password cannot be the same as the old password.
    • Can contain 8 to 32 characters.
    • Must contain at least three of the following character types:
      • Lowercase letters
      • Uppercase letters
      • Digits
      • special characters (`~!@#$^&*()-_=+\|{}:,<.>/?)
      +
    +
    +

  6. In the Change Password dialog box, click OK to confirm the password change.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312045.html b/docs/dcs/umn/dcs-ug-0312045.html new file mode 100644 index 000000000..815d5f570 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312045.html @@ -0,0 +1,14 @@ + + +

Viewing DCS Monitoring Metrics

+

You can view DCS instance metrics on the Performance Monitoring page.

+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the desired instance.
  5. Choose Performance Monitoring. All monitoring metrics of the instance are displayed.

    You can also click View Metric in the Operation column on the Cache Manager page. You will be redirected to the Cloud Eye console. The metrics displayed on the Cloud Eye console are the same as those displayed on the Performance Monitoring page of the DCS console.

    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0312047.html b/docs/dcs/umn/dcs-ug-0312047.html new file mode 100644 index 000000000..d85b483a0 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0312047.html @@ -0,0 +1,21 @@ + + +

Viewing Traces on the CTS Console

+

After CTS is enabled, the tracker starts recording operations on cloud resources. Operation records for the last seven days can be viewed on the CTS console. This section describes how to query operation records of the last seven days on the CTS console.

+

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region and a project.

    Select the same region as your application service.

    +
    +

  3. Click Service List and choose Management & Deployment > Cloud Trace Service.
  4. In the navigation pane, click Trace List.
  5. Specify the filters used for querying traces. The following filters are available:

    • Search By:

      Select an option from the drop-down list. Select DCS from the Trace Source drop-down list.

      +

      When you select Trace name, you also need to select a specific trace name.

      +

      When you select Resource ID, you also need to select a specific resource ID.

      +

      When you select Resource name, you also need to select a specific resource name.

      +
    • Operator: Select a specific operator (a user other than tenant).
    • Trace Status: Available options include All trace status, normal, warning, and incident. You can select only one of them.
    • Start time and end time: You can specify the time period in which to query traces.
    +

  6. Click on the left of a trace to expand its details, as shown in Figure 1.

    Figure 1 Expanding trace details
    +

  7. Click View Trace in the Operation column. In the dialog box shown in Figure 2, the trace structure details are displayed.

    Figure 2 Viewing traces
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326007.html b/docs/dcs/umn/dcs-ug-0326007.html new file mode 100644 index 000000000..72439df9c --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326007.html @@ -0,0 +1,18 @@ + + + +

Getting Started

+ +

+
+ +
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326008.html b/docs/dcs/umn/dcs-ug-0326008.html new file mode 100644 index 000000000..31dda0e94 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326008.html @@ -0,0 +1,47 @@ + + +

Creating a DCS Redis Instance

+

You can create one or more DCS Redis instances with the required computing capabilities and storage space based on service requirements.

+

The system automatically schedules the task every 3 minutes for checking whether resources are available or sold out.

+
+

Creating a DCS Redis Instance

  1. Log in to the DCS console.
  2. Click in the upper left corner of the management console and select a region and a project.
  3. Click Create DCS Instance.
  4. Select a region closest to your application to reduce latency and accelerate access.
  5. Specify the following instance parameters based on the information collected in Identifying Requirements.

    1. Cache Engine:

      Select Redis.

      +
    2. Version:

      Currently, 3.0, 4.0, and 5.0 versions are supported.

      +
      • When creating a Proxy Cluster instance, you can only select version 3.0.
      • When creating a Redis Cluster instance, you can select versions 4.0 or 5.0.
      +
      +
    3. Set Instance Type to Single-node, Master/Standby, Proxy Cluster or Redis Cluster.
    4. Set CPU Architecture to x86.
    5. Set Replicas. The default value is 2 (including the master).

      This parameter is displayed only when you select Redis 4.0 or Redis 5.0 and the instance type is master/standby or Redis Cluster.

      +
    6. Select an AZ.

      If the instance type is master/standby, Proxy Cluster, or Redis Cluster, Standby AZ is displayed. Select a standby AZ for the standby node of the instance.

      +
      • To accelerate access, deploy your instance and your application in the same AZ.
      • There are multiple AZs in each region. If resources are insufficient in an AZ, the AZ will be unavailable. In this case, select another AZ.
      +
      +
    7. Instance Specification:

      The remaining quota is displayed on the console.

      +

      To apply to increase quota, click Increase quota below the specifications.

      +
    +

  6. Configure the instance network parameters.

    1. For VPC, select a created VPC, subnet, and specify the IP address.

      You can choose to obtain an automatically assigned IP address or manually specify an IP address that is available in the selected subnet.

      +

      For a DCS Redis 4.0 or 5.0 instance, you can specify a port numbering in the range from 1 to 65535. If no port is specified, the default port 6379 will be used. For a DCS Redis 3.0 instance, the port cannot be customized. Port 6379 will be used.

      +
    2. Select a security group.

      A security group is a set of rules that control access to ECSs. It provides access policies for mutually trusted ECSs with the same security protection requirements in the same VPC.

      +

      This parameter is displayed only for DCS Redis 3.0 instances. DCS Redis 4.0 and 5.0 instances are based on VPC endpoints and do not support security groups. To control access to a DCS Redis 4.0 or 5.0 instance, configure a whitelist after instance creation. For details, see Managing IP Address Whitelist.

      +
    +

  7. Set the instance password.

    This password is used for accessing the DCS Redis instance.

    For security purposes, you must enter an instance-specific password when you are accessing the DCS Redis instance. Keep your instance password secure and change it periodically.

    +

    The password must meet the following requirements:

    +
    • Cannot be left blank.
    • Can contain 8 to 32 characters.
    • Must contain at least three of the following character types:
      • Lowercase letters
      • Uppercase letters
      • Digits
      • special characters (`~!@#$^&*()-_=+\|{}:,<.>/?)
      +
    +
    +
    +

  8. Click More Settings to display more configurations, including auto backup.

    1. Specify Name and Description.

      The value of Name can contain 4 to 64 characters.

      +
    2. Choose whether to enable Auto Backup.

      This parameter is displayed only when the instance type is master/standby or cluster. You can enable and schedule automated backup now or after the instance is created. For more information on how to configure a backup policy, see Backing Up and Restoring DCS Instances.

      +
    3. Rename critical commands.

      Command Renaming is displayed for Redis 4.0 and 5.0. Currently, you can only rename the COMMAND, KEYS, FLUSHDB, FLUSHALL, and HGETALL commands.

      +
    4. Specify the maintenance window.

      Choose a window for DCS O&M personnel to perform maintenance on your instance. You will be contacted before any maintenance activities are performed.

      +
    +

  9. Click Create Now.

    The displayed page shows the instance information you have specified.

    +

  10. Confirm the instance information and click Submit.
  11. Return to the Cache Manager page to view and manage your DCS instances.

    1. Creating a single-node or master/standby DCS Redis 3.0 instance takes 5 to 15 minutes. Creating a cluster DCS Redis 3.0 instance takes 30 minutes.

      DCS Redis 4.0 and 5.0 instances are containerized and can be created within seconds.

      +
      +
    2. After a DCS instance has been successfully created, it enters the Running state by default.
    +
    • If the new DCS instance failed to be created, delete the unsuccessful instance creation task by following the procedure in Deleting Instance Creation Tasks That Have Failed to Run. Then, create the DCS instance again. If the DCS instance still fails to be created, contact customer service.
    • There is the management plane and the tenant plane. The tenant plane is also called the pod zone. During the creation of a DCS instance, a VM is created in the pod zone. If the instance creation fails, the instance status changes to Faulty, and the error message "Failed to connect to the instance. Network exceptions may have occurred in the pod zone." is displayed, indicating that the management plane cannot be connected to the tenant plane.
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326009.html b/docs/dcs/umn/dcs-ug-0326009.html new file mode 100644 index 000000000..19d6b0ea7 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326009.html @@ -0,0 +1,73 @@ + + +

Accessing a DCS Redis Instance Through redis-cli

+

Access a DCS Redis instance through redis-cli on an ECS in the same VPC. For more information on how to use other Redis clients, visit https://redis.io/clients.

+
  • Redis 3.0 does not support port customization and allows only port 6379. For Redis 4.0 and 5.0, you can specify a port or use the default port 6379. The following uses the default port 6379. If you have specified a port, replace 6379 with the actual port.
  • When connecting to a Redis Cluster instance, ensure that -c is added to the command. Otherwise, the connection will fail.
    • Run the following command to connect to a Redis Cluster instance:

      ./redis-cli -h {dcs_instance_address} -p 6379 -a {password} -c

      +
    • Run the following command to connect to a single-node, master/standby, or Proxy Cluster instance:

      ./redis-cli -h {dcs_instance_address} -p 6379 -a {password}

      +
    +

    For details, see 3 and 4.

    +
+
+

Prerequisites

+
+

Procedure (Linux)

  1. Obtain the IP address and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Install redis-cli.

    The following steps assume that your client is installed on the Linux OS.

    +
    1. Log in to the ECS.
    2. Run the following command to download the source code package of your Redis client from http://download.redis.io/releases/redis-5.0.8.tar.gz:

      wget http://download.redis.io/releases/redis-5.0.8.tar.gz

      +
    3. Run the following command to decompress the source code package of your Redis client:

      tar -xzf redis-5.0.8.tar.gz

      +
    4. Run the following commands to go to the Redis directory and compile the source code of your Redis client:

      cd redis-5.0.8

      +

      make

      +

      cd src

      +
    +

  3. Access a DCS instance of a type other than Redis Cluster.

    Perform the following procedure to access a DCS Redis 3.0 instance, or a single-node or master/standby DCS Redis 4.0 or 5.0 instance.

    +

    ./redis-cli -h ${instance IP} -p 6379 -a ${password}

    +
    1. If the instance is password-free, connect it by running the ./redis-cli -h ${instance IP} -p 6379 command.
    2. If the instance is password-protected, connect it by running the ./redis-cli -h ${instance IP} -p 6379 -a ${password} command.
    +
    +

  4. Access a DCS instance of the Redis Cluster type.

    Perform the following procedure to access a DCS Redis 4.0 or 5.0 instance in Redis Cluster type.

    +
    1. Run the following commands to access the chosen DCS Redis instance:

      ./redis-cli -h {dcs_instance_address} -p 6379 -a {password} -c

      +

      {dcs_instance_address} indicates the IP address of the DCS Redis instance, 6379 is the port used for accessing the instance, {password} is the password of the instance, and -c is used for accessing Redis Cluster nodes. The IP address and port number are obtained in 1.

      +
      Example:
      root@ecs-redis:~/redis-5.0.8/src# ./redis-cli -h 192.168.0.85 -p 6379 -a ****** -c
      +192.168.0.85:6379> 
      +
      +
    2. Run the following command to view the Redis Cluster node information:

      cluster nodes

      +

      Each shard in a Redis Cluster has a master and a replica by default. The proceeding command provides all the information of cluster nodes.

      +
      192.168.0.85:6379> cluster nodes
      +0988ae8fd3686074c9afdcce73d7878c81a33ddc 192.168.0.231:6379@16379 slave f0141816260ca5029c56333095f015c7a058f113 0 1568084030
      +000 3 connected
      +1a32d809c0b743bd83b5e1c277d5d201d0140b75 192.168.0.85:6379@16379 myself,master - 0 1568084030000 2 connected 5461-10922
      +c8ad7af9a12cce3c8e416fb67bd6ec9207f0082d 192.168.0.130:6379@16379 slave 1a32d809c0b743bd83b5e1c277d5d201d0140b75 0 1568084031
      +000 2 connected
      +7ca218299c254b5da939f8e60a940ac8171adc27 192.168.0.22:6379@16379 master - 0 1568084030000 1 connected 0-5460
      +f0141816260ca5029c56333095f015c7a058f113 192.168.0.170:6379@16379 master - 0 1568084031992 3 connected 10923-16383
      +19b1a400815396c6223963b013ec934a657bdc52 192.168.0.161:6379@16379 slave 7ca218299c254b5da939f8e60a940ac8171adc27 0 1568084031
      +000 1 connected
      +

      +

      Write operations can only be performed on master nodes. The CRC16 of the key modulo 16384 is taken to compute what is the hash slot of a given key.

      +

      As shown in the following, the value of CRC16 (KEY) mode 16384 determines the hash slot that a given key is located at and redirects the client to the node where the hash slot is located at.

      +
      192.168.0.170:6379> set hello world
      +-> Redirected to slot [866] located at 192.168.0.22:6379
      +OK
      +192.168.0.22:6379> set happy day
      +OK
      +192.168.0.22:6379> set abc 123
      +-> Redirected to slot [7638] located at 192.168.0.85:6379
      +OK
      +192.168.0.85:6379> get hello
      +-> Redirected to slot [866] located at 192.168.0.22:6379
      +"world"
      +192.168.0.22:6379> get abc
      +-> Redirected to slot [7638] located at 192.168.0.85:6379
      +"123"
      +192.168.0.85:6379> 
      +
    +

+
+

Procedure (Windows)

Download the compilation package of the Redis client for Windows. (This is not the source code package.) Decompress the package in any directory, open the CLI tool cmd.exe, and go to the directory. Then, run the following command to access the DCS Redis instance:

+

redis-cli.exe -h XXX -p 6379

+

XXX indicates the IP address of the DCS instance and 6379 is an example port number used for accessing a DCS instance. For details about how to obtain the IP address and port number, see Viewing Details of a DCS Instance. Change the IP address and port as required.

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326010.html b/docs/dcs/umn/dcs-ug-0326010.html new file mode 100644 index 000000000..419625e51 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326010.html @@ -0,0 +1,22 @@ + + + +

Operation Guide

+ +

+
+ +
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326011.html b/docs/dcs/umn/dcs-ug-0326011.html new file mode 100644 index 000000000..0ad8a036e --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326011.html @@ -0,0 +1,74 @@ + + +

Modifying DCS Instance Specifications

+

On the DCS console, you can scale a DCS Redis instance to a larger or smaller capacity.

+
  • Modify instance specifications during off-peak hours.
  • If your DCS instances are too old to support scaling, contact technical support to upgrade the instances.
  • Services may be interrupted for seconds during the modification. Therefore, services connected to Redis must support reconnection.
+
+

Scaling

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  1. Choose More > Modify Specifications in the row containing the DCS instance.
  2. On the Modify Specifications page, select the desired specification and click Next.
  3. Click Submit.

    On the displayed Background Tasks page, view the modification status. For more information, see Viewing Background Tasks.

    +
    Specification modification of a single-node or master/standby DCS instance takes about 5 to 30 minutes to complete, while that of a cluster DCS instance takes a longer time. After an instance is successfully modified, it changes to the Running state.
    • If the specification modification of a single-node DCS instance fails, the instance is temporarily unavailable for use. The specification remains unchanged. Some management operations (such as parameter configuration and specification modification) are temporarily not supported. After the specification modification is completed in the backend, the instance changes to the new specification and becomes available for use again.
    • If the specification modification of a master/standby or cluster DCS instance fails, the instance is still available for use with its original specifications. Some management operations (such as parameter configuration, backup, restoration, and specification modification) are temporarily not supported. Remember not to read or write more data than allowed by the original specifications; otherwise, data loss may occur.
    • After the specification modification is successful, the new specification of the instance takes effect.
    +
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326013.html b/docs/dcs/umn/dcs-ug-0326013.html new file mode 100644 index 000000000..869bba7db --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326013.html @@ -0,0 +1,19 @@ + + +

Restarting DCS Instances

+

On the DCS console, you can restart one or multiple DCS instances at a time.

+
  • After a single-node DCS instance is restarted, data will be deleted from the instance.
  • While a DCS instance is restarting, it cannot be read from or written to.
  • An attempt to restart a DCS instance while it is being backed up may result in a failure.
+
+

Prerequisites

The DCS instances you want to restart are in the Running or Faulty state.

+
+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. On the Cache Manager page, select one or more DCS instances you want to restart.
  5. Click Restart above the DCS instance list.
  6. In the displayed dialog box, click Yes.

    It takes 1 to 30 minutes to restart DCS instances. After DCS instances are restarted, their status changes to Running.

    +
    • To restart a single instance, you can also click Restart in the same row as the instance.
    • The time required for restarting a DCS instance depends on the cache size of the instance.
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326014.html b/docs/dcs/umn/dcs-ug-0326014.html new file mode 100644 index 000000000..28071f3c6 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326014.html @@ -0,0 +1,25 @@ + + +

Deleting DCS Instances

+

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.

+
  • After a DCS instance is deleted, the instance data will also be deleted without backup. In addition, any backup data of the instance will be deleted. Therefore, download the backup files of the instance for permanent storage before deleting the instance.
  • If the instance is in cluster mode, all cluster nodes will be deleted.
+
+

Prerequisites

+
+

Procedure

Deleting DCS Instances

+
  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. On the Cache Manager page, select one or more DCS instances you want to delete.

    DCS instances in the Creating, Restarting, Upgrading, Resizing, Clearing data, Backing up, or Restoring state cannot be deleted.

    +

  5. Choose More > Delete above the instance list.
  6. In the displayed dialog box, click Yes.

    It takes 1 to 30 minutes to delete DCS instances.

    +

    To delete a single instance, choose Operation > More > Delete in the same row as the instance.

    +
    +

+

Deleting Instance Creation Tasks That Have Failed to Run

+
+
  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. If there are DCS instances that have failed to be created, Instance Creation Failures is displayed above the instance list.
  5. Click the icon or the number of failed tasks next to Instance Creation Failures.

    The Instance Creation Failures dialog box is displayed.

    +

  6. Choose failed instance creation tasks to delete.

    • To delete all failed tasks, click Delete All above the task list.
    • To delete a single failed task, click Delete in the same row as the task.
    +

+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326016.html b/docs/dcs/umn/dcs-ug-0326016.html new file mode 100644 index 000000000..2bcbd2be7 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326016.html @@ -0,0 +1,14 @@ + + +

Monitoring

+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326017.html b/docs/dcs/umn/dcs-ug-0326017.html new file mode 100644 index 000000000..e4f5768dc --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326017.html @@ -0,0 +1,16 @@ + + + +

Auditing

+ +

+
+ +
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326018.html b/docs/dcs/umn/dcs-ug-0326018.html new file mode 100644 index 000000000..c60a45213 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326018.html @@ -0,0 +1,219 @@ + + +

Operations That Can Be Recorded by CTS

+

With CTS, you can query, audit, and review operations performed on cloud resources. Traces include the operation requests sent using the management console or open APIs as well as the results of these requests.

+

The following lists the DCS operations that can be recorded by CTS.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 DCS operations that can be recorded by CTS

Operation

+

Resource Type

+

Trace Name

+

Creating an instance

+

DCS

+

createDCSInstance

+

Submitting an instance creation request

+

DCS

+

submitCreateDCSInstanceRequest

+

Deleting multiple instances

+

DCS

+

batchDeleteDCSInstance

+

Deleting an instance

+

DCS

+

deleteDCSInstance

+

Modifying instance information

+

DCS

+

modifyDCSInstanceInfo

+

Modifying instance configurations

+

DCS

+

modifyDCSInstanceConfig

+

Changing instance password

+

DCS

+

modifyDCSInstancePassword

+

Restarting an instance

+

DCS

+

restartDCSInstance

+

Submitting an instance restarting request

+

DCS

+

submitRestartDCSInstanceRequest

+

Starting an instance

+

DCS

+

startDCSInstance

+

Submitting an instance starting request

+

DCS

+

submitStartDCSInstanceRequest

+

Clearing instance data

+

DCS

+

flushDCSInstance

+

Restarting instances in batches

+

DCS

+

batchRestartDCSInstance

+

Submitting a request to restart instances in batches

+

DCS

+

submitBatchRestartDCSInstanceRequest

+

Starting multiple instances

+

DCS

+

batchStartDCSInstance

+

Submitting a request to start instances in batches

+

DCS

+

submitBatchStartDCSInstanceRequest

+

Restoring instance data

+

DCS

+

restoreDCSInstance

+

Submitting a request to restore instance data

+

DCS

+

submitRestoreDCSInstanceRequest

+

Backing up instance data

+

DCS

+

backupDCSInstance

+

Submitting a request to back up instance data

+

DCS

+

submitBackupDCSInstanceRequest

+

Deleting instance backup files

+

DCS

+

deleteInstanceBackupFile

+

Deleting background tasks

+

DCS

+

deleteDCSInstanceJobRecord

+

Modifying instance specifications

+

DCS

+

modifySpecification

+

Submitting a request to modify instance specifications

+

DCS

+

submitModifySpecificationRequest

+

Creating an instance subscription order

+

DCS

+

createInstanceOrder

+

Switching between master and standby nodes

+

DCS

+

masterStandbySwitchover

+

Resetting instance password

+

DCS

+

resetDCSInstancePassword

+

Submitting a request to clear instance data

+

DCS

+

submitFlushDCSInstanceRequest

+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326019.html b/docs/dcs/umn/dcs-ug-0326019.html new file mode 100644 index 000000000..39324a249 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326019.html @@ -0,0 +1,2461 @@ + + +

DCS Metrics

+

Introduction

This section describes DCS metrics reported to Cloud Eye as well as their namespaces and dimensions. You can use the Cloud Eye console or call APIs to query the DCS metrics and alarms.

+

Different types of instances are monitored on different dimensions.

+ +
+

Namespace

SYS.DCS

+
+

DCS Redis 3.0 Instance Metrics

The Monitored Objects and Dimensions column lists instances and dimensions that support the corresponding metrics.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 DCS Redis 3.0 instance metrics

Metric ID

+

Metric

+

Description

+

Value Range

+

Monitored Object and Dimension

+

Monitoring Period (Raw Data)

+

cpu_usage

+

CPU Usage

+

The monitored object's maximum CPU usage among multiple sampling values in a monitoring period

+

Unit: %

+

0–100%

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

memory_usage

+

Memory Usage

+

Memory consumed by the monitored object

+

Unit: %

+

0–100%

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

net_in_throughput

+

Network Input Throughput

+

Inbound throughput per second on a port

+

Unit: byte/s

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

net_out_throughput

+

Network Output Throughput

+

Outbound throughput per second on a port

+

Unit: byte/s

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

node_status

+

Instance Node Status

+

Status of instance nodes. If the status is normal, the value is 0. If the status is abnormal, the value is 1.

+

-

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

connected_clients

+

Connected Clients

+

Number of connected clients (excluding those from slave nodes)

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

client_longest_out_list

+

Client Longest Output List

+

Longest output list among current client connections

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

client_biggest_in_buf

+

Client Biggest Input Buf

+

Maximum input data length among current client connections

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

blocked_clients

+

Blocked Clients

+

Number of clients suspended by block operations such as BLPOP, BRPOP, and BRPOPLPUSH

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory

+

Used Memory

+

Number of bytes used by the Redis server

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_rss

+

Used Memory RSS

+

Resident set size (RSS) memory that the Redis server has used, which is the memory that actually resides in the memory, including all stack and heap memory but not swapped-out memory

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_peak

+

Used Memory Peak

+

Peak memory consumed by Redis since the Redis server last started

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_lua

+

Used Memory Lua

+

Number of bytes used by the Lua engine

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

memory_frag_ratio

+

Memory Fragmentation Ratio

+

Current memory fragmentation, which is the ratio between used_memory_rss/used_memory.

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

total_connections_received

+

New Connections

+

Number of connections received during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

total_commands_processed

+

Commands Processed

+

Number of commands processed during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

instantaneous_ops

+

Ops per Second

+

Number of commands processed per second

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

total_net_input_bytes

+

Network Input Bytes

+

Number of bytes received during the monitoring period

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

total_net_output_bytes

+

Network Output Bytes

+

Number of bytes sent during the monitoring period

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

instantaneous_input_kbps

+

Input Flow

+

Instantaneous input traffic

+

Unit: kbit/s

+

≥ 0 kbits/s

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

instantaneous_output_kbps

+

Output Flow

+

Instantaneous output traffic

+

Unit: kbit/s

+

≥ 0 kbits/s

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

rejected_connections

+

Rejected Connections

+

Number of connections that have exceeded maxclients and been rejected during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

expired_keys

+

Expired Keys

+

Number of keys that have expired and been deleted during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

evicted_keys

+

Evicted Keys

+

Number of keys that have been evicted and deleted during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

keyspace_hits

+

Keyspace Hits

+

Number of successful lookups of keys in the main dictionary during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

keyspace_misses

+

Keyspace Misses

+

Number of failed lookups of keys in the main dictionary during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

pubsub_channels

+

PubSub Channels

+

Number of Pub/Sub channels

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

pubsub_patterns

+

PubSub Patterns

+

Number of Pub/Sub patterns

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

keyspace_hits_perc

+

Hit Rate

+

Ratio of the number of Redis cache hits to the number of lookups. Calculation: keyspace_hits/(keyspace_hits + keyspace_misses)

+

Unit: %

+

0–100%

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

command_max_delay

+

Maximum Command Latency

+

Maximum latency of commands

+

Unit: ms

+

≥ 0 ms

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

auth_errors

+

Authentication Failures

+

Number of failed authentications

+

≥ 0

+

Monitored object:

+

Single-node or master/standby DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

is_slow_log_exist

+

Slow Query Logs

+

Existence of slow query logs in the instance

+
  • 1: yes
  • 0: no
+

Monitored object:

+

Single-node or master/standby DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

keys

+

Keys

+

Number of keys in Redis

+

≥ 0

+

Monitored object:

+

Single-node or master/standby DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+
+
+
+

DCS Redis 4.0 and 5.0 Instance Metrics

The Monitored Objects and Dimensions column lists instances and dimensions that support the corresponding metrics.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 2 DCS Redis 4.0 and 5.0 instance metrics

Metric ID

+

Metric

+

Description

+

Value Range

+

Monitored Object and Dimension

+

Monitoring Period (Raw Data)

+

cpu_usage

+

CPU Usage

+

The monitored object's maximum CPU usage among multiple sampling values in a monitoring period

+

Unit: %

+

0–100%

+

Monitored object:

+

Single-node or master/standby DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

command_max_delay

+

Maximum Command Latency

+

Maximum latency of commands

+

Unit: ms

+

≥ 0 ms

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

total_connections_received

+

New Connections

+

Number of connections received during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

is_slow_log_exist

+

Slow Query Logs

+

Existence of slow query logs in the instance

+
  • 1: yes
  • 0: no
+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

memory_usage

+

Memory Usage

+

Memory consumed by the monitored object

+

Unit: %

+

0–100%

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

expires

+

Keys With an Expiration

+

Number of keys with an expiration in Redis

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

keyspace_hits_perc

+

Hit Rate

+

Ratio of the number of Redis cache hits to the number of lookups. Calculation: keyspace_hits/(keyspace_hits + keyspace_misses)

+

Unit: %

+

0–100%

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory

+

Used Memory

+

Number of bytes used by the Redis server

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_dataset

+

Used Memory Dataset

+

Dataset memory that the Redis server has used

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_dataset_perc

+

Used Memory Dataset Ratio

+

Percentage of dataset memory that the Redis server has used

+

Unit: %

+

0–100%

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_rss

+

Used Memory RSS

+

Resident set size (RSS) memory that the Redis server has used, which is the memory that actually resides in the memory, including all stack and heap memory but not swapped-out memory

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

instantaneous_ops

+

Ops per Second

+

Number of commands processed per second

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

keyspace_misses

+

Keyspace Misses

+

Number of failed lookups of keys in the main dictionary during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

keys

+

Keys

+

Number of keys in Redis

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

rx_controlled

+

Flow Control Times

+

Number of flow control times during the monitoring period

+

Unit: count/s

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

bandwidth_usage

+

Bandwidth Usage

+

Percentage of the maximum bandwidth limit used (the average value of the sum of input and output flows)

+

Unit: %

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

connections_usage

+

Connection Usage

+

Percentage of the current number of connections to the maximum allowed number of connections

+

Unit: %

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

Instance Node Status

+

Instance Node Status

+

Status of instance nodes. If the status is normal, the value is 0. If the status is abnormal, the value is 1.

+

-

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

command_max_rt

+

Maximum Latency

+

Maximum delay from when the node receives commands to when it responds

+

Unit: μs

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

command_avg_rt

+

Average Latency

+

Average delay from when the node receives commands to when it responds

+

Unit: μs

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

cpu_avg_usage

+

Average CPU Usage

+

Current average usage of CPU resources

+

Unit: %

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

blocked_clients

+

Blocked Clients

+

Number of clients suspended by block operations

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

connected_clients

+

Connected Clients

+

Number of connected clients (excluding those from slave nodes)

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

del

+

DEL

+

Number of DEL commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

evicted_keys

+

Evicted Keys

+

Number of keys that have been evicted and deleted during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

expire

+

EXPIRE

+

Number of EXPIRE commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

expired_keys

+

Expired Keys

+

Number of keys that have expired and been deleted during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

get

+

GET

+

Number of GET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

hdel

+

HDEL

+

Number of HDEL commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

hget

+

HGET

+

Number of HGET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

hmget

+

HMGET

+

Number of HMGET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

hmset

+

HMSET

+

Number of HMSET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

hset

+

HSET

+

Number of HSET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

instantaneous_input_kbps

+

Input Flow

+

Instantaneous input traffic

+

Unit: KB/s

+

≥ 0 KB/s

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

instantaneous_output_kbps

+

Output Flow

+

Instantaneous output traffic

+

Unit: KB/s

+

≥ 0 KB/s

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

memory_frag_ratio

+

Memory Fragmentation Ratio

+

Ratio between Used Memory RSS and Used Memory

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

mget

+

MGET

+

Number of MGET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

mset

+

MSET

+

Number of MSET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

pubsub_channels

+

PubSub Channels

+

Number of Pub/Sub channels

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

pubsub_patterns

+

PubSub Patterns

+

Number of Pub/Sub patterns

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

set

+

SET

+

Number of SET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_lua

+

Used Memory Lua

+

Number of bytes used by the Lua engine

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_peak

+

Used Memory Peak

+

Peak memory consumed by Redis since the Redis server last started

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

sadd

+

Sadd

+

Number of SADD commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

smembers

+

Smembers

+

Number of SMEMBERS commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

rx_controlled

+

Flow Control Times

+

Number of flow control times during the monitoring period

+

Unit: count

+

≥ 0

+

Monitored object:

+

Redis Cluster instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

bandwidth_usage

+

Bandwidth Usage

+

Percentage of the used bandwidth to the maximum bandwidth limit

+

0–200%

+

Monitored object:

+

Redis Cluster instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

keyspace_misses

+

Keyspace Misses

+

Number of failed lookups of keys in the main dictionary during the monitoring period

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_dataset

+

Used Memory Dataset

+

Dataset memory that the Redis server has used

+

≥ 0

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+

used_memory_dataset_perc

+

Used Memory Dataset Ratio

+

Percentage of dataset memory that server has used

+

0–100%

+

Monitored object:

+

Single-node, master/standby, or cluster DCS Redis instance

+

Dimension:

+

dcs_instance_id

+

1 minute

+
+
+
+

Node Metrics of DCS Redis Instances

  • The following describes the metrics for cluster DCS instances. For Proxy Cluster DCS Redis 3.0 instances, the monitoring covers Redis Servers and Proxies. For Redis Cluster DCS Redis 4.0 and 5.0 instances, the monitoring only covers Redis Servers. For details, see Table 3 and Table 4.
+
  • The Monitored Objects and Dimensions column lists instances and dimensions that support the corresponding metrics.
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 3 Redis Server metrics of DCS instances

Metric ID

+

Metric

+

Description

+

Value Range

+

Monitored Object and Dimension

+

Monitoring Period (Raw Data)

+

cpu_usage

+

CPU Usage

+

The monitored object's maximum CPU usage among multiple sampling values in a monitoring period

+

Unit: %

+

0–100%

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

memory_usage

+

Memory Usage

+

Memory consumed by the monitored object

+

Unit: %

+

0–100%

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_cluster_redis_node

+

1 minute

+

connected_clients

+

Connected Clients

+

Number of connected clients (excluding those from slave nodes)

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

client_longest_out_list

+

Client Longest Output List

+

Longest output list among current client connections

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

client_biggest_in_buf

+

Client Biggest Input Buf

+

Maximum input data length among current client connections

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

blocked_clients

+

Blocked Clients

+

Number of clients suspended by block operations such as BLPOP, BRPOP, and BRPOPLPUSH

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

used_memory

+

+

Used Memory

+

Number of bytes used by the Redis server

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

used_memory_rss

+

Used Memory RSS

+

RSS memory that the Redis server has used, which including all stack and heap memory but not swapped-out memory

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

used_memory_peak

+

Used Memory Peak

+

Peak memory consumed by Redis since the Redis server last started

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

used_memory_lua

+

Used Memory Lua

+

Number of bytes used by the Lua engine

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

memory_frag_ratio

+

Memory Fragmentation Ratio

+

Current memory fragmentation, which is the ratio between used_memory_rss/used_memory.

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

total_connections_received

+

New Connections

+

Number of connections received during the monitoring period

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

total_commands_processed

+

Commands Processed

+

Number of commands processed during the monitoring period

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

instantaneous_ops

+

Ops per Second

+

Number of commands processed per second

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

total_net_input_bytes

+

Network Input Bytes

+

Number of bytes received during the monitoring period

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

total_net_output_bytes

+

Network Output Bytes

+

Number of bytes sent during the monitoring period

+

Unit: byte

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

instantaneous_input_kbps

+

Input Flow

+

Instantaneous input traffic

+

Unit: KB/s

+

≥ 0 KB/s

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

instantaneous_output_kbps

+

Output Flow

+

Instantaneous output traffic

+

Unit: KB/s

+

≥ 0 KB/s

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

rejected_connections

+

Rejected Connections

+

Number of connections that have exceeded maxclients and been rejected during the monitoring period

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

expired_keys

+

Expired Keys

+

Number of keys that have expired and been deleted during the monitoring period

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

evicted_keys

+

Evicted Keys

+

Number of keys that have been evicted and deleted during the monitoring period

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

pubsub_channels

+

PubSub Channels

+

Number of Pub/Sub channels

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

pubsub_patterns

+

PubSub Patterns

+

Number of Pub/Sub patterns

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

keyspace_hits_perc

+

Hit Rate

+

Ratio of the number of Redis cache hits to the number of lookups. Calculation: keyspace_hits/(keyspace_hits + keyspace_misses)

+

Unit: %

+

0–100%

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

command_max_delay

+

Maximum Command Latency

+

Maximum latency of commands

+

Unit: ms

+

≥ 0 ms

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

is_slow_log_exist

+

Slow Query Logs

+

Existence of slow query logs in the node

+
  • 1: yes
  • 0: no
+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

keys

+

Keys

+

Number of keys in Redis

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

sadd

+

Sadd

+

Number of SADD commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 3.0, 4.0, or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

smembers

+

Smembers

+

Number of SMEMBERS commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

ms_repl_offset

+

Replication Gap

+

Data synchronization gap between the master and the replica

+

-

+

Monitored object:

+

Replica of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

del

+

DEL

+

Number of DEL commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

expire

+

EXPIRE

+

Number of EXPIRE commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

get

+

GET

+

Number of GET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

hdel

+

HDEL

+

Number of HDEL commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

hget

+

HGET

+

Number of HGET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

hmget

+

HMGET

+

Number of HMGET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

hmset

+

HMSET

+

Number of HMSET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

hset

+

HSET

+

Number of HSET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

mget

+

MGET

+

Number of MGET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

mset

+

MSET

+

Number of MSET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

set

+

SET

+

Number of SET commands processed per second

+

Unit: count/s

+

0–500,000

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

rx_controlled

+

Flow Control Times

+

Number of flow control times during the monitoring period

+

Unit: count

+

≥ 0

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+

bandwidth_usage

+

Bandwidth Usage

+

Percentage of the used bandwidth to the maximum bandwidth limit

+

0–200%

+

Monitored object:

+

Redis Server of a cluster DCS Redis 4.0 or 5.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_redis_node

+

1 minute

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 Proxy metrics

Metric ID

+

Metric

+

Description

+

Value Range

+

Monitored Object and Dimension

+

Monitoring Period (Raw Data)

+

cpu_usage

+

CPU Usage

+

The monitored object's maximum CPU usage among multiple sampling values in a monitoring period

+

Unit: %

+

0–100%

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

memory_usage

+

Memory Usage

+

Memory consumed by the monitored object

+

Unit: %

+

0–100%

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

p_connected_clients

+

Connected Clients

+

Number of connected clients

+

≥ 0

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

max_rxpck_per_sec

+

Max. NIC Data Packet Receive Rate

+

Maximum number of data packets received by the proxy NIC per second during the monitoring period

+

Unit: packages/second

+

0–10,000,000

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

max_txpck_per_sec

+

Max. NIC Data Packet Transmit Rate

+

Maximum number of data packets transmitted by the proxy NIC per second during the monitoring period

+

Unit: packages/second

+

0–10,000,000

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

max_rxkB_per_sec

+

Maximum Inbound Bandwidth

+

Largest volume of data received by the proxy NIC per second

+

Unit: KB/s

+

≥ 0 KB/s

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

max_txkB_per_sec

+

Maximum Outbound Bandwidth

+

Largest volume of data transmitted by the proxy NIC per second

+

Unit: KB/s

+

≥ 0 KB/s

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

avg_rxpck_per_sec

+

Average NIC Data Packet Receive Rate

+

Average number of data packets received by the proxy NIC per second during the monitoring period

+

Unit: packages/second

+

0–10,000,000

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

avg_txpck_per_sec

+

Average NIC Data Packet Transmit Rate

+

Average number of data packets transmitted by the proxy NIC per second during the monitoring period

+

Unit: packages/second

+

0–10,000,000

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

avg_rxkB_per_sec

+

Average Inbound Bandwidth

+

Average volume of data received by the proxy NIC per second

+

Unit: KB/s

+

≥ 0 KB/s

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+

avg_txkB_per_sec

+

Average Outbound Bandwidth

+

Average volume of data transmitted by the proxy NIC per second

+

Unit: KB/s

+

≥ 0 KB/s

+

Monitored object:

+

Proxy in a Proxy Cluster DCS Redis 3.0 instance

+

Dimension:

+

dcs_instance_id

+

dcs_cluster_proxy_node

+

1 minute

+
+
+
+

Dimensions

+
+ + + + + + + + + + + + + +

Key

+

Value

+

dcs_instance_id

+

DCS Redis instance

+

dcs_cluster_redis_node

+

Redis Server

+

dcs_cluster_proxy_node

+

Proxy

+
+
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0326026.html b/docs/dcs/umn/dcs-ug-0326026.html new file mode 100644 index 000000000..78ed9ce99 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0326026.html @@ -0,0 +1,138 @@ + + +

Change History

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Released On

+

What's New

+

2022-08-29

+

Modified the following content:

+

Added description about security groups and whitelist configuration in sections Creating a DCS Redis Instance, Security Group Configurations, What Should I Do If an Error Is Returned When I Use the Jedis Connection Pool?, How Do I Troubleshoot Redis Connection Failures?, and Why Aren't Security Groups Configured for DCS Redis 4.0 and 5.0 Instances?

+

2022-08-09

+

Modified the following content:

+ +

2022-07-13

+

Modified the following content:

+

Added description about system resources and modified the procedure for enabling auto backup in section Creating a DCS Redis Instance.

+

2022-04-11

+

Modified the following content:

+

Added description about accessing an instance in different languages. For details, see Accessing an Instance.

+

Added section Managing Shards and Replicas.

+

2021-06-30

+

Modified the following content:

+ +

2020-11-20

+

Modified the following content:

+ +

2021-07-13

+

Modified the following content:

+

Added detailed description about permissions management in sections Permissions Management and Permissions Management.

+

2020-10-13

+

Modified the following content:

+ +

2020-09-30

+

Modified the following content:

+ +

2020-07-17

+

Modified the following content:

+ +

2020-05-30

+

Modified the following content:

+
  • Changed the cluster instance type to Proxy Cluster in section What Is DCS?
  • Removed description about creating multiple instances in batches and modified password complexity requirements in section Creating a DCS Redis Instance.
  • Removed the instance topology parameter in section Viewing Details of a DCS Instance.
  • Changed the default value of the reserved-memory-percent parameter to 0 and added a note clarifying that the configuration parameters supported by single-node and master/standby instances are different in section Modifying Configuration Parameters.
  • Modified the special characters that the passwords cannot contain in section Changing Instance Passwords.
  • Removed the section which describes the function of viewing data storage statics of a Proxy Cluster instance.
  • Added a note clarifying that the backup policy function is not supported by single-node instances in section Configuring a Backup Policy.
  • Removed Redis Server and Proxy metrics from section Monitoring.
+

2020-03-25

+

Modified the following content:

+ +

2019-04-12

+

Accepted in OTC-4.0/Agile-04.2019.

+

2019-03-30

+

Modified the following content:

+ +

2018-09-05

+

Modified the following content:

+
  • Opened certain Redis cluster commands. For details about compatibility with DCS commands, see Command Compatibility.
+

2018-03-16

+

Added the following content:

+ +

Modified the following content:

+
  • Changed instance password complexity rules.
+

2017-11-08

+

Added the following content:

+ +
  • Added some FAQs in chapter FAQs.
+

2017-05-30

+
Added the following content:
  • Added descriptions about batch deletion of DCS instances.
  • Added descriptions about the Redis-specific parameter latency-monitor-threshold.
+
+

2017-04-28

+

Added the following content:

+
  • Added descriptions of DCS metrics monitored by Cloud Eye.
+

2017-04-05

+

This issue is the first official release.

+
+
+
+
diff --git a/docs/dcs/umn/dcs-ug-0512002.html b/docs/dcs/umn/dcs-ug-0512002.html new file mode 100644 index 000000000..30704038d --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0512002.html @@ -0,0 +1,32 @@ + + + +

Access in Different Languages

+ +

+
+ +
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-0713005.html b/docs/dcs/umn/dcs-ug-0713005.html new file mode 100644 index 000000000..f12761c0e --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0713005.html @@ -0,0 +1,137 @@ + + +

Jedis

+

Access a DCS Redis instance through Jedis on an ECS in the same VPC. For more information on how to use other Redis clients, visit https://redis.io/clients.

+
  • If a password was set during DCS Redis instance creation, configure the password for connecting to Redis using a Jedis client. Do not hard code the plaintext password.
  • When using JedisCluster to connect to a Redis Cluster DCS Redis 4.0 or 5.0 instance, the cluster topology is automatically refreshed. The client needs to reconnect to Redis by itself.
+
+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS where you want to install Docker.
  3. Use Maven to add the following dependency to the pom.xml file:

    <dependency>
    +    <groupId>redis.clients</groupId>
    +    <artifactId>jedis</artifactId>
    +    <version>4.1.1</version>
    +</dependency>
    +

  4. Access the DCS instance by using Jedis.

    Obtain the source code of the Jedis client. Use either of the following two methods to access a DCS Redis instance through Jedis:
    • Single Jedis connection
    • Jedis pool
    +
    +

    Example code:

    +
    1. Example of using Jedis to connect to a single-node, master/standby, or Proxy Cluster DCS Redis instance with a single connection
      // Creating a connection in password mode
      + String host = "192.168.0.150";
      + int port = 6379;
      + String pwd = "passwd";
      +
      + Jedis client = new Jedis(host, port);
      + client.auth(pwd);
      + client.connect();
      +// Run the set command
      + String result = client.set("key-string", "Hello, Redis!");
      +System.out.println( String.format("set instruction execution result:%s", result) );
      +// Run the get command
      + String value = client.get("key-string");
      + System.out.println( String.format("get command result:%s", value) );
      +
      +// Creating a connection in password-free mode
      + String host = "192.168.0.150";
      + int port = 6379;
      +
      + Jedis client = new Jedis(host, port);
      + client.connect();
      +// Run the set command
      + String result = client.set("key-string", "Hello, Redis!");
      +     System.out.println( String.format("set command result:%s", result) );
      +// Run the get command
      + String value = client.get("key-string");
      + System.out.println( String.format("get command result:%s", value) );
      +

      host indicates the example IP address/domain name of DCS instance and port indicates the port number of DCS instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address and port as required. pwd indicates the password used for logging in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation.

      +
    2. Example of using Jedis to connect to a single-node, master/standby, or Proxy Cluster DCS Redis instance with connection pooling
      // Generate configuration information of a Jedis pool
      + String ip = "192.168.0.150";
      + int port = 6379;
      + String pwd = "passwd";
      + GenericObjectPoolConfig config = new GenericObjectPoolConfig();
      + config.setTestOnBorrow(false);
      + config.setTestOnReturn(false);
      + config.testWhileIdle(true);
      + config.setMaxTotal(100);
      + config.setMaxIdle(100);
      + config.setMaxWaitMillis(2000);
      +JedisPool pool = new JedisPool(config, ip, port, 100000, pwd);//Generate a Jedis pool when the application is being initialized
      +// Get a Jedis connection from the Jedis pool when a service operation occurs
      + Jedis client = pool.getResource();
      + try {
      +     // Run commands
      +     String result = client.set("key-string", "Hello, Redis!");
      +     System.out.println( String.format("set command result:%s", result) );
      +     String value = client.get("key-string");
      +     System.out.println( String.format("get command result:%s", value) );
      + } catch (Exception e) {
      +     // TODO: handle exception
      + } finally {
      +     // Return the Jedis connection to the Jedis connection pool after the client's request is processed
      +     if (null != client) {
      +         pool.returnResource(client);
      +     }
      + } // end of try block
      + // Destroy the Jedis pool when the application is closed
      + pool.destroy();
      +
      +// Configure the connection pool in the password-free mode
      + String ip = "192.168.0.150";
      + int port = 6379;
      + GenericObjectPoolConfig config = new GenericObjectPoolConfig();
      + config.setTestOnBorrow(false);
      + config.setTestOnReturn(false);
      + config.testWhileIdle(true);
      + config.setMaxTotal(100);
      + config.setMaxIdle(100);
      + config.setMaxWaitMillis(2000);
      + JedisPool pool = new JedisPool(config, ip, port, 100000);//Generate a JedisPool when the application is being initialized
      +// Get a Jedis connection from the Jedis pool when a service operation occurs
      + Jedis client = pool.getResource();
      + try {
      +     // Run commands
      +     String result = client.set("key-string", "Hello, Redis!");
      +     System.out.println( String.format("set command result:%s", result) );
      +     String value = client.get("key-string");
      +     System.out.println( String.format("get command result:%s", value) );
      + } catch (Exception e) {
      +     // TODO: handle exception
      + } finally {
      +     // Return the Jedis connection to the Jedis connection pool after the client's request is processed
      +     if (null != client) {
      +         pool.returnResource(client);
      +     }
      + } // end of try block
      + // Destroy the Jedis pool when the application is closed
      + pool.destroy();
      +

      ip indicates the IP address/domain name of DCS instance and port indicates the port number of DCS instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address and port as required. pwd indicates the password used for logging in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation.

      +

      Automatic reconnection is supported if the testOnBorrow parameter of the connection pool is enabled. When the service tries to obtain a Redis connection from the connection pool, the connection pool checks connections. After detecting a normal connection, the connection pool provides the connection to the service at the cost of performance. If you require high performance, do not enable this parameter and configure the upper-layer application for it to handle exceptions and retries.

      +
    3. Example code for connecting to Redis Cluster using a single connection
      • With a password
        //The following shows password-protected access.
        +int port = 6379;
        +String host = "192.168.144.37";
        +//Create JedisCluster.
        +Set<HostAndPort> nodes = new HashSet<HostAndPort>();
        +nodes.add(new HostAndPort(host, port));
        +JedisCluster cluster = new JedisCluster(nodes, 5000, 3000, 10, "password", new JedisPoolConfig());
        +cluster.set("key", "value");
        +System.out.println("Connected to RedisCluster:" + cluster.get("key"));
        +cluster.close();
        +
      • Without a password
        int port = 6379;
        +String host = "192.168.144.37";
        +//Create JedisCluster.
        +Set<HostAndPort> nodes = new HashSet<HostAndPort>();
        +nodes.add(new HostAndPort(host, port));
        +JedisCluster cluster = new JedisCluster(nodes);
        +cluster.set("key", "value");
        +System.out.println("Connected to RedisCluster:" + cluster.get("key"));
        +cluster.close();
        +
      +

      host indicates the example IP address/domain name of DCS instance and port indicates the port number of DCS instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address and port as required. {password} indicates the password used to log in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation.

      +
    +

  5. Compile code according to the readme file in the source code of the Jedis client. Run the Jedis client to access the chosen DCS Redis instance.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0911001.html b/docs/dcs/umn/dcs-ug-0911001.html new file mode 100644 index 000000000..3d7259261 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0911001.html @@ -0,0 +1,20 @@ + + +

Starting DCS Instances

+

Scenario

On the DCS console, you can start one or multiple DCS instances at a time.

+

This function is not supported by recent instances. You can only start old instances that have been stopped. Once started, these instances can only be restarted and can no longer be stopped or started.

+
+
+

Prerequisites

The DCS instances you want to start are in the Stopped state.

+
+

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List, and choose Application > Distributed Cache Service to launch the DCS console.
  4. In the navigation pane, choose Cache Manager.
  5. On the Cache Manager page, select one or more DCS instances you want to restart.
  6. Click Start above the DCS instance list.
  7. In the Start dialog box, click Yes to confirm that you want to start the instances.

    • It takes 1 to 30 minutes to start DCS instances.
    • After DCS instances are started, their statuses change from Stopped to Running.
    +

    To start a single instance, you can also click Start in the Operation column in the same row as the instance.

    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-0916002.html b/docs/dcs/umn/dcs-ug-0916002.html new file mode 100644 index 000000000..3bbb7ad31 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-0916002.html @@ -0,0 +1,22 @@ + + + +

Accessing an Instance

+ +

+
+ +
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-1009001.html b/docs/dcs/umn/dcs-ug-1009001.html new file mode 100644 index 000000000..e1bb70df5 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-1009001.html @@ -0,0 +1,13 @@ + + +

Viewing Redis Run Logs

+

You can create run log files on the DCS console to collect run logs of DCS Redis instances within a specified period. After the logs are collected, you can download the log files to view the logs.

+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of a DCS instance.
  5. Click the Run Logs tab.
  6. Click Create Log File.

    If the instance is the master/standby or cluster type, you can specify the shard and replica whose run logs you want to collect. If the instance is the single-node type, logs of the only node of the instance will be collected.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-1009002.html b/docs/dcs/umn/dcs-ug-1009002.html new file mode 100644 index 000000000..2864152b3 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-1009002.html @@ -0,0 +1,14 @@ + + +

Command Renaming

+

After creating a DCS Redis 4.0 or 5.0 instance, you can rename the following critical commands: COMMAND, KEYS, FLUSHDB, FLUSHALL, and HGETALL.

+

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. In the Operation column of an instance, choose More > Command Renaming.
  5. Select a command, enter a new name, and click OK.

    • You can rename multiple commands at a time.
    • The new command names will take effect only after you restart the instance. Remember the new command names because they will not be displayed on the console for security purposes.
    • To use the original name of a command, rename the command again.
    • The new name must contain at least four characters.
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-190808001.html b/docs/dcs/umn/dcs-ug-190808001.html new file mode 100644 index 000000000..c8a27e55a --- /dev/null +++ b/docs/dcs/umn/dcs-ug-190808001.html @@ -0,0 +1,64 @@ + + +

Cache Analysis

+

By performing big key analysis and hot key analysis, you will have a picture of keys that occupy a large space and keys that are the most frequently accessed.

+

Notes on big key analysis:

+ +

Notes on hot key analysis:

+ +

Perform big key and hot key analysis during off-peak hours to avoid 100% CPU usage.

+
+

Big Key Analysis Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of a DCS Redis instance.
  5. Click the Cache Analysis tab.
  6. On the Big Key Analysis tab page, manually perform big key analysis or schedule daily automatic analysis.
  7. After an analysis task completes, click View to view the analysis results.

    You can view the analysis results of different data types.

    +

    A maximum of 20 big key analysis records are retained for Strings and 80 are retained for Lists, Sets, Zsets, and Hashes.

    +
    +

+
+

Hot Key Analysis Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of a DCS Redis instance.
  5. Click the Cache Analysis tab.
  6. On the Hot Key Analysis tab page, manually perform hot key analysis or schedule daily automatic analysis.

    The default value of the maxmemory-policy parameter of a Redis 4.0 or 5.0 instance is noeviction. To perform hot key analysis, set this parameter to allkeys-lfu or volatile-lfu. If this parameter has already been set to allkeys-lfu or volatile-lfu, perform hot key analysis right away.

    +
    +

  7. After an analysis task completes, click View to view the analysis results.

    The hot key analysis results are displayed.

    +

    The console displays a maximum of 100 hot key analysis records for each instance.

    +
    + +
    + + + + + + + + + + + + + + + + + + + +
    Table 1 Results of hot key analysis

    Parameter

    +

    Description

    +

    Key

    +

    Name of a hot key.

    +

    Type

    +

    Type of a hot key, which can be string, hash, list, set, or sorted set.

    +

    Size

    +

    Size of the hot key value.

    +

    FREQ

    +

    Reflects the access frequency of a key within a specific period of time.

    +

    FREQ is the logarithmic access frequency counter. The maximum value of FREQ is 255, which indicates 1 million access requests. After FREQ reaches 255, it will no longer increment even if access requests continue to increase. FREQ will decrement by 1 for every minute during which the key is not accessed.

    +

    DataBase

    +

    Database where a hot key is located.

    +
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-190812001.html b/docs/dcs/umn/dcs-ug-190812001.html new file mode 100644 index 000000000..ac07bff2c --- /dev/null +++ b/docs/dcs/umn/dcs-ug-190812001.html @@ -0,0 +1,47 @@ + + +

Managing IP Address Whitelist

+

DCS helps you control access to your DCS instances in the following ways, depending on the deployment mode:

+ +

The following describes how to manage whitelists of a Redis 4.0 or 5.0 instance to allow access only from whitelisted IP addresses. If no whitelists are added for the instance or the whitelist function is disabled, all IP addresses that can communicate with the VPC can access the instance.

+

Creating a Whitelist Group

  1. Log in to the DCS console.
  2. Click in the upper left corner of the management console and select a region.

    Select the same region as your application service.

    +
    +

  3. In the navigation pane, choose Cache Manager.
  4. Click the name of a DCS instance.
  5. Click the Whitelist tab and then click Create Whitelist Group.
  6. In the Create Whitelist Group dialogue box, specify Group Name and IP Address/Range.

    +

    + + + + + + + + + + + + + +
    Table 1 Whitelist parameters

    Parameter

    +

    Description

    +

    Example

    +

    Group Name

    +

    Whitelist group name of the instance.

    +

    A maximum of four whitelist groups can be created for each instance.

    +

    DCS-test

    +

    IP Address/Range

    +

    A maximum of 20 IP addresses or IP address ranges can be added to an instance. Separate multiple IP addresses or IP address ranges with commas.

    +

    Unsupported IP address and IP address range: 0.0.0.0 and 0.0.0/0.

    +

    10.10.10.1,10.10.10.10

    +
    +
    +

  7. Click OK.

    A whitelist group is automatically enabled for the instance once created. Only whitelisted IP addresses can access the instance.

    +
    • In the whitelist group list, click Modify to modify the IP addresses or IP address ranges in a group, and click Delete to delete a whitelist group.
    • After whitelist has been enabled, you can click Disable Whitelist above the whitelist group list to allow all IP addresses connected to the VPC to access the instance.
    +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-190905001.html b/docs/dcs/umn/dcs-ug-190905001.html new file mode 100644 index 000000000..33b01f430 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-190905001.html @@ -0,0 +1,120 @@ + + +

Configuring Alarm Rules for Critical Metrics

+

This section describes the alarm rules of some metrics and how to configure the rules. In actual scenarios, configure alarm rules for metrics by referring to the following alarm policies.

+

Alarm Policies for DCS Redis Instances

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 1 DCS Redis instance metrics to configure alarm rules for

Metric

+

Normal Range

+

Alarm Policy

+

Approach Upper Limit

+

Handling Suggestion

+

CPU Usage

+

0–100

+

Alarm threshold: 70

+

Number of consecutive periods: 2

+

Alarm severity: Major

+

No

+

Consider capacity expansion based on the service analysis.

+

The CPU capacity of a single-node or master/standby instance cannot be expanded. If you need larger capacity, use a cluster instance instead.

+

Memory Usage

+

0–100

+

Alarm threshold: 70

+

Number of consecutive periods: 2

+

Alarm severity: Major

+

No

+

Expand the capacity of the instance.

+

Connected Clients

+

0–10,000

+

Alarm threshold: 8000

+

Number of consecutive periods: 2

+

Alarm severity: Major

+

No

+

Optimize the connection pool in the service code to prevent the number of connections from exceeding the maximum limit.

+

For single-node and master/standby instances, the maximum number of connections allowed is 10,000. You can adjust the threshold based on service requirements.

+

New Connections

+

(Count/min)

+

0–10,000

+

Alarm threshold: 10,000

+

Number of consecutive periods: 2

+

Alarm severity: Minor

+

-

+

Check whether connect is used and whether the client connection is abnormal. Use persistent connections ("pconnect" in Redis terminology) to ensure performance.

+

Input Flow

+

> 0

+

Alarm threshold: 80% of the assured bandwidth

+

Number of consecutive periods: 2

+

Alarm severity: Major

+

Yes

+

Consider capacity expansion based on the service analysis and bandwidth limit.

+

Configure this alarm only for single-node and master/standby DCS Redis 3.0 instances and set the alarm threshold to 80% of the assured bandwidth of DCS Redis 3.0 instances.

+

Output Flow

+

> 0

+

Alarm threshold: 80% of the assured bandwidth

+

Number of consecutive periods: 2

+

Alarm severity: Major

+

Yes

+

Consider capacity expansion based on the service analysis and bandwidth limit.

+

Configure this alarm only for single-node and master/standby DCS Redis 3.0 instances and set the alarm threshold to 80% of the assured bandwidth of DCS Redis 3.0 instances.

+
+
+
+

Procedure

In the following example, an alarm rule is set for the CPU Usage metric.

+
  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. In the same row as the DCS instance whose metrics you want to view, choose More > View Metric.

    Figure 1 Viewing instance metrics
    +

  5. Locate the CPU Usage metric. Hover over the metric and click to create an alarm rule for the metric.

    The Create Alarm Rule page is displayed.

    +

  6. Specify the alarm rule details.

    1. Specify the alarm policy and alarm severity.

      For example, the alarm policy shown in the following figure indicates that an alarm will be triggered if the CPU usage exceeds the threshold for two consecutive periods.

      +
      Figure 2 Setting the alarm content
      +
    2. Set the alarm notification configurations. If you enable Alarm Notification, set the validity period, notification object, and trigger condition.
    3. Click Create.

      For more information about creating alarm rules, see the Cloud Eye User Guide > Using the Alarm Function > Creating Alarm Rules.

      +
      +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-190926001.html b/docs/dcs/umn/dcs-ug-190926001.html new file mode 100644 index 000000000..ac1ab782e --- /dev/null +++ b/docs/dcs/umn/dcs-ug-190926001.html @@ -0,0 +1,21 @@ + + +

Viewing Redis Slow Logs

+

Redis logs queries that exceed a specified execution time. You can view the slow query log on the DCS console to identify performance issues.

+

For details about the commands, visit the Redis official website.

+

Configure the slow log with the following parameters:

+ +

For details about the configuration parameters, see Modifying Configuration Parameters.

+

You can view the slow log of a Proxy Cluster DCS Redis 3.0 instance only if the instance is created after October 14, 2019. If the instance was created earlier, contact technical support to upgrade it. The upgrade adds the slow log function to the console, and does not affect services.

+
+

Viewing Slow Logs on the Console

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of a DCS instance.
  5. Choose Slow Log.
  6. Select a start date and an end date to view the slow log within the specified period.

    For details about the commands, visit the Redis official website.

    +
    +
    Figure 1 Slow query log of an instance
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-210107001.html b/docs/dcs/umn/dcs-ug-210107001.html new file mode 100644 index 000000000..c0250d207 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-210107001.html @@ -0,0 +1,16 @@ + + +

Managing Shards and Replicas

+

This section describes how to query the shards and replicas of a DCS Redis 4.0 or 5.0 instance and how to manually promote a replica to master.

+

Currently, this function is supported only by Redis Cluster DCS Redis 4.0 or 5.0 instances.

+ +

Promoting a Replica to Master

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager. The Cache Manager page is displayed.
  1. Click an instance.
  2. Click the Shards and Replicas tab.

    The page displays all shards in the instance and the list of replicas of each shard.

    +

  3. Click to show all replicas of a shard.

    Figure 1 Lists of shards and replicas
    +

  4. Click Promote to Master in the row containing another replica which is in the "Replica" role.
  5. Click Yes.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-210226001.html b/docs/dcs/umn/dcs-ug-210226001.html new file mode 100644 index 000000000..13bd03837 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-210226001.html @@ -0,0 +1,23 @@ + + +

Importing Backup Files from Redis

+

Scenario

Use the DCS console to migrate Redis data from self-hosted Redis to DCS for Redis.

+

Simply back up your Redis data, create a migration task on the DCS console, and then import the backup to a DCS Redis instance.

+
+

Prerequisites

A master/standby or cluster DCS Redis instance has been created as the target for the migration. The source instance has data and has been backed up.

+
+

Step 1: Obtain the Source Instance Name and Password

Obtain the name of the source Redis instance.

+
+

Step 2: Prepare the Target DCS Redis Instance

+

You can use a DCS Redis 3.0, 4.0, or 5.0 instance as the target instance.

+
+

Step 3: Create a Migration Task

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Data Migration.
  4. Click Create Backup Import Task.
  5. Enter the task name and description.
  6. Set Data Source to Redis.
  7. For source Redis, select the instance prepared in Step 1: Obtain the Source Instance Name and Password.
  8. Select the backup task whose data is to be migrated.
  9. Select the target instance created in Step 2: Prepare the Target DCS Redis Instance.
  10. Enter the password of the target instance. Click Test Connection to verify the password.
  11. Click Next.
  12. Confirm the migration task details and click Submit.

    Go back to the data migration task list. After the migration is successful, the task status changes to Successful.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-210626003.html b/docs/dcs/umn/dcs-ug-210626003.html new file mode 100644 index 000000000..71bea5c16 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-210626003.html @@ -0,0 +1,16 @@ + + + +

Permissions Management

+ +

+
+ +
+ +
diff --git a/docs/dcs/umn/dcs-ug-210626004.html b/docs/dcs/umn/dcs-ug-210626004.html new file mode 100644 index 000000000..e38edc398 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-210626004.html @@ -0,0 +1,22 @@ + + +

Creating a User and Granting DCS Permissions

+

This chapter describes how to use IAM to implement fine-grained permissions control for your DCS resources. With IAM, you can:

+ +

If your account does not need individual IAM users, you may skip over this chapter.

+

This section describes the procedure for granting the DCS ReadOnlyAccess permission (see Figure 1) as an example.

+

Prerequisites

You are familiar with the permissions (see Permissions Management) supported by DCS and choose policies or roles according to your requirements. For the permissions of other services, see Permissions Policies.

+
+

Process Flow

Figure 1 Process of granting DCS permissions
+

+
  1. Create a user group and grant permissions.

    Create a user group on the IAM console, and attach the DCS ReadOnlyAccess policy to the group.

    +
  2. Create an IAM user.

    Create a user on the IAM console and add the user to the group created in 1.

    +
  3. Log in and verify permissions.

    Log in to the DCS console by using the newly created user, and verify that the user only has read permissions for DCS.

    +
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-210626005.html b/docs/dcs/umn/dcs-ug-210626005.html new file mode 100644 index 000000000..2d5430a16 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-210626005.html @@ -0,0 +1,44 @@ + + +

DCS Custom Policies

+

Custom policies can be created to supplement the system-defined policies of DCS. For the actions that can be added for custom policies, see Permissions Policies and Supported Actions.

+

You can create custom policies in either of the following ways:

+ +

For details, see "Creating a Custom Policy". The following section contains examples of common DCS custom policies.

+

Due to data caching, a policy involving OBS actions will take effect five minutes after it is attached to a user, user group, or project.

+
+

Example Custom Policies

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-210922001.html b/docs/dcs/umn/dcs-ug-210922001.html new file mode 100644 index 000000000..4e4aed8f4 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-210922001.html @@ -0,0 +1,20 @@ + + + +

Importing Backup Files

+ +

+
+ +
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-211011001.html b/docs/dcs/umn/dcs-ug-211011001.html new file mode 100644 index 000000000..da3d58ef0 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-211011001.html @@ -0,0 +1,66 @@ + + +

Lettuce

+

Access a Redis Cluster instance through Lettuce on an ECS in the same VPC. For more information on how to use other Redis clients, visit https://redis.io/clients.

+

If a password was set during DCS Redis instance creation, configure the password for connecting to Redis using Lettuce. Do not hard code the plaintext password.

+

To connect to a single-node, master/standby, or Proxy Cluster instance, use the RedisClient object of Lettuce. To connect to a Redis Cluster instance, use the RedisClusterClient object.

+
+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.
  3. Use Maven to add the following dependency to the pom.xml file:

    <dependency>
    +  <groupId>io.lettuce</groupId>
    +  <artifactId>lettuce-core</artifactId>
    +  <version>6.1.6.RELEASE</version>
    +</dependency>
    +

  4. Use Lettuce (a Java client) to connect to the DCS instance.

    • Example of using Lettuce to connect to a single-node, master/standby, or Proxy Cluster DCS Redis instance with a single connection
      // password indicates the connection password. If there is no password, delete "password@". If there is a password and it contains special characters, conversion is required.
      +RedisClient redisClient = RedisClient.create("redis://password@host:port");
      +StatefulRedisConnection<String, String> connection = redisClient.connect();
      +RedisCommands<String, String> syncCommands = connection.sync();
      +syncCommands.set("key", "value");
      +System.out.println("Connected to Redis:" + syncCommands.get("key"));
      +// Close the connection.
      +connection.close();
      +// Close the client.
      +redisClient.shutdown();
      +
    • Example of using Lettuce to connect to a single-node, master/standby, or Proxy Cluster DCS Redis instance with connection pooling
      // password indicates the connection password. If there is no password, delete "password@". If there is a password and it contains special characters, conversion is required.
      +RedisClient clusterClient = RedisClient.create("redis://password@host:port");
      +GenericObjectPoolConfig<StatefulRedisConnection<String, String>> genericObjectPoolConfig = new GenericObjectPoolConfig();
      +// Connection pool parameters
      +genericObjectPoolConfig.setMaxIdle(3);
      +genericObjectPoolConfig.setMinIdle(2);
      +genericObjectPoolConfig.setMaxTotal(3);
      +genericObjectPoolConfig.setMaxWaitMillis(-1);
      +GenericObjectPool<StatefulRedisConnection<String, String>> pool = ConnectionPoolSupport
      +        .createGenericObjectPool(() -> clusterClient.connect(), genericObjectPoolConfig);
      +// Obtain a connection to perform operations.
      +try (StatefulRedisConnection<String, String> con = pool.borrowObject()) {
      +    RedisCommands<String, String> sync = con.sync();
      +	sync.set("key", "value");
      +    System.out.println("Connected by pool:" + sync.get("key"));
      +} catch (Exception e) {
      +    e.printStackTrace();
      +}finally {
      +    // Close the resources.
      +    pool.close();
      +    clusterClient.shutdown();
      +}
      +
    • Example of using Lettuce to connect to a Redis Cluster
      // password indicates the connection password. If there is no password, delete "password@". If there is a password and it contains special characters, conversion is required.
      +RedisClusterClient redisClient = RedisClusterClient.create("redis://password@host:port");
      +StatefulRedisClusterConnection<String, String> connection = redisClient.connect();
      +RedisAdvancedClusterCommands<String, String> syncCommands = connection.sync();
      +syncCommands.set("key", "value");
      +System.out.println("Connected to RedisCluster:"+syncCommands.get("key"));
      +// Close the connection.
      +connection.close();
      +// Close the client.
      +redisClient.shutdown();
      +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-211105001.html b/docs/dcs/umn/dcs-ug-211105001.html new file mode 100644 index 000000000..274ec80da --- /dev/null +++ b/docs/dcs/umn/dcs-ug-211105001.html @@ -0,0 +1,61 @@ + + +

go-redis

+

Access a DCS Redis instance through go-redis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.

+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.

    A Windows ECS is used as an example.

    +

  3. Install Visual Studio Community 2017 on the ECS.
  4. Start Visual Studio and create a project. The project name can be customized. In this example, the project name is set to redisdemo.
  5. Import the dependency package of go-redis and enter go get github.com/go-redis/redis on the terminal.
  6. Write the following code:

    package main
    +
    +import (
    +	"fmt"
    +	"github.com/go-redis/redis"
    +)
    +
    +func main() {
    +	// Single-node
    +	rdb := redis.NewClient(&redis.Options{
    +		Addr:     "host:port",
    +		Password: "********", // no password set
    +		DB:       0,  // use default DB
    +	})
    +
    +	val, err := rdb.Get("key").Result()
    +	if err != nil {
    +		if err == redis.Nil {
    +			fmt.Println("key does not exists")
    +			return
    +		}
    +		panic(err)
    +	}
    +	fmt.Println(val)
    +
    +	//Cluster
    +	rdbCluster := redis.NewClusterClient(&redis.ClusterOptions{
    +		Addrs:    []string{"host:port"},
    +		Password: "********",
    +	})
    +	val1, err1 := rdbCluster.Get("key").Result()
    +	if err1 != nil {
    +		if err == redis.Nil {
    +			fmt.Println("key does not exists")
    +			return
    +		}
    +		panic(err)
    +	}
    +	fmt.Println(val1)
    +}
    +

    host:port are the IP address/domain name and port number of the DCS Redis instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address/domain name and port as required. ******** indicates the password used to log in to the DCS Redis instance. This password is defined during DCS Redis instance creation.

    +

  7. Run the go build -o test main.go command to package the code into an executable file, for example, test.

    To run the package in the Linux OS, set the following parameters before packaging:

    +

    set GOARCH=amd64

    +

    set GOOS=linux

    +
    +

  8. Run the ./test command to access the DCS instance.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-211105003.html b/docs/dcs/umn/dcs-ug-211105003.html new file mode 100644 index 000000000..b1b79752c --- /dev/null +++ b/docs/dcs/umn/dcs-ug-211105003.html @@ -0,0 +1,18 @@ + + +

Java

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-211105004.html b/docs/dcs/umn/dcs-ug-211105004.html new file mode 100644 index 000000000..567720e62 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-211105004.html @@ -0,0 +1,183 @@ + + +

Redisson

+

Access a DCS Redis instance through Redisson on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.

+
  • If a password was set during DCS Redis instance creation, configure the password for connecting to Redis using Redisson. Do not hard code the plaintext password.
  • To connect to a single-node, master/standby, or Proxy Cluster instance, use the useSingleServer method of the SingleServerConfig object of Redisson. To connect to a Redis Cluster instance, use the useClusterServers method of the ClusterServersConfig object.
+
+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.
  3. Use Maven to add the following dependency to the pom.xml file:

    <dependency>
    +  <groupId>org.redisson</groupId>
    +  <artifactId>redisson</artifactId>
    +  <version>3.16.8</version>
    +</dependency>
    +

  4. Configure the connection pool.

    Recommended keepalive configurations:

    +
    # ping connection interval. Configuring this parameter will increase Redis load. Set a value based on the number of connections. The more the connections, the larger the value. Minimum value: 1000. If the number of active Redis connections exceeds 5000, do not set this parameter.
    +pingConnectionInterval: 3000
    + 
    +

    The following is a configuration example for a single-node instance. (Set the timeout interval and connection pool size based on the site requirements. The following settings are examples only.)

    +
          redisson:
    +            config:
    +                singleServerConfig:
    +                    # Connection timeout, in milliseconds.
    +                    connectTimeout: 10000
    +                    # Command waiting timeout, in milliseconds.
    +                    timeout: 3000
    +                    # Number of retry times upon a command failure.
    +                    retryAttempts: 3
    +                    # Interval for retrying sending commands, in milliseconds.
    +                    retryInterval: 1500
    +                    # Minimum number of idle connections.
    +                    connectionMinimumIdleSize: 30
    +                    # Connection pool size.
    +                    connectionPoolSize: 50
    +                   # Redis database ID.
    +                    database: 0
    +                   # DNS monitoring interval, in milliseconds.
    +                    dnsMonitoringInterval: 5000
    +                # ping connection interval.
    +                pingConnectionInterval: 3000
    + 
    +

    The following is a configuration example for a cluster instance. (Set the timeout interval and connection pool size based on the site requirements.)

    +
            redisson:
    +            config:
    +                clusterServersConfig:
    +                    # Idle connection timeout, in milliseconds.
    +                    idleConnectionTimeout: 100000
    +                    # Connection timeout, in milliseconds.
    +                    connectTimeout: 10000
    +                    # Command waiting timeout, in milliseconds.
    +                    timeout: 3000
    +                    # Number of retry times upon a command failure.
    +                    retryAttempts: 3
    +                    # Interval for retrying sending commands, in milliseconds.
    +                    retryInterval: 1500
    +                    # Interval for reconnecting a replica node upon a failure.
    +                    failedSlaveReconnectionInterval: 3000
    +                    # Interval for checking a replica node upon a failure.
    +                    failedSlaveCheckInterval: 60000
    +                    # Maximum number of subscriptions per connection.
    +                    subscriptionsPerConnection: 5
    +                    #  Client name.
    +                    clientName: null
    +                    #  Minimum number of idle pub/sub connections.
    +                    subscriptionConnectionMinimumIdleSize: 1
    +                    #  Pub/Sub connection pool size.
    +                    subscriptionConnectionPoolSize: 50
    +                    # Minimum number of idle connections per replica node.
    +                    slaveConnectionMinimumIdleSize: 24
    +                    # Connection pool size per replica node.
    +                    slaveConnectionPoolSize: 64
    +                    # Minimum number of idle connections of the master node.
    +                    masterConnectionMinimumIdleSize: 24
    +                    # Connection pool size of the master node.
    +                    masterConnectionPoolSize: 64
    +                    #  Master node status scan interval, in milliseconds.
    +                    scanInterval: 1000
    +                    # ping connection interval.
    +                    pingConnectionInterval: 3000
    +                    # Whether to keep the connection alive.
    +                    keepAlive: false
    +                    # The tcpNoDelay setting is enabled by default.
    +                    tcpNoDelay: false
    +

  5. Access the DCS instance by using Redisson (a Java client).

    • Example of using Redisson to connect to a single-node, master/standby, or Proxy Cluster DCS Redis instance with a single connection
      Config config = new Config();
      +SingleServerConfig singleServerConfig = config.useSingleServer();
      +singleServerConfig.setAddress("redis://host:port");
      +// singleServerConfig.setPassword("********");
      +RedissonClient redisson = Redisson.create(config);
      +//Test concurrentMap. Data is synchronized to Redis when the put method is used.
      +ConcurrentMap<String, Object> map = redisson.getMap("FirstMap");
      +map.put("wanger", "male");
      +map.put("zhangsan", "nan");
      +map.put("lisi", "female");
      +ConcurrentMap resultMap = redisson.getMap("FirstMap");
      +System.out.println("resultMap==" + resultMap.keySet());
      +//Test Set
      +Set mySet = redisson.getSet("MySet");
      +mySet.add("wanger");
      +mySet.add("lisi");
      +Set resultSet = redisson.getSet("MySet");
      +System.out.println("resultSet===" + resultSet.size());
      +//Test Queue
      +Queue myQueue = redisson.getQueue("FirstQueue");
      +myQueue.add("wanger");
      +myQueue.add("lili");
      +myQueue.add("zhangsan");
      +myQueue.peek();
      +myQueue.poll();
      +Queue resultQueue = redisson.getQueue("FirstQueue");
      +System.out.println("resultQueue===" + resultQueue);
      +//Close the connection.
      +redisson.shutdown();
      +
    • Example of using Redisson to connect to a single-node, master/standby, or Proxy Cluster DCS Redis instance with connection pooling
      //1. Initialization
      +Config config = new Config();
      +SingleServerConfig singleServerConfig = config.useSingleServer();
      +singleServerConfig.setAddress("redis://host:6379");
      +//Set the maximum number of connections in the connection pool of the master node to 500.
      +singleServerConfig.setConnectionPoolSize(500);
      +//The connections will be automatically closed and removed from the connection pool. The time unit is millisecond.
      +singleServerConfig.setIdleConnectionTimeout(10000);
      +RedissonClient redisson = Redisson.create(config);
      +//Test concurrentMap. Data is synchronized to Redis when the put method is used.
      +ConcurrentMap<String, Object> map = redisson.getMap("FirstMap");
      +map.put("wanger", "male");
      +map.put("zhangsan", "nan");
      +map.put("lisi", "female");
      +ConcurrentMap resultMap = redisson.getMap("FirstMap");
      +System.out.println("resultMap==" + resultMap.keySet());
      +//Test Set
      +Set mySet = redisson.getSet("MySet");
      +mySet.add("wanger");
      +mySet.add("lisi");
      +Set resultSet = redisson.getSet("MySet");
      +System.out.println("resultSet===" + resultSet.size());
      +//Test Queue
      +Queue myQueue = redisson.getQueue("FirstQueue");
      +myQueue.add("wanger");
      +myQueue.add("lili");
      +myQueue.add("zhangsan");
      +myQueue.peek();
      +myQueue.poll();
      +Queue resultQueue = redisson.getQueue("FirstQueue");
      +System.out.println("resultQueue===" + resultQueue);
      +//Close the connection.
      +redisson.shutdown();
      +
    • Example of using Redisson to connect to a Redis Cluster
      Config config = new Config();
      +ClusterServersConfig clusterServersConfig = config.useClusterServers();
      +clusterServersConfig.addNodeAddress("redis://host:port");
      +//Set a password.
      +// clusterServersConfig.setPassword("********");
      +RedissonClient redisson = Redisson.create(config);
      +ConcurrentMap<String, Object> map = redisson.getMap("FirstMap");
      +map.put("wanger", "male");
      +map.put("zhangsan", "nan");
      +map.put("lisi", "female");
      +ConcurrentMap resultMap = redisson.getMap("FirstMap");
      +System.out.println("resultMap==" + resultMap.keySet());
      +//2. Test Set
      +Set mySet = redisson.getSet("MySet");
      +mySet.add("wanger");
      +mySet.add("lisi");
      +Set resultSet = redisson.getSet("MySet");
      +System.out.println("resultSet===" + resultSet.size());
      +//3. Test Queue
      +Queue myQueue = redisson.getQueue("FirstQueue");
      +myQueue.add("wanger");
      +myQueue.add("lili");
      +myQueue.add("zhangsan");
      +myQueue.peek();
      +myQueue.poll();
      +Queue resultQueue = redisson.getQueue("FirstQueue");
      +System.out.println("resultQueue===" + resultQueue);
      +//Close the connection.
      +redisson.shutdown();
      +
    +

+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-211202001.html b/docs/dcs/umn/dcs-ug-211202001.html new file mode 100644 index 000000000..230b3615d --- /dev/null +++ b/docs/dcs/umn/dcs-ug-211202001.html @@ -0,0 +1,17 @@ + + +

PHP

+

+
+
+ + + +
diff --git a/docs/dcs/umn/dcs-ug-211202002.html b/docs/dcs/umn/dcs-ug-211202002.html new file mode 100644 index 000000000..0078ffa33 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-211202002.html @@ -0,0 +1,49 @@ + + +

Predis

+

Access a DCS Redis instance through Predis on an ECS in the same VPC. For more information about how to use other Redis clients, visit the Redis official website.

+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.
  3. Install the PHP development package and CLI tool. Run the following yum command:

    yum install php-devel php-common php-cli

    +

  4. After the installation is complete, check the version number to ensure that the installation is successful.

    php --version

    +

  5. Download the Predis package to the /usr/share/php directory.

    1. Run the following command to download the Predis source file:

      wget https://github.com/predis/predis/archive/refs/tags/v1.1.10.tar.gz

      +

      This version is used as an example. To download Predis clients of other versions, visit the Redis or PHP official website.

      +
      +
    2. Run the following commands to decompress the source Predis package:

      tar -zxvf predis-1.1.10.tar.gz

      +
    3. Rename the decompressed Predis directory predis and move it to /usr/share/php/.

      mv predis-1.1.10 predis

      +
    +

  6. Edit a file used to connect to Redis.

    • Example of using redis.php to connect to a single-node, master/standby, or Proxy Cluster DCS Redis instance:
      <?php
      +    require 'predis/autoload.php';
      +    Predis\Autoloader::register();
      +    $client = new Predis\Client([
      +      'scheme' => 'tcp' ,
      +      'host'     => '{redis_instance_address}' ,
      +      'port'     => {port} ,
      +      'password' => '{password}'
      +    ]);
      +    $client->set('foo', 'bar');
      +    $value = $client->get('foo');
      +    echo $value;
      +?>
      +
    • Example code for using redis-cluster.php to connect to Redis Cluster:
      <?php
      +   require 'predis/autoload.php';
      +        $servers = array(
      +         'tcp://{redis_instance_address}:{port}'
      +        );
      +       $options = array('cluster' => 'redis');
      +       $client = new Predis\Client($servers, $options);
      +       $client->set('foo', 'bar');
      +       $value = $client->get('foo');
      +       echo $value;
      +?>
      +
    +

    {redis_instance_address} indicates the actual IP address or domain name of the DCS instance and {port} is the actual port number of DCS instance. For details about how to obtain the IP address/domain name and port, see 1. Change the IP address/domain name and port as required. {password} indicates the password used to log in to the chosen DCS Redis instance. This password is defined during DCS Redis instance creation. If password-free access is required, delete the line that contains "password".

    +

  7. Run the php redis.php command to access the DCS instance.
+
+
+
+ +
diff --git a/docs/dcs/umn/dcs-ug-211203001.html b/docs/dcs/umn/dcs-ug-211203001.html new file mode 100644 index 000000000..a76977767 --- /dev/null +++ b/docs/dcs/umn/dcs-ug-211203001.html @@ -0,0 +1,292 @@ + + +

Lettuce Integration with Spring Boot

+

Prerequisites

+
+

Procedure

  1. View the IP address/domain name and port number of the DCS Redis instance to be accessed.

    For details, see Viewing Details of a DCS Instance.

    +

  2. Log in to the ECS.
  3. Use Maven to add the following dependency to the pom.xml file:

    • Since Spring Boot 2.0, Lettuce is used as the default client for connections.
    • Spring Boot 2.6.6 and Lettuce 6.1.8 are used.
    +
    +
    <dependency>
    +  <groupId>org.springframework.boot</groupId>
    +  <artifactId>spring-boot-starter-web</artifactId>
    +</dependency>
    +<dependency>
    +  <groupId>org.springframework.boot</groupId>
    +  <artifactId>spring-boot-starter-data-redis</artifactId>
    +</dependency> 
    +

  4. Use Spring Boot integrated with Lettuce to connect to the instance.

    • Example of using Spring Boot and Lettuce to connect to a single-node, master/standby, or Proxy Cluster DCS Redis instance with a single connection
      1. Add the Redis configuration to the application.properties configuration file.
        spring.redis.host=host
        +spring.redis.database=0
        +spring.redis.password=pwd
        +spring.redis.port=port 
        +
      2. Redis configuration class RedisConfiguration
        @Bean
        +public RedisTemplate<String, Object> redisTemplate(LettuceConnectionFactory lettuceConnectionFactory) {
        +    RedisTemplate<String, Object> template = new RedisTemplate<>();
        +    template.setConnectionFactory(lettuceConnectionFactory);
        +      // Replace the default JdkSerializationRedisSerializer with Jackson2JsonRedisSerializer to serialize and deserialize the Redis value.
        +    Jackson2JsonRedisSerializer<Object> jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer<>(Object.class);
        +    ObjectMapper mapper = new ObjectMapper();
        +    mapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
        +    mapper.activateDefaultTyping(LaissezFaireSubTypeValidator.instance,
        +        ObjectMapper.DefaultTyping.NON_FINAL, JsonTypeInfo.As.PROPERTY);
        +    jackson2JsonRedisSerializer.setObjectMapper(mapper);
        +    StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
        +      // String serialization of keys
        +    template.setKeySerializer(stringRedisSerializer);
        +      // String serialization of hash keys
        +    template.setHashKeySerializer(stringRedisSerializer);
        +      // Jackson serialization of values
        +    template.setValueSerializer(jackson2JsonRedisSerializer);
        +      // Jackson serialization of hash values
        +    template.setHashValueSerializer(jackson2JsonRedisSerializer);
        +    template.afterPropertiesSet();
        +    return template;
        +}  
        +
      3. Redis operation class RedisUtil
         /**
        +  * Obtain data from the cache.
        +  * @param key
        +  * @return value
        +  */
        + public Object get(String key){
        +     return key==null?null:redisTemplate.opsForValue().get(key);
        + }
        +
        + /**
        +  * Write data to the cache.
        +  * @param key
        +  * @param value
        +  * @return true (successful) false (failed)
        +  */
        + public boolean set(String key,Object value) {
        +     try {
        +         redisTemplate.opsForValue().set(key, value);
        +         return true;
        +     } catch (Exception e) {
        +         e.printStackTrace();
        +         return false;
        +     }
        + }
        +
      4. Write the controller class for testing.
          @RestController
        +public class HelloRedis {
        +    @Autowired
        +    RedisUtil redisUtil;
        +
        +
        +    @RequestMapping("/setParams")
        +    @ResponseBody
        +    public String setParams(String name) {
        +	        redisUtil.set("name", name);
        +	        return "success";
        +	    }
        +
        +    @RequestMapping("/getParams")
        +    @ResponseBody
        +    public String getParams(String name) {
        +	System.out.println("--------------" + name + "-------------");
        +	String retName = redisUtil.get(name) + "";
        +	return retName;
        +	}
        +
        +    }  
        +
      +
    • Example of using Spring Boot and Lettuce to connect to a single-node, master/standby, or Proxy Cluster DCS Redis instance with connection pooling
      1. Add the following dependency in addition to the preceding Maven dependency:
        <dependency>
        +  <groupId>org.apache.commons</groupId>
        +  <artifactId>commons-pool2</artifactId>
        +</dependency> 
        +
      2. Add the Redis configuration to the application.properties configuration file.
        spring.redis.host=host
        +spring.redis.database=0
        +spring.redis.password=pwd
        +spring.redis.port=port
        +# Connection timeout.
        +spring.redis.timeout=1000
        +# Maximum number of connections in the connection pool. A negative value indicates no limit.
        +spring.redis.lettuce.pool.max-active=50
        +# Minimum number of idle connections in the connection pool.
        +spring.redis.lettuce.pool.min-idle=5
        +# Maximum number of idle connections in the connection pool.
        +spring.redis.lettuce.pool.max-idle=50
        +# Maximum time for waiting for connections in the connection pool. A negative value indicates no limit.
        +spring.redis.lettuce.pool.max-wait=5000
        +# Interval for scheduling an eviction thread.
        +spring.redis.pool.time-between-eviction-runs-millis=2000  
        +
      3. Redis connection configuration class RedisConfiguration
        @Bean
        +public RedisTemplate<String, Object> redisTemplate(LettuceConnectionFactory lettuceConnectionFactory) {
        +    lettuceConnectionFactory.setShareNativeConnection(false);
        +    RedisTemplate<String, Object> template = new RedisTemplate<>();
        +    template.setConnectionFactory(lettuceConnectionFactory);
        +    // Use Jackson2JsonRedisSerializer to replace the default JdkSerializationRedisSerializer to serialize and deserialize the Redis value.
        +    Jackson2JsonRedisSerializer<Object> jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer<>(Object.class);
        +    ObjectMapper mapper = new ObjectMapper();
        +    mapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
        +    mapper.activateDefaultTyping(LaissezFaireSubTypeValidator.instance,
        +        ObjectMapper.DefaultTyping.NON_FINAL, JsonTypeInfo.As.PROPERTY);
        +    jackson2JsonRedisSerializer.setObjectMapper(mapper);
        +    StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
        +    // String serialization of keys
        +    template.setKeySerializer(stringRedisSerializer);
        +    // String serialization of hash keys
        +    template.setHashKeySerializer(stringRedisSerializer);
        +    // Jackson serialization of values
        +    template.setValueSerializer(jackson2JsonRedisSerializer);
        +    // Jackson serialization of hash values
        +    template.setHashValueSerializer(jackson2JsonRedisSerializer);
        +    template.afterPropertiesSet();
        +    return template;
        +}  
        +
      +
    • Example code for using Spring Boot and Lettuce to connect to Redis Cluster using a single connection
      1. Add the Redis configuration to the application.properties configuration file.
        spring.redis.cluster.nodes=host:port
        +spring.redis.cluster.max-redirects=3
        +spring.redis.password= pwd
        +# Automated refresh interval
        +spring.redis.lettuce.cluster.refresh.period=60
        +# Enable automated refresh
        +spring.redis.lettuce.cluster.refresh.adaptive=true
        +spring.redis.timeout=60
        +
      2. Redis configuration class RedisConfiguration (automated topology refresh must be enabled).
        @Bean
        +public LettuceConnectionFactory lettuceConnectionFactory() {
        +     String[] nodes = clusterNodes.split(",");
        +     List<RedisNode> listNodes = new ArrayList();
        +     for (String node : nodes) {
        +         String[] ipAndPort = node.split(":");
        +         RedisNode redisNode = new RedisNode(ipAndPort[0], Integer.parseInt(ipAndPort[1]));
        +         listNodes.add(redisNode);
        +     }
        +     RedisClusterConfiguration redisClusterConfiguration = new RedisClusterConfiguration();
        +     redisClusterConfiguration.setClusterNodes(listNodes);
        +     redisClusterConfiguration.setPassword(password);
        +     redisClusterConfiguration.setMaxRedirects(maxRedirects);
        +      // Configure automated topology refresh.
        +     ClusterTopologyRefreshOptions topologyRefreshOptions = ClusterTopologyRefreshOptions.builder()
        +         .enablePeriodicRefresh(Duration.ofSeconds(period)) // Refresh the topology periodically.
        +         .enableAllAdaptiveRefreshTriggers() // Refresh the topology based on events.
        +         .build();
        +
        +     ClusterClientOptions clusterClientOptions = ClusterClientOptions.builder()
        +         // Redis command execution timeout. Only when the command execution times out will a reconnection be triggered using the new topology.
        +         .timeoutOptions(TimeoutOptions.enabled(Duration.ofSeconds(period)))
        +         .topologyRefreshOptions(topologyRefreshOptions)
        +         .build();
        +     LettuceClientConfiguration clientConfig = LettucePoolingClientConfiguration.builder()
        +             .commandTimeout(Duration.ofSeconds(timeout))
        +             .readFrom(ReadFrom.REPLICA_PREFERRED) // Preferentially read data from the replicas.
        +             .clientOptions(clusterClientOptions)
        +             .build();
        +     LettuceConnectionFactory factory = new LettuceConnectionFactory(redisClusterConfiguration, clientConfig);
        +     return factory;
        +}
        +
        +@Bean
        +public RedisTemplate<String, Object> redisTemplate(LettuceConnectionFactory lettuceConnectionFactory) {
        +    RedisTemplate<String, Object> template = new RedisTemplate<>();
        +    template.setConnectionFactory(lettuceConnectionFactory);
        +     // Use Jackson2JsonRedisSerializer to replace the default JdkSerializationRedisSerializer to serialize and deserialize the Redis value.
        +    Jackson2JsonRedisSerializer<Object> jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer<>(Object.class);
        +    ObjectMapper mapper = new ObjectMapper();
        +    mapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
        +    mapper.activateDefaultTyping(LaissezFaireSubTypeValidator.instance,
        +        ObjectMapper.DefaultTyping.NON_FINAL, JsonTypeInfo.As.PROPERTY);
        +    jackson2JsonRedisSerializer.setObjectMapper(mapper);
        +    StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
        +     // String serialization of keys
        +    template.setKeySerializer(stringRedisSerializer);
        +     // String serialization of hash keys
        +    template.setHashKeySerializer(stringRedisSerializer);
        +     // Jackson serialization of values
        +    template.setValueSerializer(jackson2JsonRedisSerializer);
        +     // Jackson serialization of hash values
        +    template.setHashValueSerializer(jackson2JsonRedisSerializer);
        +    template.afterPropertiesSet();
        +    return template;
        +}  
        +
      +
    • Example code for using Spring Boot and Lettuce to connect to Redis Cluster with connection pooling
      1. Add the Redis configuration to the application.properties configuration file.
        spring.redis.cluster.nodes=host:port
        +spring.redis.cluster.max-redirects=3
        +spring.redis.password=pwd
        +spring.redis.lettuce.cluster.refresh.period=60
        +spring.redis.lettuce.cluster.refresh.adaptive=true
        +# Connection timeout.
        +spring.redis.timeout=60s
        +# Maximum number of connections in the connection pool. A negative value indicates no limit.
        +spring.redis.lettuce.pool.max-active=50
        +# Minimum number of idle connections in the connection pool.
        +spring.redis.lettuce.pool.min-idle=5
        +# Maximum number of idle connections in the connection pool.
        +spring.redis.lettuce.pool.max-idle=50
        +# Maximum time for waiting for connections in the connection pool. A negative value indicates no limit.
        +spring.redis.lettuce.pool.max-wait=5000
        +# Interval for scheduling an eviction thread.
        +spring.redis.lettuce.pool.time-between-eviction-runs=2000
        +
      2. Redis configuration class RedisConfiguration (automated topology refresh must be enabled).
        @Bean
        + public LettuceConnectionFactory lettuceConnectionFactory() {
        +     GenericObjectPoolConfig genericObjectPoolConfig = new GenericObjectPoolConfig();
        +     genericObjectPoolConfig.setMaxIdle(maxIdle);
        +     genericObjectPoolConfig.setMinIdle(minIdle);
        +     genericObjectPoolConfig.setMaxTotal(maxActive);
        +     genericObjectPoolConfig.setMaxWait(Duration.ofMillis(maxWait));
        +     genericObjectPoolConfig.setTimeBetweenEvictionRuns(Duration.ofMillis(timeBetweenEvictionRunsMillis));
        +     String[] nodes = clusterNodes.split(",");
        +     List<RedisNode> listNodes = new ArrayList();
        +     for (String node : nodes) {
        +         String[] ipAndPort = node.split(":");
        +         RedisNode redisNode = new RedisNode(ipAndPort[0], Integer.parseInt(ipAndPort[1]));
        +         listNodes.add(redisNode);
        +     }
        +     RedisClusterConfiguration redisClusterConfiguration = new RedisClusterConfiguration();
        +     redisClusterConfiguration.setClusterNodes(listNodes);
        +     redisClusterConfiguration.setPassword(password);
        +     redisClusterConfiguration.setMaxRedirects(maxRedirects);
        +      // Configure automated topology refresh.
        +     ClusterTopologyRefreshOptions topologyRefreshOptions = ClusterTopologyRefreshOptions.builder()
        +         .enablePeriodicRefresh(Duration.ofSeconds(period)) // Refresh the topology periodically.
        +         .enableAllAdaptiveRefreshTriggers() // Refresh the topology based on events.
        +         .build();
        +
        +     ClusterClientOptions clusterClientOptions = ClusterClientOptions.builder()
        +         // Redis command execution timeout. Only when the command execution times out will a reconnection be triggered using the new topology.
        +         .timeoutOptions(TimeoutOptions.enabled(Duration.ofSeconds(period)))
        +         .topologyRefreshOptions(topologyRefreshOptions)
        +         .build();
        +     LettuceClientConfiguration clientConfig = LettucePoolingClientConfiguration.builder()
        +             .commandTimeout(Duration.ofSeconds(timeout))
        +             .poolConfig(genericObjectPoolConfig)
        +             .readFrom(ReadFrom.REPLICA_PREFERRED) // Preferentially read data from the replicas.
        +             .clientOptions(clusterClientOptions)
        +             .build();
        +     LettuceConnectionFactory factory = new LettuceConnectionFactory(redisClusterConfiguration, clientConfig);
        +     return factory;
        + }
        +
        +@Bean
        +public RedisTemplate<String, Object> redisTemplate(LettuceConnectionFactory lettuceConnectionFactory) {
        +    lettuceConnectionFactory.setShareNativeConnection(false);
        +    RedisTemplate<String, Object> template = new RedisTemplate<>();
        +    template.setConnectionFactory(lettuceConnectionFactory);
        +     // Use Jackson2JsonRedisSerializer to replace the default JdkSerializationRedisSerializer to serialize and deserialize the Redis value.
        +    Jackson2JsonRedisSerializer<Object> jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer<>(Object.class);
        +    ObjectMapper mapper = new ObjectMapper();
        +    mapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
        +    mapper.activateDefaultTyping(LaissezFaireSubTypeValidator.instance,
        +        ObjectMapper.DefaultTyping.NON_FINAL, JsonTypeInfo.As.PROPERTY);
        +    jackson2JsonRedisSerializer.setObjectMapper(mapper);
        +    StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
        +     // String serialization of keys
        +    template.setKeySerializer(stringRedisSerializer);
        +     // String serialization of hash keys
        +    template.setHashKeySerializer(stringRedisSerializer);
        +     // Jackson serialization of values
        +    template.setValueSerializer(jackson2JsonRedisSerializer);
        +     // Jackson serialization of hash values
        +    template.setHashValueSerializer(jackson2JsonRedisSerializer);
        +    template.afterPropertiesSet();
        +    return template;
        +}  
        +
      +
    +

    host is the IP address/domain name of the DCS instance, port is the port number of the DCS instance, and pwd is the password of the DCS instance. Specify these parameters as required before running the code. Connection pooling is recommended. Adjust parameters such as TimeOut, MaxTotal (maximum number of connections), MinIdle (minimum number of idle connections), MaxIdle (maximum number of idle connections), and MaxWait (maximum waiting time) based on service requirements.

    +

+
+
+
+ +
diff --git a/docs/dcs/umn/en-us_image_0000001148443450.png b/docs/dcs/umn/en-us_image_0000001148443450.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148443450.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148443456.png b/docs/dcs/umn/en-us_image_0000001148443456.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148443456.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148443458.png b/docs/dcs/umn/en-us_image_0000001148443458.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148443458.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148443460.png b/docs/dcs/umn/en-us_image_0000001148443460.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148443460.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148443514.png b/docs/dcs/umn/en-us_image_0000001148443514.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148443514.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148603242.png b/docs/dcs/umn/en-us_image_0000001148603242.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148603242.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148603244.png b/docs/dcs/umn/en-us_image_0000001148603244.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148603244.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148603246.png b/docs/dcs/umn/en-us_image_0000001148603246.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148603246.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148603248.png b/docs/dcs/umn/en-us_image_0000001148603248.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148603248.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148603250.png b/docs/dcs/umn/en-us_image_0000001148603250.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148603250.png differ diff --git a/docs/dcs/umn/en-us_image_0000001148670664.png b/docs/dcs/umn/en-us_image_0000001148670664.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001148670664.png differ diff --git a/docs/dcs/umn/en-us_image_0000001187846598.png b/docs/dcs/umn/en-us_image_0000001187846598.png new file mode 100644 index 000000000..1cf674a3c Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001187846598.png differ diff --git a/docs/dcs/umn/en-us_image_0000001188005622.png b/docs/dcs/umn/en-us_image_0000001188005622.png new file mode 100644 index 000000000..1cf674a3c Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001188005622.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194403147.png b/docs/dcs/umn/en-us_image_0000001194403147.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194403147.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194403149.png b/docs/dcs/umn/en-us_image_0000001194403149.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194403149.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194403151.png b/docs/dcs/umn/en-us_image_0000001194403151.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194403151.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194403153.png b/docs/dcs/umn/en-us_image_0000001194403153.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194403153.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194403155.png b/docs/dcs/umn/en-us_image_0000001194403155.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194403155.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194403157.png b/docs/dcs/umn/en-us_image_0000001194403157.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194403157.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194522775.png b/docs/dcs/umn/en-us_image_0000001194522775.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194522775.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194522893.png b/docs/dcs/umn/en-us_image_0000001194522893.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194522893.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194523039.png b/docs/dcs/umn/en-us_image_0000001194523039.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194523039.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194523041.png b/docs/dcs/umn/en-us_image_0000001194523041.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194523041.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194523043.png b/docs/dcs/umn/en-us_image_0000001194523043.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194523043.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194523045.png b/docs/dcs/umn/en-us_image_0000001194523045.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194523045.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194523047.png b/docs/dcs/umn/en-us_image_0000001194523047.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194523047.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194523049.png b/docs/dcs/umn/en-us_image_0000001194523049.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194523049.png differ diff --git a/docs/dcs/umn/en-us_image_0000001194523107.png b/docs/dcs/umn/en-us_image_0000001194523107.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001194523107.png differ diff --git a/docs/dcs/umn/en-us_image_0000001195353813.png b/docs/dcs/umn/en-us_image_0000001195353813.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001195353813.png differ diff --git a/docs/dcs/umn/en-us_image_0000001196623620.png b/docs/dcs/umn/en-us_image_0000001196623620.png new file mode 100644 index 000000000..c68de2cde Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001196623620.png differ diff --git a/docs/dcs/umn/en-us_image_0000001196710703.png b/docs/dcs/umn/en-us_image_0000001196710703.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001196710703.png differ diff --git a/docs/dcs/umn/en-us_image_0000001206970621.png b/docs/dcs/umn/en-us_image_0000001206970621.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001206970621.png differ diff --git a/docs/dcs/umn/en-us_image_0000001214124082.png b/docs/dcs/umn/en-us_image_0000001214124082.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001214124082.png differ diff --git a/docs/dcs/umn/en-us_image_0000001233126245.png b/docs/dcs/umn/en-us_image_0000001233126245.png new file mode 100644 index 000000000..f68fc078f Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001233126245.png differ diff --git a/docs/dcs/umn/en-us_image_0000001241411631.png b/docs/dcs/umn/en-us_image_0000001241411631.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001241411631.png differ diff --git a/docs/dcs/umn/en-us_image_0000001241691605.png b/docs/dcs/umn/en-us_image_0000001241691605.png new file mode 100644 index 000000000..eee1eda08 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001241691605.png differ diff --git a/docs/dcs/umn/en-us_image_0000001256735725.png b/docs/dcs/umn/en-us_image_0000001256735725.png new file mode 100644 index 000000000..780afc2af Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001256735725.png differ diff --git a/docs/dcs/umn/en-us_image_0000001280621500.png b/docs/dcs/umn/en-us_image_0000001280621500.png new file mode 100644 index 000000000..b4a308401 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001280621500.png differ diff --git a/docs/dcs/umn/en-us_image_0000001321666164.png b/docs/dcs/umn/en-us_image_0000001321666164.png new file mode 100644 index 000000000..f7a4774e3 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001321666164.png differ diff --git a/docs/dcs/umn/en-us_image_0000001322339434.png b/docs/dcs/umn/en-us_image_0000001322339434.png new file mode 100644 index 000000000..47e0c26dd Binary files /dev/null and b/docs/dcs/umn/en-us_image_0000001322339434.png differ diff --git a/docs/dcs/umn/en-us_image_0148195246.png b/docs/dcs/umn/en-us_image_0148195246.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0148195246.png differ diff --git a/docs/dcs/umn/en-us_image_0148195318.png b/docs/dcs/umn/en-us_image_0148195318.png new file mode 100644 index 000000000..d15775967 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0148195318.png differ diff --git a/docs/dcs/umn/en-us_image_0227732778.png b/docs/dcs/umn/en-us_image_0227732778.png new file mode 100644 index 000000000..478a5525d Binary files /dev/null and b/docs/dcs/umn/en-us_image_0227732778.png differ diff --git a/docs/dcs/umn/en-us_image_0266235315.png b/docs/dcs/umn/en-us_image_0266235315.png new file mode 100644 index 000000000..75cfb5f4b Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235315.png differ diff --git a/docs/dcs/umn/en-us_image_0266235321.png b/docs/dcs/umn/en-us_image_0266235321.png new file mode 100644 index 000000000..acef64d6b Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235321.png differ diff --git a/docs/dcs/umn/en-us_image_0266235346.png b/docs/dcs/umn/en-us_image_0266235346.png new file mode 100644 index 000000000..a43d2342d Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235346.png differ diff --git a/docs/dcs/umn/en-us_image_0266235352.png b/docs/dcs/umn/en-us_image_0266235352.png new file mode 100644 index 000000000..c1c05d4ea Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235352.png differ diff --git a/docs/dcs/umn/en-us_image_0266235362.png b/docs/dcs/umn/en-us_image_0266235362.png new file mode 100644 index 000000000..0eed9ccf0 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235362.png differ diff --git a/docs/dcs/umn/en-us_image_0266235373.png b/docs/dcs/umn/en-us_image_0266235373.png new file mode 100644 index 000000000..aba6f0676 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235373.png differ diff --git a/docs/dcs/umn/en-us_image_0266235394.png b/docs/dcs/umn/en-us_image_0266235394.png new file mode 100644 index 000000000..19e1df265 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235394.png differ diff --git a/docs/dcs/umn/en-us_image_0266235403.png b/docs/dcs/umn/en-us_image_0266235403.png new file mode 100644 index 000000000..24952ad78 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235403.png differ diff --git a/docs/dcs/umn/en-us_image_0266235405.png b/docs/dcs/umn/en-us_image_0266235405.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235405.png differ diff --git a/docs/dcs/umn/en-us_image_0266235412.png b/docs/dcs/umn/en-us_image_0266235412.png new file mode 100644 index 000000000..1909444d2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235412.png differ diff --git a/docs/dcs/umn/en-us_image_0266235430.png b/docs/dcs/umn/en-us_image_0266235430.png new file mode 100644 index 000000000..f00ca7586 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235430.png differ diff --git a/docs/dcs/umn/en-us_image_0266235441.png b/docs/dcs/umn/en-us_image_0266235441.png new file mode 100644 index 000000000..e519a50eb Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235441.png differ diff --git a/docs/dcs/umn/en-us_image_0266235448.png b/docs/dcs/umn/en-us_image_0266235448.png new file mode 100644 index 000000000..2afed1995 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235448.png differ diff --git a/docs/dcs/umn/en-us_image_0266235461.jpg b/docs/dcs/umn/en-us_image_0266235461.jpg new file mode 100644 index 000000000..76e70fb74 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235461.jpg differ diff --git a/docs/dcs/umn/en-us_image_0266235508.png b/docs/dcs/umn/en-us_image_0266235508.png new file mode 100644 index 000000000..99460f816 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235508.png differ diff --git a/docs/dcs/umn/en-us_image_0266235565.jpg b/docs/dcs/umn/en-us_image_0266235565.jpg new file mode 100644 index 000000000..30be5760a Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235565.jpg differ diff --git a/docs/dcs/umn/en-us_image_0266235581.jpg b/docs/dcs/umn/en-us_image_0266235581.jpg new file mode 100644 index 000000000..a386f234f Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235581.jpg differ diff --git a/docs/dcs/umn/en-us_image_0266235582.png b/docs/dcs/umn/en-us_image_0266235582.png new file mode 100644 index 000000000..0eed9ccf0 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266235582.png differ diff --git a/docs/dcs/umn/en-us_image_0266315615.png b/docs/dcs/umn/en-us_image_0266315615.png new file mode 100644 index 000000000..eaf138838 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266315615.png differ diff --git a/docs/dcs/umn/en-us_image_0266315616.png b/docs/dcs/umn/en-us_image_0266315616.png new file mode 100644 index 000000000..9a8b78f3d Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266315616.png differ diff --git a/docs/dcs/umn/en-us_image_0266315617.png b/docs/dcs/umn/en-us_image_0266315617.png new file mode 100644 index 000000000..6a22ba65a Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266315617.png differ diff --git a/docs/dcs/umn/en-us_image_0266315618.png b/docs/dcs/umn/en-us_image_0266315618.png new file mode 100644 index 000000000..a223f3735 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266315618.png differ diff --git a/docs/dcs/umn/en-us_image_0266315619.png b/docs/dcs/umn/en-us_image_0266315619.png new file mode 100644 index 000000000..7a0824de2 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266315619.png differ diff --git a/docs/dcs/umn/en-us_image_0266316213.png b/docs/dcs/umn/en-us_image_0266316213.png new file mode 100644 index 000000000..eee7b7192 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266316213.png differ diff --git a/docs/dcs/umn/en-us_image_0266316214.jpg b/docs/dcs/umn/en-us_image_0266316214.jpg new file mode 100644 index 000000000..be126924e Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266316214.jpg differ diff --git a/docs/dcs/umn/en-us_image_0266322522.jpg b/docs/dcs/umn/en-us_image_0266322522.jpg new file mode 100644 index 000000000..faa63bac6 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266322522.jpg differ diff --git a/docs/dcs/umn/en-us_image_0266322523.png b/docs/dcs/umn/en-us_image_0266322523.png new file mode 100644 index 000000000..1536f73ee Binary files /dev/null and b/docs/dcs/umn/en-us_image_0266322523.png differ diff --git a/docs/dcs/umn/en-us_image_0270432745.png b/docs/dcs/umn/en-us_image_0270432745.png new file mode 100644 index 000000000..464ba6868 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0270432745.png differ diff --git a/docs/dcs/umn/en-us_image_0277578727.png b/docs/dcs/umn/en-us_image_0277578727.png new file mode 100644 index 000000000..7a1e280b4 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0277578727.png differ diff --git a/docs/dcs/umn/en-us_image_0277697231.png b/docs/dcs/umn/en-us_image_0277697231.png new file mode 100644 index 000000000..cc0f8af73 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0277697231.png differ diff --git a/docs/dcs/umn/en-us_image_0277697263.png b/docs/dcs/umn/en-us_image_0277697263.png new file mode 100644 index 000000000..b563af673 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0277697263.png differ diff --git a/docs/dcs/umn/en-us_image_0277837533.png b/docs/dcs/umn/en-us_image_0277837533.png new file mode 100644 index 000000000..d9ca4cd01 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0277837533.png differ diff --git a/docs/dcs/umn/en-us_image_0281049655.png b/docs/dcs/umn/en-us_image_0281049655.png new file mode 100644 index 000000000..aa141e3bd Binary files /dev/null and b/docs/dcs/umn/en-us_image_0281049655.png differ diff --git a/docs/dcs/umn/en-us_image_0296784660.png b/docs/dcs/umn/en-us_image_0296784660.png new file mode 100644 index 000000000..842ce3a52 Binary files /dev/null and b/docs/dcs/umn/en-us_image_0296784660.png differ diff --git a/docs/dcs/umn/en-us_image_0296786164.png b/docs/dcs/umn/en-us_image_0296786164.png new file mode 100644 index 000000000..0b64d918f Binary files /dev/null and b/docs/dcs/umn/en-us_image_0296786164.png differ diff --git a/docs/dcs/umn/en-us_image_0296786822.png b/docs/dcs/umn/en-us_image_0296786822.png new file mode 100644 index 000000000..c16d404fa Binary files /dev/null and b/docs/dcs/umn/en-us_image_0296786822.png differ diff --git a/docs/dcs/umn/en-us_topic_0054235826.html b/docs/dcs/umn/en-us_topic_0054235826.html new file mode 100644 index 000000000..9420434de --- /dev/null +++ b/docs/dcs/umn/en-us_topic_0054235826.html @@ -0,0 +1,54 @@ + + +

What Is DCS?

+

Distributed Cache Service (DCS) is an online, distributed, 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.

+ +

DCS for Redis

Redis is a storage system that supports multiple types of data structures, including key-value pairs. It can be used in such scenarios as data caching, event publication/subscription, and high-speed queuing, as described in Application Scenarios. Redis is written in ANSI C, supporting direct read/write of strings, hashes, lists, sets, streams, and sorted sets. Redis works with an in-memory dataset which can be persisted on disk.

+

DCS Redis instances can be customized based on your requirements.

+ +
+ + + + + + + + + + + + + + + +
Table 1 DCS Redis instance configuration

Instance type

+

DCS for Redis provides the following three types of instances to suit different service scenarios:

+

Single-node: Suitable for caching temporary data in low reliability scenarios. Single-node instances support highly concurrent read/write operations, but do not support data persistence. Data will be deleted after instances are restarted.

+

Master/Standby: Each master/standby instance runs on two nodes (one master and one standby). The standby node replicates data synchronously from the master node. If the master node fails, the standby node automatically becomes the master node.

+

Cluster: Each cluster DCS instance consists of multiple shards and each shard includes a master node and zero or multiple replicas. Shards are not visible to users. If the master node fails, a standby node in the same shard takes over.

+

Instance specification

+

DCS for Redis provides instances of different specifications, ranging from 128 MB to 1024 GB.

+

Redis version

+

DCS instances are compatible with open-source Redis 3.0, 4.0, and 5.0.

+

Underlying architecture

+

Standard Redis based on VMs: supports up to 100,000 queries per second (QPS) at a single node.

+

High availability (HA) and DR

+

Master/standby and cluster DCS Redis instances can be deployed across AZs in the same region with physically isolated power supplies and networks.

+
+
+

For more information about open-source Redis, visit https://redis.io/.

+
+
+
+ +
diff --git a/docs/dcs/umn/en-us_topic_0054235835.html b/docs/dcs/umn/en-us_topic_0054235835.html new file mode 100644 index 000000000..e964d7b77 --- /dev/null +++ b/docs/dcs/umn/en-us_topic_0054235835.html @@ -0,0 +1,16 @@ + + +

DCS Instance Specifications

+
+
+ + + +
diff --git a/docs/dcs/umn/en-us_topic_0054235836.html b/docs/dcs/umn/en-us_topic_0054235836.html new file mode 100644 index 000000000..c60a8c3f2 --- /dev/null +++ b/docs/dcs/umn/en-us_topic_0054235836.html @@ -0,0 +1,20 @@ + + + +

Accessing DCS

+ +

+
+ +
+ + + +
diff --git a/docs/dcs/umn/en-us_topic_0054235837.html b/docs/dcs/umn/en-us_topic_0054235837.html new file mode 100644 index 000000000..d2bf1c00b --- /dev/null +++ b/docs/dcs/umn/en-us_topic_0054235837.html @@ -0,0 +1,13 @@ + + +

How to Access DCS

+

There are two ways to access DCS:

+ +
+
+ +
diff --git a/docs/dcs/umn/en-us_topic_0054247786.html b/docs/dcs/umn/en-us_topic_0054247786.html new file mode 100644 index 000000000..a1f1a8c80 --- /dev/null +++ b/docs/dcs/umn/en-us_topic_0054247786.html @@ -0,0 +1,13 @@ + + +

User Permissions

+

The public cloud system provides two types of user permissions by default: user management and resource management.

+

User management refers to the management of users, user groups, and user group rights.

+

Resource management refers to the control operations that can be performed by users on cloud service resources.

+

For details, see Permissions.

+
+
+ +
diff --git a/docs/dcs/umn/en-us_topic_0072429345.html b/docs/dcs/umn/en-us_topic_0072429345.html new file mode 100644 index 000000000..c4dd273f0 --- /dev/null +++ b/docs/dcs/umn/en-us_topic_0072429345.html @@ -0,0 +1,5 @@ + + +

Glossary

+

For details about the terms involved in this document, see Glossary.

+
diff --git a/docs/dcs/umn/en-us_topic_0079835992.html b/docs/dcs/umn/en-us_topic_0079835992.html new file mode 100644 index 000000000..7690bec58 --- /dev/null +++ b/docs/dcs/umn/en-us_topic_0079835992.html @@ -0,0 +1,41 @@ + + +

Overview

+

On the DCS console, you can back up and restore DCS instances.

+

Importance of DCS Instance Backup

There is a small chance that inconsistent data could exist in a DCS instance owing to service system exceptions or problems in loading data from persistence files. In addition, some systems demand not only high reliability but also data security, data restoration, and even permanent data storage.

+

Currently, data in DCS instances can be backed up to OBS. If a DCS instance becomes faulty, data in the instance can be restored from backup so that service continuity is not affected.

+
+

Backup Modes

DCS instances support the following backup modes:

+ +
+

Additional Information About Data Backup

+
+

Data Restoration

+
+
+
+ +
diff --git a/docs/dcs/umn/en-us_topic_0090662012.html b/docs/dcs/umn/en-us_topic_0090662012.html new file mode 100644 index 000000000..ba0f92913 --- /dev/null +++ b/docs/dcs/umn/en-us_topic_0090662012.html @@ -0,0 +1,25 @@ + + +

Security Group Configurations

+

DCS Redis 3.0/4.0/5.0 instances are deployed in different modes. Therefore, the access control method varies.

+ +

This section describes how to configure a security group for accessing a DCS instance within a VPC.

+

Intra-VPC Access to DCS Redis 3.0 Instances

An ECS can communicate with a DCS instance if they belong to the same VPC and security group rules are configured correctly.

+

In addition, you must configure correct rules for the security groups of both the ECS and DCS instance so that you can access the instance through your client.

+ +
+
+
+ +
diff --git a/docs/dcs/umn/en-us_topic_0100698850.html b/docs/dcs/umn/en-us_topic_0100698850.html new file mode 100644 index 000000000..d92e3a224 --- /dev/null +++ b/docs/dcs/umn/en-us_topic_0100698850.html @@ -0,0 +1,41 @@ + + +

Does DCS Support Cross-VPC Access?

+

Cross-VPC means the client and the instance are not in the same VPC.

+

Generally, VPCs are isolated from each other and ECSs cannot access DCS instances that belong to a different VPC from these ECSs.

+

However, by establishing VPC peering connections between VPCs, ECSs can access single-node and master/standby DCS instances across VPCs.

+
When using VPC peering connections to access DCS instances across VPCs, adhere to the rules listed in the following table. +
+ + + + + + + + + + +
Table 1 Client CIDR block constraints

CIDR Blocks of DCS Instances

+

CIDR Blocks Not Allowed for Clients

+

172.16.0.0/12 to 172.16.0.0/24

+

192.168.1.0/24

+

192.168.2.0/24

+

192.168.3.0/24

+

192.168.0.0/16 to 192.168.0.0/24

+

10.0.0.0/8 to 10.0.0.0/24

+

172.31.1.0/24

+

172.31.2.0/24

+

172.31.3.0/24

+
+
+
+

For more information about VPC peering connection, see "VPC Peering Connection" in the Virtual Private Cloud User Guide.

+

Cluster DCS Redis instances do not support cross-VPC access. ECSs in a VPC cannot access cluster DCS instances in another VPC by using VPC peering connections.

+
+
+
+ +
diff --git a/docs/dcs/umn/public_sys-resources/ExpandCollapse.js b/docs/dcs/umn/public_sys-resources/ExpandCollapse.js new file mode 100644 index 000000000..116ddaabf --- /dev/null +++ b/docs/dcs/umn/public_sys-resources/ExpandCollapse.js @@ -0,0 +1 @@ +var expandClassName="dropdownexpand";var collapseClassName="dropdowncollapse";var collapseTableClassName="dropdowncollapsetable";function ExpandorCollapseNode(a){a=a.parentNode;if(a.className==expandClassName){a.className=collapseClassName}else{a.className=expandClassName}}function ExpandorCollapseTableNode(a){a=a.parentNode;if(a.className==expandClassName){a.className=collapseTableClassName}else{a.className=expandClassName}}function ExpandorCollapseAllNodes(g,h,c){var a=g.getAttribute("title");var b=g.parentNode;if(a=="collapse"){g.setAttribute("title","expand");g.className="dropdownAllButtonexpand";g.innerHTML=h}else{g.setAttribute("title","collapse");g.className="dropdownAllButtoncollapse";g.innerHTML=c}var f=b.getElementsByTagName("*");for(var d=0;d-1){ExpandForHref(a.substring(a.lastIndexOf("#")+1))}}catch(c){}}; \ No newline at end of file diff --git a/docs/dcs/umn/public_sys-resources/caution_3.0-en-us.png b/docs/dcs/umn/public_sys-resources/caution_3.0-en-us.png new file mode 100644 index 000000000..60f607621 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/caution_3.0-en-us.png differ diff --git a/docs/dcs/umn/public_sys-resources/commonltr.css b/docs/dcs/umn/public_sys-resources/commonltr.css new file mode 100644 index 000000000..c5480b0ab --- /dev/null +++ b/docs/dcs/umn/public_sys-resources/commonltr.css @@ -0,0 +1 @@ +body{font-size:10pt;font-family:Arial;margin:1.5em;border-top:2pt;padding-top:1em;padding-bottom:2em}.msgph{font-family:Courier New}.rowlinecopyright{color:red;margin-top:10pt}.unresolved{background-color:skyblue}.noTemplate{background-color:yellow}.base{background-color:#fff}.nested0{margin-top:1em}.p{margin-top:.6em;margin-bottom:.6em}p{margin-top:.5em;margin-bottom:.5em}.note p{margin-top:.5em;margin-bottom:.5em}.tip p{margin-top:.5em;margin-bottom:.5em}.danger p{margin-top:.5em;margin-bottom:.5em}.notice p{margin-top:.5em;margin-bottom:.5em}.warning p{margin-top:.5em;margin-bottom:.5em}.caution p{margin-top:.5em;margin-bottom:.5em}.attention p{margin-top:.5em;margin-bottom:.5em}table p{margin-top:.2em;margin-bottom:.2em}table .p{margin-top:.4em;margin-bottom:.2em}.figcap{font-size:10pt}img{margin-top:.3em}.figdesc{font-style:normal}.figborder{border-style:solid;padding-left:3px;border-width:2px;padding-right:3px;margin-top:1em;border-color:Silver}.figsides{border-left:2px solid;padding-left:3px;border-right:2px solid;padding-right:3px;margin-top:1em;border-color:Silver}.figtop{border-top:2px solid;margin-top:1em;border-color:Silver}.figbottom{border-bottom:2px solid;border-color:Silver}.figtopbot{border-top:2px solid;border-bottom:2px solid;margin-top:1em;border-color:Silver}.fignone{font-size:10pt;margin-top:8pt;margin-bottom:8pt}.familylinks{margin-top:1.5em;margin-bottom:1em}.ullinks{list-style-type:none}.linklist{margin-bottom:1em}.linklistwithchild{margin-left:1.5em;margin-bottom:1em}.sublinklist{margin-left:1.5em;margin-bottom:1em}.relconcepts{margin-top:.6em;margin-bottom:.6em}.reltasks{margin-top:.6em;margin-bottom:.6em}.relref{margin-top:.6em;margin-bottom:.6em}.relinfo{margin-top:.6em;margin-bottom:.6em}.breadcrumb{font-size:smaller;margin-bottom:.6em}.prereq{margin-left:20px}.parentlink{margin-top:.6em;margin-bottom:.6em}.nextlink{margin-top:.6em;margin-bottom:.6em}.previouslink{margin-top:.6em;margin-bottom:.6em}.topictitle1{margin-top:0;margin-bottom:1em;font-size:14pt;color:#007af4}.topictitle2{margin-top:1pc;margin-bottom:.45em;font-size:1.17em;color:#007af4}.topictitle3{margin-top:1pc;margin-bottom:.17em;font-size:1.17em;font-weight:bold;color:#007af4}.topictitle4{margin-top:.83em;font-size:1.17em;font-weight:bold}.topictitle5{font-size:1.17em;font-weight:bold}.topictitle6{font-size:1.17em;font-style:italic}.sectiontitle{margin-top:1em;margin-bottom:1em;color:black;font-size:10.5pt;font-weight:bold;color:#007af4;overflow:auto}.section{margin-top:1em;margin-bottom:1em}.example{margin-top:1em;margin-bottom:1em}.sectiontitle2contents:link{color:#007af4}.sectiontitle2contents:visited{color:#800080}.note{margin-top:1em;margin-bottom:1em;background-color:#ffc}.notetitle{font-weight:bold}.notelisttitle{font-weight:bold}.tip{margin-top:1em;margin-bottom:1em;background-color:#ffc}.tiptitle{font-weight:bold}.fastpath{margin-top:1em;margin-bottom:1em;background-color:#ffc}.fastpathtitle{font-weight:bold}.important{margin-top:1em;margin-bottom:1em;background-color:#ffc}.importanttitle{font-weight:bold}.remember{margin-top:1em;margin-bottom:1em;background-color:#ffc}.remembertitle{font-weight:bold}.restriction{margin-top:1em;margin-bottom:1em;background-color:#ffc}.restrictiontitle{font-weight:bold}.attention{margin-top:1em;margin-bottom:1em;background-color:#ffc}.attentiontitle{font-weight:bold}.dangertitle{font-weight:bold}.danger{margin-top:1em;margin-bottom:1em;background-color:#ffc}.noticetitle{font-weight:bold}.notice{margin-top:1em;margin-bottom:1em;background-color:#ffc}.warningtitle{font-weight:bold}.warning{margin-top:1em;margin-bottom:1em;background-color:#ffc}.cautiontitle{font-weight:bold}.caution{margin-top:1em;margin-bottom:1em;background-color:#ffc}ul.simple{list-style-type:none}li ul{margin-top:.6em}li{margin-top:.6em;margin-bottom:.6em}.note li{margin-top:.2em;margin-bottom:.2em}.tip li{margin-top:.2em;margin-bottom:.2em}.danger li{margin-top:.2em;margin-bottom:.2em}.warning li{margin-top:.2em;margin-bottom:.2em}.notice li{margin-top:.2em;margin-bottom:.2em}.caution li{margin-top:.2em;margin-bottom:.2em}.attention li{margin-top:.2em;margin-bottom:.2em}table li{margin-top:.2em;margin-bottom:.2em}ol{margin-top:1em;margin-bottom:1em;margin-left:2.4em;padding-left:0}ul{margin-top:1em;margin-bottom:1em;margin-left:2.0em;padding-left:0}ol ul{list-style:disc}ul ul{list-style:square}ol ul ul{list-style:square}ol ul{list-style-type:disc}table ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}table ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ul{margin-top:.4em;margin-bottom:.4em;list-style:square}table ol ol{margin-top:.4em;margin-bottom:.4em;list-style:lower-alpha}table ol ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}.substepthirdol{list-style-type:lower-roman}.firstcol{font-weight:bold}th{background-color:#cfcfcf}table{margin-top:8pt;margin-bottom:12pt;width:100%}table caption{margin-top:8pt;text-align:left}.bold{font-weight:bold}.boldItalic{font-weight:bold;font-style:italic}.italic{font-style:italic}.underlined{text-decoration:underline}.var{font-style:italic}.shortcut{text-decoration:underline}.dlterm{font-weight:bold}dd{margin-top:.5em;margin-bottom:.5em}.dltermexpand{font-weight:bold;margin-top:1em}*[compact="yes"]>li{margin-top:0}*[compact="no"]>li{margin-top:.53em}.liexpand{margin-top:1em;margin-bottom:1em}.sliexpand{margin-top:1em;margin-bottom:1em}.dlexpand{margin-top:1em;margin-bottom:1em}.ddexpand{margin-top:1em;margin-bottom:1em}.stepexpand{margin-top:.3em;margin-bottom:.3em}.substepexpand{margin-top:.3em;margin-bottom:.3em}div.imageleft{text-align:left}div.imagecenter{text-align:center}div.imageright{text-align:right}div.imagejustify{text-align:justify}div.noblankline{text-align:center}div.noblankline img{margin-top:0}pre.screen{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;background-color:#ddd;white-space:pre}pre.codeblock{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;background-color:#ddd;white-space:pre}.hrcopyright{color:#3f4e5d;margin-top:18pt}.hwcopyright{text-align:center}.comment{margin:2px 2px 2px 2px;font-family:Arial;font-size:10pt;background-color:#bfb;color:#000}.dropdownAllButtonexpand{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}.dropdownAllButtoncollapse{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;text-decoration:underline;color:#007af4}.dropdowntitle{background-repeat:no-repeat;background-position:0 4px;padding-left:15px;cursor:pointer;text-decoration:underline;color:#007af4}.dropdownexpand .dropdowntitle{background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.dropdowncollapse .dropdowncontext{display:none}.dropdowncollapse .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}.dropdowncollapsetable{border:0}.dropdowncollapsetable .dropdowncontext{display:none}.dropdowncollapsetable .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}pre{font-size:10pt;font-weight:normal;margin-left:9;margin-top:2;margin-bottom:2}.termcolor{color:blue;cursor:pointer}#dhtmlgoodies_tooltip{background-color:#f0f0d2;border:1px solid #000;position:absolute;display:none;z-index:20000;padding:2px;font-size:.9em;-moz-border-radius:6px;font-family:"Trebuchet MS","Lucida Sans Unicode",Arial,sans-serif}#dhtmlgoodies_tooltipShadow{position:absolute;background-color:#555;display:none;z-index:10000;opacity:.7;filter:alpha(opacity=70);-khtml-opacity:.7;-moz-opacity:.7;-moz-border-radius:6px}.freeze{position:fixed;_position:absolute;_top:expression(eval(document.documentElement.scrollTop));left:10;top:0} \ No newline at end of file diff --git a/docs/dcs/umn/public_sys-resources/commonltr_print.css b/docs/dcs/umn/public_sys-resources/commonltr_print.css new file mode 100644 index 000000000..a59823141 --- /dev/null +++ b/docs/dcs/umn/public_sys-resources/commonltr_print.css @@ -0,0 +1 @@ +body{font-size:12.0pt;margin:1.5em;margin-left:1.6cm}.msgph{font-family:Courier New}.rowlinecopyright{color:red;margin-top:10pt}.unresolved{background-color:skyblue}.noTemplate{background-color:yellow}.base{background-color:#fff}.nested0{margin-top:1em}.p{margin-top:1em}p{margin-top:.5em;margin-bottom:.5em}.note p{margin-top:.5em;margin-bottom:.5em}.tip p{margin-top:.5em;margin-bottom:.5em}.danger p{margin-top:.5em;margin-bottom:.5em}.warning p{margin-top:.5em;margin-bottom:.5em}.notice p{margin-top:.5em;margin-bottom:.5em}.caution p{margin-top:.5em;margin-bottom:.5em}.attention p{margin-top:.5em;margin-bottom:.5em}table p{margin-top:.2em;margin-bottom:.2em}table .p{margin-top:.4em;margin-bottom:.2em}.covertable{border:0;width:100% cellpadding:8pt;cellspacing:8pt}.cover_productname{font-size:15.0pt;font-family:"Arial"}.cover_manualtitle{font-size:24.0pt;font-weight:bold;font-family:"Arial"}.cover_manualsubtitle{font-size:18.0pt;font-weight:bold;font-family:"Arial"}.cover_heading{font-size:12.0pt;font-weight:bold;font-family:"Arial"}.cover_text{font-size:9.0pt;font-family:"Arial"}.tocheading,.heading1,.topictitle1{margin-top:40.0pt;margin-right:0;margin-bottom:20.0pt;margin-left:-1cm;text-align:left;border:0;border-bottom:solid windowtext .5pt;font-size:22.0pt;font-family:"Arial";font-weight:bold}.topictitlenumber1{font-size:72.0pt;font-family:"Book Antiqua";font-weight:bold}.topictitle2{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:-1cm;text-indent:0;font-size:18.0pt;font-family:"Arial";font-weight:bold}.topictitle3{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:0;text-indent:0;font-size:16.0pt;font-family:"Book Antiqua";font-weight:bold}.topictitle4{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:0;text-indent:0;font-size:14.0pt;font-family:"Book Antiqua";font-weight:bold}.topictitle5{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:0;text-indent:0;font-size:13.0pt;font-family:"Book Antiqua";font-weight:bold}.blocklabel,.topictitle6{margin-top:15.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;text-indent:0;font-size:13.0pt;font-family:"Book Antiqua";font-weight:bold}.sectiontitle{margin-top:15.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:-1cm;text-indent:0;font-size:13.0pt;font-family:"Arial";font-weight:bold}.tocentry1{margin-top:8.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:12.0pt;font-family:"Book Antiqua";font-weight:bold}.tocentry2{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tocentry3{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tocentry4{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tocentry5{margin-top:4.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman"}.tofentry1{margin-top:8.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman";font-weight:normal}.totentry1{margin-top:8.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;line-height:12.0pt;font-size:11.0pt;font-family:"Times New Roman";font-weight:normal}.indexheading{margin-top:15.0pt;margin-right:0;margin-bottom:4.0pt;margin-left:0;text-indent:0;font-size:13.0pt;font-family:"Book Antiqua";font-weight:bold}.indexentry1{margin-top:4pt;margin-right:0;margin-bottom:0;margin-left:0;line-height:12.0pt;font-size:12.0pt;font-family:"Times New Roman"}.indexentry2{margin-top:0;margin-right:0;margin-bottom:0;margin-left:24.0pt;line-height:12.0pt;font-size:12.0pt}.indexentry3{margin-top:0;margin-right:0;margin-bottom:0;margin-left:48pt;line-height:12.0pt;font-size:12.0pt}.figurenumber{font-weight:bold}.tablenumber{font-weight:bold}.familylinks{margin-top:1.5em;margin-bottom:1em}.figcap{font-size:11.0pt}.tablecap{font-size:11.0pt}.figdesc{font-style:normal}.fignone{margin-top:8.0pt}.figborder{border-style:solid;padding-left:3px;border-width:2px;padding-right:3px;margin-top:1em;border-color:Silver}.figsides{border-left:2px solid;padding-left:3px;border-right:2px solid;padding-right:3px;margin-top:1em;border-color:Silver}.figtop{border-top:2px solid;margin-top:1em;border-color:Silver}.figbottom{border-bottom:2px solid;border-color:Silver}.figtopbot{border-top:2px solid;border-bottom:2px solid;margin-top:1em;border-color:Silver}.ullinks{margin-left:0;list-style-type:none}.ulchildlink{margin-top:1em;margin-bottom:1em}.olchildlink{margin-top:1em;margin-bottom:1em;margin-left:1em}.linklist{margin-bottom:1em}.linklistwithchild{margin-left:1.5em;margin-bottom:1em}.sublinklist{margin-left:1.5em;margin-bottom:1em}.relconcepts{margin-left:1cm;margin-top:1em;margin-bottom:1em}.reltasks{margin-left:1cm;margin-top:1em;margin-bottom:1em}.relref{margin-left:1cm;margin-top:1em;margin-bottom:1em}.relinfo{margin-top:1em;margin-bottom:1em}.breadcrumb{font-size:smaller;margin-bottom:1em}.prereq{margin-left:0}.parentlink{margin-top:.6em;margin-bottom:.6em}.nextlink{margin-top:.6em;margin-bottom:.6em}.previouslink{margin-top:.6em;margin-bottom:.6em}.section{margin-top:1em;margin-bottom:1em}.example{margin-top:1em;margin-bottom:1em}table .note{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.note{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.notetitle{font-weight:bold;font-size:11.0pt}.notelisttitle{font-weight:bold}table .tip{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.tip{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.tiptitle{font-weight:bold;font-size:11.0pt}table .fastpath{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.fastpath{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.fastpathtitle{font-weight:bold;font-size:11.0pt}table .important{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman";font-style:italic}.important{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.importanttitle{font-weight:bold;font-size:11.0pt}table .remember{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman";font-style:italic}.remember{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.remembertitle{font-weight:bold;font-size:11.0pt}table .restriction{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman";font-style:italic}.restriction{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;border-top:solid .5pt;border-bottom:solid .5pt}.restrictiontitle{font-weight:bold;font-size:11.0pt}table .attention{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.attention{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}.attentiontitle{font-weight:bold}table .danger{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.dangertitle{font-weight:bold}.danger{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}table .notice{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.noticetitle{font-weight:bold}.notice{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}table .warning{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}.warningtitle{font-weight:bold}.warning{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}table .caution{margin-top:1em;margin-bottom:1em;border:0;font-size:10.0pt;font-family:"Times New Roman"}table caption{margin-top:8pt;text-align:left;font-weight:bold}.tablenoborder{margin-top:8pt}.cautiontitle{font-weight:bold}.caution{margin-top:1em;margin-bottom:1em;border:0;border-top:solid .5pt;border-bottom:solid .5pt}ul.simple{list-style-type:none}li ul{margin-top:.6em}li{margin-top:.6em;margin-bottom:.6em}.note li{margin-top:.2em;margin-bottom:.2em}.tip li{margin-top:.2em;margin-bottom:.2em}.danger li{margin-top:.2em;margin-bottom:.2em}.warning li{margin-top:.2em;margin-bottom:.2em}.notice li{margin-top:.2em;margin-bottom:.2em}.caution li{margin-top:.2em;margin-bottom:.2em}.attention li{margin-top:.2em;margin-bottom:.2em}table li{margin-top:.2em;margin-bottom:.2em}.firstcol{font-weight:bold}th{background-color:#cfcfcf}.bold{font-weight:bold}.boldItalic{font-weight:bold;font-style:italic}.italic{font-style:italic}.underlined{text-decoration:underline}.var{font-style:italic}.shortcut{text-decoration:underline}.dlterm{font-weight:bold}dd{margin-top:.5em;margin-bottom:.5em}.dltermexpand{font-weight:bold;margin-top:1em}*[compact="yes"]>li{margin-top:0}*[compact="no"]>li{margin-top:.53em}.liexpand{margin-top:1em;margin-bottom:1em}.sliexpand{margin-top:1em;margin-bottom:1em}.dlexpand{margin-top:1em;margin-bottom:1em}.ddexpand{margin-top:1em;margin-bottom:1em}.stepexpand{margin-top:1em;margin-bottom:1em}.substepexpand{margin-top:1em;margin-bottom:1em}table{margin-top:8pt;margin-bottom:10.0pt;width:100%}thead{font-size:10.0pt;font-family:"Book Antiqua";font-weight:bold}tbody{font-size:11.0pt}ol{margin-top:1em;margin-bottom:1em;margin-left:1.7em;-webkit-padding-start:0}ul{margin-top:1em;margin-bottom:1em;margin-left:1.2em;-webkit-padding-start:0}ol ul{list-style:disc}ul ul{list-style:square}ol ol{list-style-type:lower-alpha}table ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}table ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ul{margin-top:.4em;margin-bottom:.4em;list-style:square}table ol ol{margin-top:.4em;margin-bottom:.4em;list-style:lower-alpha}table ol ul{margin-top:.4em;margin-bottom:.4em;list-style:disc}table ul ol{margin-top:.4em;margin-bottom:.4em;list-style:decimal}.substepthirdol{list-style-type:lower-roman}div.imageleft{text-align:left}div.imagecenter{text-align:center}div.imageright{text-align:right}div.imagejustify{text-align:justify}div.noblankline{text-align:center}div.noblankline img{margin-top:0}pre{font-size:10.0pt;border-width:2px;padding:2px;margin-top:5px;margin-bottom:5px;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}pre.screen{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;white-space:pre}pre.codeblock{margin-top:2px;margin-bottom:2px;padding:1.5px 1.5px 0 1.5px;border:0;white-space:pre}.dropdownAllButtonexpand{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4}.dropdownAllButtoncollapse{cursor:pointer;background-repeat:no-repeat;background-position:0 4px;padding-left:15px;background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;text-decoration:underline;color:#007af4}.dropdowntitle{background-repeat:no-repeat;background-position:0 4px;padding-left:15px;cursor:pointer;text-decoration:underline;color:#007af4}.dropdownexpand .dropdowntitle{background-image:url(icon-arrowdn.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.dropdowncollapse .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.dropdowncollapsetable .dropdowntitle{background-image:url(icon-arrowrt.gif);text-decoration:underline;color:#007af4;margin:0 0 8px 0}.prefacesectiontitle1{margin-top:10.0pt;margin-right:0;margin-bottom:8.0pt;margin-left:-1cm;text-indent:0;font-size:18.0pt;font-family:"Book Antiqua";font-weight:bold;overflow:auto}.termcolor{color:blue;cursor:pointer}#dhtmlgoodies_tooltip{background-color:#f0f0d2;border:1px solid #000;position:absolute;display:none;z-index:20000;padding:2px;font-size:.9em;-moz-border-radius:6px;font-family:"Trebuchet MS","Lucida Sans Unicode",Arial,sans-serif}#dhtmlgoodies_tooltipShadow{position:absolute;background-color:#555;display:none;z-index:10000;opacity:.7;filter:alpha(opacity=70);-khtml-opacity:.7;-moz-opacity:.7;-moz-border-radius:6px}.freeze{position:fixed;_position:absolute;_top:expression(eval(document.documentElement.scrollTop));left:10;top:0}.hrcopyright{color:#3f4e5d;margin-top:18pt;margin-left:-1cm}.hwcopyright{text-align:center;font-family:Arial;margin-left:-1cm} \ No newline at end of file diff --git a/docs/dcs/umn/public_sys-resources/commonrtl.css b/docs/dcs/umn/public_sys-resources/commonrtl.css new file mode 100644 index 000000000..f261da752 --- /dev/null +++ b/docs/dcs/umn/public_sys-resources/commonrtl.css @@ -0,0 +1,2 @@ +/*! Copyright (c) Huawei Technologies Co., Ltd. 2020-2022. All rights reserved. */.msgph{font-family:Courier New}.unresolved{background-color:#87ceeb}.noTemplate{background-color:#ff0}.base{background-color:#fff}/*! Add space for top level topics */.nested0,.p{margin-top:1em}/*! div with class=p is used for paragraphs that contain blocks, to keep the XHTML valid *//*! Default of italics to set apart figure captions */.figcap,.italic,.var{font-style:italic}.figdesc{font-style:normal}/*! Use @frame to create frames on figures */.figborder{padding-left:3px;padding-right:3px;margin-top:1em;border:2px solid Silver}.figsides{margin-top:1em;padding-left:3px;padding-right:3px;border-left:2px solid Silver;border-right:2px solid Silver}.figtop{border-top:2px solid Silver;margin-top:1em}.figbottom{border-bottom:2px solid Silver}.figtopbot{border-top:2px solid Silver;border-bottom:2px solid Silver;margin-top:1em}/*! Most link groups are created with
. Ensure they have space before and after. */.ullinks,ul.simple{list-style-type:none}.attention,.danger,.ddexpand,.dlexpand,.example,.fastpath,.important,.liexpand,.linklist,.note,.notice,.olchildlink,.relconcepts,.relinfo,.relref,.reltasks,.remember,.restriction,.section,.sliexpand,.stepexpand,.substepexpand,.tip,.ulchildlink,.warning{margin-top:1em;margin-bottom:1em}.linklistwithchild,.sublinklist{margin-top:1em;margin-right:1.5em;margin-bottom:1em}.breadcrumb{font-size:smaller;margin-bottom:1em}.prereq{margin-right:20px}/*! Set heading sizes, getting smaller for deeper nesting */.topictitle1{font-size:1.34em;margin-top:0;margin-bottom:.1em}.topictitle2,.topictitle3,.topictitle4,.topictitle5,.topictitle6,.sectiontitle{font-size:1.17em}.topictitle2{margin-top:1pc;margin-bottom:.45em}.topictitle3{margin-top:1pc;margin-bottom:.17em;font-weight:700}.topictitle4{margin-top:.83em;font-weight:700}.topictitle5{font-weight:700}.topictitle6{font-style:italic}.sectiontitle{margin-top:1em;margin-bottom:0;color:#000;font-weight:700}/*! All note formats have the same default presentation */.attentiontitle,.bold,.cautiontitle,.dangertitle,.dlterm,.fastpathtitle,.firstcol,.importanttitle,.notelisttitle,.notetitle,.noticetitle,.parmname,.remembertitle,.restrictiontitle,.tiptitle,.uicontrol,.warningtitle{font-weight:700}.caution{font-weight:700;margin-bottom:1em}/*! Simple lists do not get a bullet *//*! Used on the first column of a table, when rowheader="firstcol" is used *//*! Various basic phrase styles */.boldItalic{font-weight:700;font-style:italic}.shortcut,.underlined{text-decoration:underline}/*! 2008-10-27 keyword采用跟随上下文的样式 +*//*! Default of bold for definition list terms *//*! Use CSS to expand lists with @compact="no" */.dltermexpand{font-weight:700;margin-top:1em}[compact="yes"]>li{margin-top:0}[compact="no"]>li{margin-top:.53em}/*! Align images based on @align on topic/image */div.imageleft,.text-align-left{text-align:left}div.imagecenter,.text-align-center{text-align:center}div.imageright,.text-align-right{text-align:right}div.imagejustify,.text-align-justify{text-align:justify}.cellrowborder{border-right:0;border-top:0;border-left:1px solid;border-bottom:1px solid}.row-nocellborder{border-left:hidden;border-right:0;border-top:0;border-bottom:1px solid}.cell-norowborder{border-top:0;border-bottom:hidden;border-right:0;border-left:1px solid}.nocellnorowborder{border:0;border-left:hidden;border-bottom:hidden}pre.codeblock,pre.screen{padding:5px;border:outset;background-color:#ccc;margin-top:2px;margin-bottom:2px;white-space:pre} \ No newline at end of file diff --git a/docs/dcs/umn/public_sys-resources/danger_3.0-en-us.png b/docs/dcs/umn/public_sys-resources/danger_3.0-en-us.png new file mode 100644 index 000000000..47a9c7235 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/danger_3.0-en-us.png differ diff --git a/docs/dcs/umn/public_sys-resources/delta.gif b/docs/dcs/umn/public_sys-resources/delta.gif new file mode 100644 index 000000000..0d1b1f674 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/delta.gif differ diff --git a/docs/dcs/umn/public_sys-resources/deltaend.gif b/docs/dcs/umn/public_sys-resources/deltaend.gif new file mode 100644 index 000000000..cc7da0fc8 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/deltaend.gif differ diff --git a/docs/dcs/umn/public_sys-resources/icon-arrowdn.gif b/docs/dcs/umn/public_sys-resources/icon-arrowdn.gif new file mode 100644 index 000000000..84eec9be2 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/icon-arrowdn.gif differ diff --git a/docs/dcs/umn/public_sys-resources/icon-arrowrt.gif b/docs/dcs/umn/public_sys-resources/icon-arrowrt.gif new file mode 100644 index 000000000..39583d168 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/icon-arrowrt.gif differ diff --git a/docs/dcs/umn/public_sys-resources/icon-caution.gif b/docs/dcs/umn/public_sys-resources/icon-caution.gif new file mode 100644 index 000000000..079c79b26 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/icon-caution.gif differ diff --git a/docs/dcs/umn/public_sys-resources/icon-danger.gif b/docs/dcs/umn/public_sys-resources/icon-danger.gif new file mode 100644 index 000000000..079c79b26 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/icon-danger.gif differ diff --git a/docs/dcs/umn/public_sys-resources/icon-huawei.gif b/docs/dcs/umn/public_sys-resources/icon-huawei.gif new file mode 100644 index 000000000..a31d60f89 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/icon-huawei.gif differ diff --git a/docs/dcs/umn/public_sys-resources/icon-note.gif b/docs/dcs/umn/public_sys-resources/icon-note.gif new file mode 100644 index 000000000..31be2b039 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/icon-note.gif differ diff --git a/docs/dcs/umn/public_sys-resources/icon-notice.gif b/docs/dcs/umn/public_sys-resources/icon-notice.gif new file mode 100644 index 000000000..409070650 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/icon-notice.gif differ diff --git a/docs/dcs/umn/public_sys-resources/icon-tip.gif b/docs/dcs/umn/public_sys-resources/icon-tip.gif new file mode 100644 index 000000000..c47bae05c Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/icon-tip.gif differ diff --git a/docs/dcs/umn/public_sys-resources/icon-warning.gif b/docs/dcs/umn/public_sys-resources/icon-warning.gif new file mode 100644 index 000000000..079c79b26 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/icon-warning.gif differ diff --git a/docs/dcs/umn/public_sys-resources/note_3.0-en-us.png b/docs/dcs/umn/public_sys-resources/note_3.0-en-us.png new file mode 100644 index 000000000..57a0e1f53 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/note_3.0-en-us.png differ diff --git a/docs/dcs/umn/public_sys-resources/notice_3.0-en-us.png b/docs/dcs/umn/public_sys-resources/notice_3.0-en-us.png new file mode 100644 index 000000000..fa4b64990 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/notice_3.0-en-us.png differ diff --git a/docs/dcs/umn/public_sys-resources/popup.js b/docs/dcs/umn/public_sys-resources/popup.js new file mode 100644 index 000000000..a550862ed --- /dev/null +++ b/docs/dcs/umn/public_sys-resources/popup.js @@ -0,0 +1 @@ +var i=0;var dhtmlgoodies_tooltipFlag=false;var dhtmlgoodies_tooltip="";var dhtmlgoodies_tooltipShadow="";var dhtmlgoodies_shadowSize=3;var dhtmlgoodies_tooltipMaxWidth=500;var dhtmlgoodies_tooltipMinWidth=100;var dhtmlgoodies_iframe=false;var timeId;var clickFlag=false;var tooltip_is_msie=(navigator.userAgent.indexOf("MSIE")>=0&&navigator.userAgent.indexOf("opera")==-1&&document.all)?true:false;var xPos;var yPos;window.document.onmousemove=function(a){a=a||window.event;if(a.pageX){xPos=a.pageX;yPos=a.pageY}else{if(document.body!==null&&typeof document.body!=="undefined"){xPos=a.clientX+document.body.scrollLeft-document.body.clientLeft;yPos=a.clientY+document.body.scrollTop-document.body.clientTop}}};function showTooltip(e){if(document.body===null||typeof document.body==="undefined"){return}if(i==0){return}clickFlag=true;var f=Json.parse("jsonData."+e);var a=Math.max(document.body.clientWidth,document.documentElement.clientWidth)-20;if(!dhtmlgoodies_tooltipFlag){dhtmlgoodies_tooltip=document.createElement("DIV");dhtmlgoodies_tooltip.id="dhtmlgoodies_tooltip";dhtmlgoodies_tooltipShadow=document.createElement("DIV");dhtmlgoodies_tooltipShadow.id="dhtmlgoodies_tooltipShadow";document.body.appendChild(dhtmlgoodies_tooltip);document.body.appendChild(dhtmlgoodies_tooltipShadow);if(tooltip_is_msie){dhtmlgoodies_iframe=document.createElement("IFRAME");dhtmlgoodies_iframe.frameborder="5";dhtmlgoodies_iframe.style.backgroundColor="#FFFFFF";dhtmlgoodies_iframe.src="#";dhtmlgoodies_iframe.style.zIndex=100;dhtmlgoodies_iframe.style.position="absolute";document.body.appendChild(dhtmlgoodies_iframe)}}dhtmlgoodies_tooltip.style.display="block";dhtmlgoodies_tooltipShadow.style.display="block";if(tooltip_is_msie){dhtmlgoodies_iframe.style.display="block"}var b=Math.max(document.body.scrollTop,document.documentElement.scrollTop);if(navigator.userAgent.toLowerCase().indexOf("safari")>=0){b=0}var c=xPos+10;dhtmlgoodies_tooltip.style.width=null;dhtmlgoodies_tooltip.innerHTML=f;dhtmlgoodies_tooltip.style.left=c+"px";if(tooltip_is_msie){dhtmlgoodies_tooltip.style.top=yPos+20+b+"px"}else{dhtmlgoodies_tooltip.style.top=yPos+20+"px"}dhtmlgoodies_tooltipShadow.style.left=c+dhtmlgoodies_shadowSize+"px";if(tooltip_is_msie){dhtmlgoodies_tooltipShadow.style.top=yPos+20+b+dhtmlgoodies_shadowSize+"px"}else{dhtmlgoodies_tooltipShadow.style.top=yPos+20+dhtmlgoodies_shadowSize+"px"}if(dhtmlgoodies_tooltip.offsetWidth>dhtmlgoodies_tooltipMaxWidth){dhtmlgoodies_tooltip.style.width=dhtmlgoodies_tooltipMaxWidth+"px"}var d=dhtmlgoodies_tooltip.offsetWidth;if(da){dhtmlgoodies_tooltip.style.left=(dhtmlgoodies_tooltipShadow.style.left.replace("px","")-((c+d)-a))+"px";dhtmlgoodies_tooltipShadow.style.left=(dhtmlgoodies_tooltipShadow.style.left.replace("px","")-((c+d)-a)+dhtmlgoodies_shadowSize)+"px"}if(tooltip_is_msie){dhtmlgoodies_iframe.style.left=dhtmlgoodies_tooltip.style.left;dhtmlgoodies_iframe.style.top=dhtmlgoodies_tooltip.style.top;dhtmlgoodies_iframe.style.width=dhtmlgoodies_tooltip.offsetWidth+"px";dhtmlgoodies_iframe.style.height=dhtmlgoodies_tooltip.offsetHeight+"px"}}function hideTooltip(){i=0;clickFlag=false;if((dhtmlgoodies_tooltip!==null&&typeof dhtmlgoodies_tooltip!=="undefined")&&+(dhtmlgoodies_tooltip.style!==null&&typeof dhtmlgoodies_tooltip.style!=="undefined")){dhtmlgoodies_tooltip.style.display="none";dhtmlgoodies_tooltipShadow.style.display="none";if(tooltip_is_msie){dhtmlgoodies_iframe.style.display="none"}}if(timeId!==null&&typeof timeId!=="undefined"&&timeId!=""){clearTimeout(timeId)}}function showText(a){i=1;timeId=setTimeout(function(){showTooltip(a)},500)}function showText2(a){if(!clickFlag){i=1;showTooltip(a);i=0;if(timeId!==null&&typeof timeId!=="undefined"&&timeId!=""){clearTimeout(timeId)}}}function anchorScroll(b){var d=document.getElementsByName(b);if(d!=null&&d.length>0){var c=d[0];var a=c.getBoundingClientRect().left+(document.body.scrollLeft||(document.documentElement&&document.documentElement.scrollLeft));var e=c.getBoundingClientRect().top+(document.body.scrollTop||(document.documentElement&&document.documentElement.scrollTop));window.scrollTo(a,e-30)}}; \ No newline at end of file diff --git a/docs/dcs/umn/public_sys-resources/warning_3.0-en-us.png b/docs/dcs/umn/public_sys-resources/warning_3.0-en-us.png new file mode 100644 index 000000000..def5c3565 Binary files /dev/null and b/docs/dcs/umn/public_sys-resources/warning_3.0-en-us.png differ