检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
import com.huaweicloud.sdk.dcs.v2.model.*; public class ResetPasswordSolution { public static void main(String[] args) { // The
import com.huaweicloud.sdk.dcs.v2.model.*; public class UpdatePasswordSolution { public static void main(String[] args) { // The
"error_code" : "DCS.5010", "error_msg" : "Failed to operate SSL in database." } SDK代码示例 SDK代码示例如下。 Java Python Go 更多 1 2 3 4 5 6 7 8
以下操作以通过弹性云服务器上的客户端连接Redis实例为例进行说明。 前提条件 已成功创建Redis实例,且状态为“运行中”。创建Redis实例的操作请参考购买Redis实例。 已创建弹性云服务器,创建弹性云服务器的方法,请参见购买弹性云服务器。 如果弹性云服务器为Linux
会尝试尽快完成。 单机实例不支持该参数。 no:不调用fsync,由操作系统决定何时刷新数据到磁盘,性能最高。 always:每次写AOF文件都调用fsync,性能最差,但数据最安全。 everysec:每秒调用一次fsync。兼具数据安全和性能。 no appendonly 指
已成功创建Redis实例,且状态为“运行中”。创建Redis实例的操作请参考购买Redis实例。 已创建弹性云服务器,创建弹性云服务器的方法,请参见购买弹性云服务器。 如果弹性云服务器为Linux系统,该弹性云服务器必须已经安装gcc编译环境。 如果ECS未安装gcc编译环境,请执行以下命令进行安装:
Proxy集群需要缩容,可以先进行数据备份,然后另外创建对应规格的Proxy集群实例,使用备份文件导入方式,将备份数据文件导入到新的Proxy集群实例。待数据迁移完成后,再释放原来规格的Proxy集群实例。在线迁移操作,可以参考备份文件导入方式。 父主题: 扩容缩容与实例升级
leServerConfig参数 参数 默认值 说明 address - 节点连接信息,redis://ip:port database 0 选择使用的数据库编号 connectionMinimumIdleSize 32 连接每个分片主节点的最小连接数 connectionPoolSize
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security
修改密码 功能介绍 修改缓存实例的密码。 URI PUT /v1.0/{project_id}/instances/{instance_id}/password 参数说明见表1。 表1 参数说明 参数 类型 必选 说明 project_id String 是 项目ID。 instance_id
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security
开启Redis公网访问并获取公网访问地址 Redis 4.0及以上版本实例暂不支持绑定弹性IP,可以通过绑定弹性负载均衡(ELB)实现Redis公网访问,本章节介绍开启Redis 4.0及以上版本实例公网访问、获取公网访问连接地址和端口、以及Redis实例或ELB添加IP白名单的操作指导。Redis
recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure security