检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
秒 如果希望系统不会经常对连接进行断链重建,此处可以配置一个较大值(xx分钟),或者此处配置为-1并且搭配空闲连接检测进行定期检测。 timeBetweenEvictionRunsMillis 空闲连接探测时间间隔,单位:毫秒 根据系统的空闲连接数量进行估算,例如系统的空闲连接探
dcs.v2.model.*; public class ShowConfigHistoryDetailSolution { public static void main(String[] args) { // The AK and SK used for
具体步骤请参见查看和修改DCS实例基本信息。 登录弹性云服务器。 本章节以弹性云服务器操作系统为centos为例介绍通过C++ redis客户端连接实例。 安装gcc、make和hiredis。 如果系统没有自带编译环境,可以使用yum方式安装。 yum install gcc make
重置新密码,请参考重置缓存实例密码。 实例密码安全使用建议 redis-cli连接时隐藏密码。 Linux操作系统中,如果对redis-cli指定-a选项并携带密码,则在系统日志以及history记录中会保留密码信息,容易被他人获取。建议执行redis-cli命令时不指定-a选项
dcs.v2.model.*; public class ShowInstanceSslDetailSolution { public static void main(String[] args) { // The AK and SK used for
AM用户被授予的策略中必须包含允许“dcs:servers:list”的授权项,该接口才能调用成功。 支持的授权项 策略包含系统策略和自定义策略,如果系统策略不满足授权要求,管理员可以创建自定义策略,并通过给用户组授予自定义策略来进行精细的访问控制。策略支持的操作与API相对应,授权项列表说明如下:
下载DCS实例备份文件 由于自动备份和手动备份实例有一定的限制性(自动备份的文件在系统最大保留天数为7天,手动备份会占用OBS空间),您可将实例的rdb和aof备份文件下载,本地永久保存。 当前仅支持将主备、读写分离、或者集群实例的备份文件下载,单机实例不支持备份恢复功能。单机实
与在线迁移相比,离线迁移适用于源实例与目标实例的网络无法连通的场景,或者源端实例部署在其他云厂商Redis服务中,无法实现在线迁移。 本文以Linux系统环境为例,介绍如何使用RedisShake工具进行Cluster集群数据离线迁移。 约束与限制 开启了SSL的目标实例不支持数据迁移,需要
progress Integer 总体进度,单位:%。 remain_time Integer 剩余时间,单位:秒。 step_details Array of StepDetail objects 任务详情列表。 表3 StepDetail 参数 参数类型 描述 step_id String
dcs.v2.model.*; public class ShowDiagnosisTaskDetailsSolution { public static void main(String[] args) { // The AK and SK used for
&securityGroupIdModifyInstanceBody, MaintainEnd: &maintainEndModifyInstanceBody, MaintainBegin: &maintainBeginModifyInstanceBody, Port: &p
当资源池用尽后,调用者是否要等待。 true:等待。 false:不等待。 只有当值为true时,设置的maxWaitMillis才会生效。 true 建议使用默认值。 maxWaitMillis 当资源池连接用尽后,调用者的最大等待时间(单位:毫秒)。 值为-1表示一直等待。 -1 建议设置具体的最大等待时间。
dcs.v2.model.*; public class ShowBigkeyScanTaskDetailsSolution { public static void main(String[] args) { // The AK and SK used for
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
sdk.dcs.v2.model.*; public class ShowHotkeyTaskDetailsSolution { public static void main(String[] args) { // The AK and SK used for
批量删除缓存实例。 DELETE https://{dcs_endpoint}/v2/{project_id}/instances?all_failure={all_failure} { "instances" : [ "54602a9d-5e22-4239-9123-77e350df4a34"
String 账号所属实例ID。 status String ACL账号状态。 取值范围: CREATING:账号创建中。 AVAILABLE:账号可用。 DELETEFAILED:账号删除失败。 DELETING:账号删除中。 UPDATING:账号更新中。 ERROR:账号异常。 account_role
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
为null。 result String 密码修改结果: 成功:success; 密码验证失败:passwordFailed; 已锁定:locked; 失败:failed。 lock_time_left String 锁定剩余时间。锁定时该参数返回不为null。 retry_times_left