检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
replica set monitor for replica/192.168.0.45:8635,192.168.0.96:8635 2021-11-05T05:52:53.718+0000 I NETWORK [ReplicaSetMonitor-TaskExecutor] Successfully
在“服务列表”中选择除文档数据库服务外的任一服务,如“弹性云服务器”,若提示权限不足,表示“DDS ReadOnlyAccess”已生效。
SUCCESS,表示下载链接已经生成完成。 EXPORTING,表示正在生成文件,准备下载链接。 FAILED,表示存在日志文件准备失败。 file_size String 文件大小,单位为 KB。 file_link String 下载链接。
SUCCESS,表示下载链接已经生成完成。 EXPORTING,表示正在生成文件,准备下载链接。 FAILED,表示存在日志文件准备失败。 file_size String 文件大小,单位为 KB。 file_link String 下载链接。
//{endpoint}/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/93e4b3eda14349b1b870f72829bc3b9bin02/auto-enlarge-volume-policy 响应示例 状态码: 200 Success
SUCCESS:应用成功,FAILED:应用失败,APPLYING:应用中。 failure_reason String 失败原因。
"error_code" : "DBS.200011", "error_message" : "The status of DB instance does not allow the operation." } ] } 状态码 状态码 描述 202 Accepted
curl ip:port 返回“It looks like you are trying to access MongoDB over HTTP on the native driver port.”,说明网络互通。
new BsonInt64(1)); Document commandResult = database.runCommand(command); System.out.println("Connect to database successfully
new BsonInt64(1)); Document commandResult = database.runCommand(command); System.out.println("Connect to database successfully
new BsonInt64(1)); Document commandResult = database.runCommand(command); System.out.println("Connect to database successfully
new BsonInt64(1)); Document commandResult = database.runCommand(command); System.out.println("Connect to database successfully
IAM验证 您可以使用统一身份认证服务(Identity and Access Management, IAM)进行精细的权限管理。该服务提供用户身份认证、权限分配、访问控制等功能,可以帮助您安全地控制华为云资源的访问。
new BsonInt64(1)); Document commandResult = database.runCommand(command); System.out.println("Connect to database successfully
图3 查看实例端口 通过curl命令确认端口是否可用,示例: curl 192.168.1.6:8635 提示“It looks like you are trying to access MongoDB over HTTP on the native driver port.”表示可以正常连接该
new BsonInt64(1)); Document commandResult = database.runCommand(command); System.out.println("Connect to database successfully
= MongoClients.create(settings); MongoDatabase database = mongoClient.getDatabase("test"); System.out.println("Connect to database successfully
"histories" : [ { "parameter_name" : "rateLimit.mbps", "old_value" : "500", "new_value" : "350", "update_result" : "SUCCESS
Successfully added user: { "user" : "user1", "passwordDigestor" : "server", "roles" : [ {