恢复configsvr副本集 准备目录 rm -rf /compile/cluster-restore/cfg* mkdir -p /compile/cluster-restore/cfg1/data/db mkdir -p /compile/cluster-restore/cfg1
恢复shardsvr1副本集 准备目录 rm -rf /compile/cluster-restore/shd1* mkdir -p /compile/cluster-restore/shd11/data/db mkdir -p /compile/cluster-restore/shd11
AK/SK认证:通过AK(Access Key ID)/SK(Secret Access Key)加密调用请求。推荐使用AK/SK认证,其安全性比Token认证要高。 Token认证 Token的有效期为24小时,需要使用一个Token鉴权时,可以先缓存起来,避免频繁调用。
具体操作如下: 配置DDS服务的“DDS FullAccess”权限。 配置IAM服务的细粒度权限。 在IAM控制台配置如下IAM权限策略,具体操作请参见创建自定义策略。
/cfg1/data/db /compile/cluster-restore/cfg1/log /compile/cluster-restore/cfg2/data/db /compile/cluster-restore/cfg2/log /compile/cluster-restore
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
连接失败,提示:couldn't connect to server 问题描述 使用如下命令连接3.4版本的DDS实例时报错。 mongo --host 192.168.64.201 --port 8635 -u rwuser -p xxxxxxxxx --authenticationDatabase
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
连接失败,提示:network error while attempting to run command ‘isMaster’ 问题描述 使用如下命令连接DDS实例时报错。 ./mongo --host 192.168.168.182 --port 8635 -u rwuser
GET https://{endpoint}/v3/b02ce40e8cb84a8e980fdb11fac657db/scheduled-jobs 响应示例 状态码: 200 Success { "total_count" : 1, "schedules" : [ {
策略和授权项说明 如果您需要对您所拥有的DDS服务进行精细的权限管理,您可以使用统一身份认证服务(Identity and Access Management,简称IAM),如果云平台账号已经能满足您的要求,不需要创建独立的IAM用户,您可以跳过本章节,不影响您使用DDS服务的其它功能
如果需要对华为云上的资源进行精细管理,请使用统一身份认证服务(Identity and Access Management,简称IAM)创建IAM用户及用户组,并授权,以使得IAM用户获得具体的操作权限,更多操作,请参见创建用户并授权使用DDS。
SUCCESS,表示下载链接已经生成完成。 EXPORTING,表示正在生成文件,准备下载链接。 FAILED,表示存在日志文件准备失败。 file_size String 文件大小,单位为 KB。 file_link String 下载链接。
您即将访问非华为云网站,请注意账号财产安全