ECS:GeoDrive:Error: 12029 — 无法建立与服务器的连接

Summary: GeoDrive 错误:12029 - 将 ECS 添加到 GeoDrive 客户端时出现“无法建立与服务器的连接”。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

根据用户指南将 ECS 添加到 GeoDrive Windows 客户端时,在添加 IP 后,您可能会在连接测试期间看到错误消息:

Error: 12029 - A connection with the server could not be established
Error: 12029 — 无法建立与服务器的连接 

Cause

Windows 或 GeoDrive 客户端无法连接到 ECS。

Resolution

与客户确认是否有负载平衡器 (LB) 正在使用中,或者是否直接连接到 ECS 节点。

使用 telnet 等工具测试从 Windows 客户端到 ECS 数据 IP 端口 9020 (HTTP)/9021 (HTTPS) 的连接。
如果客户的 Windows 客户端上未启用 telnet,则要求临时启用(Windows 功能)或使用同一子网上的客户端。

例:

C:\>telnet 10.1.1.1 9021
Connecting To 10.1.1.1...Could not open connection to the host, on port 9021: Connect failed

C:\>

如果无法连接,则应检查以下步骤:

  • 客户需要确保所需的端口不会被客户环境中的防火墙阻止。
  • 使用了正确的 ECS IP 地址。如果在 ECS 端启用了网络分离,请确保使用数据 IP 地址而不是管理 IP。

连接到 ECS 并验证是否启用了网络分离,并检查数据 IP 地址:
示例:

admin@ecs1:~> getrackinfo -n
Named networks
==============
Node ID      Network           Ip Address     Netmask            Gateway         VLAN               Interface
1            repl              10.1.1.211     255.255.255.0      10.1.1.201      16                 public
1            data              10.1.2.202     255.255.255.0      10.1.2.201      123                public
2            repl              10.1.1.212     255.255.255.0      10.1.1.201      16                 public
2            data              10.1.2.203     255.255.255.0      10.1.2.201      123                public
3            repl              10.1.1.213     255.255.255.0      10.1.1.201      16                 public
3            data              10.1.2.204     255.255.255.0      10.1.2.201      123                public
4            repl              10.1.1.214     255.255.255.0      10.1.1.201      16                 public
4            data              10.1.2.205     255.255.255.0      10.1.2.201      123                public
5            repl              10.1.1.215     255.255.255.0      10.1.1.201      16                 public
5            data              10.1.2.206     255.255.255.0      10.1.2.201      123                public

在上面的示例中,IP 10.1.2.202 - 206 是正确的,需要用于 GeoDrive 客户端配置。

下面的日志文件最终可以通过在此文件中搜索 Windows 客户端 IP 地址来帮助进一步进行故障处理。(在上面的案例中,由于数据头未获得任何连接,因此此处未显示任何连接尝试):
 /opt/emc/caspian/fabric/agent/services/object/main/log/dataheadsvc.log

您还可以使用 svc_log 在所有节点的所有 dataheadsvc.logs 中搜索 Windows 客户端 IP 地址:

admin@ecs1:~> svc_log -f '10.x.x.x' -sr dataheadsvc -n all -sn -sf

Additional Information

如果用户的凭据配置错误,则可能会出现相同的错误。
1.用户 ID 应为对象用户。
2.Secret Access Key 应为对象用户生成的 S3 密钥。

您可以按照以下步骤在 GeoDrive 中编辑用户 ID 和密码访问密钥:
“添加 GeoDrive” >> 主机, >> 按要编辑 >> 的主机上的“编辑” 

Affected Products

GeoDrive for Windows

Products

GeoDrive for Windows, ECS Appliance, Elastic Cloud Storage
Article Properties
Article Number: 000045612
Article Type: Solution
Last Modified: 30 May 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.