检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
URI格式 POST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/restart URI样例 https://dds.cn-north-1.myhuaweicloud.com/v3/0549b4a43100d4f3
} } 响应消息 参数说明 表3 响应Body参数 参数 参数类型 描述 job_id String 修改实例参数的异步任务ID。 restart_required Boolean 参数修改涉及范围(实例,组,节点)否需要重启。 取值为false,不需要重启。 取值为true,需要重启。
t”。 value_range String 参数值范围。 如integer取值0-1,boolean取值true/false等。 restart_required Boolean 参数是否需要重启。 取值为“true”,需要重启。 取值为“false”,不需要重启。 readonly
value_range String 参数值范围。 示例:Integer类型取值范围为0~1、Boolean类型取值为“true”或“false”。 restart_required Boolean 参数是否需要重启。 取值为“true”,需要重启。 取值为“false”,不需要重启。 readonly
/compile/cluster-restore/cfg1/data/db/ /compile/cluster-restore/cfg2/data/db/ cp -aR /compile/cluster-restore/cfg1/data/db/ /compile/cluster-restore/cfg3/data/db/
mongos节点的配置文件和目录。 rm -rf /compile/cluster-restore/mgs* mkdir -p /compile/cluster-restore/mgs1/log mkdir -p /compile/cluster-restore/mgs2/log 配置文件(res
/compile/cluster-restore/shd21/data/db/ /compile/cluster-restore/shd22/data/db/ cp -aR /compile/cluster-restore/shd21/data/db/ /compile/cluster-re
/compile/cluster-restore/shd11/data/db/ /compile/cluster-restore/shd12/data/db/ cp -aR /compile/cluster-restore/shd11/data/db/ /compile/cluster-re
连接失败,提示:couldn't connect to server 问题描述 使用如下命令连接3.4版本的DDS实例时报错。 mongo --host 192.168.64.201 --port 8635 -u rwuser -p xxxxxxxxx --authenticationDatabase
创建并管理角色 创建角色 db.createRole(role, writeConcern) 参数role为必选参数,类型为文档,详情如下: { role: "<name>", privileges: [ { resource: { <resource> }, actions:
2021-11-05T05:52:53.718+0000 I NETWORK [ReplicaSetMonitor-TaskExecutor] Successfully connected to 192.168.0.45:8635 (1 connections now open to 192
连接失败,提示:network error while attempting to run command ‘isMaster’ 问题描述 使用如下命令连接DDS实例时报错。 ./mongo --host 192.168.168.182 --port 8635 -u rwuser
连接失败,提示:cannot list multiple servers in URL without ‘replicaSet’ option 问题描述 使用如下命令连接DDS副本集实例时报错。 ./mongo mongodb://rwuser:xxxxxxxxxxx@192.168
dds:instance:deleteInstance √ √ 重启实例 POST /v3/{project_id}/instances/{instance_id}/restart dds:instance:reboot √ √ 扩容实例存储容量 POST /v3/{project_id}/instances/{
录 /compile/cluster-restore/cfg1/data/db /compile/cluster-restore/cfg1/log /compile/cluster-restore/cfg2/data/db /compile/cluster-restore/cfg2/log
通过mongodump和mongorestore工具迁移数据 mongodump和mongorestore是MongoDB客户端自带的备份恢复工具。您可以在本地设备或ECS中安装MongoDB客户端,通过mongodump和mongorestore工具将自建MongoDB数据库或
创建并管理角色 创建角色 db.createRole(role, writeConcern) 参数role为必选参数,类型为文档,详情如下: { role: "<name>", privileges: [ { resource: { <resource> }, actions:
查询数据库版本信息 接口说明 查询指定实例类型的数据库版本信息。 调试 您可以在API Explorer中调试该接口。 URI URI格式 GET https://{Endpoint}/v3/{project_id}/datastores/{datastore_name}/versions
使用OBS Browser+下载 您可以通过OBS Brower+下载手动或自动备份文件,用于本地存储备份或者恢复数据库。 使用须知 通过OBS Browser+下载备份文件不额外收取OBS公网流出流量费用。 若备份文件大于400MB时,建议您使用OBS Brower+下载。 通过DDS控制台下载的备份均为全量备份。
获取可恢复的数据库列表 接口说明 获取可恢复的数据库列表。 约束说明 该接口只支持副本集实例。 调试 您可以在API Explorer中调试该接口。 URI URI格式 GET https://{Endpoint}/v3/{project_id}/instances/{insta