Azure 儲存體移動器代理程式是 Azure 儲存體移動器服務的重要部分,是將資料順暢移轉至 Azure 的強大工具。 代理程式的功能在很大程度上取決於可靠的網路連線。 當網路問題發生時,Azure 儲存體移動器代理程式會提供一組強大的工具來診斷和解決網路問題。
透過遵循結構化方法,從配置檢查開始,逐步進行連線測試,並套用端點診斷,管理員可以確保可靠的操作和成功的資料遷移。 對於持續存在或複雜的問題,支援套件提供 Microsoft 支援服務更深入的分析和協助。
這些本機診斷工具可與標準網路故障排除工具和技術一起使用。
本文概述了對代理網路問題進行故障排除的可用方法。 建議的故障排除步驟包括配置檢查、連接測試、端點診斷和支持工具的使用。
網路設定概觀
診斷網路問題的建議第一個步驟是檢查代理程式的網路設定。 此檢查可以透過位於代理功能表的網路配置群組中的顯示網路配置工具來完成。
顯示網路配置工具顯示關鍵資訊,例如:
- DHCP 狀態
- IP 位址和子網路遮罩
- MAC 位址
- 鏈路和操作狀態
- 速度和 MTU
- DNS 伺服器和路由表
- 預設閘道和 Proxy 設定
- NTP伺服器配置
下列範例提供工具的範例輸出:
Network Interface(s):
eth0:
DHCP (Dynamic Host Configuration Protocol) status: true
IP Address and mask: 192.168.1.10/24
MAC Address (The unique hardware identifier for your network interface): 00:1A:2B:3C:4D:5E
Link (The connection status of your network interface): up
Operstate (The operational state of your network interface): up
Speed (The data transfer rate of your network interface): 10Gbps
MTU (Maximum Transmission Unit - the largest size of a network packet that can be transmitted): 1500
DNS (Domain Name System - the service that translates domain names to IP addresses): 192.168.1.1
Routes (The rules that determine the paths network traffic will take from your device to reach their destination):
default via 192.168.1.1 proto dhcp src 192.168.1.10 metric 100
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.10 metric 100
169.254.0.0/24 proto dhcp scope link src 192.168.1.10 metric 100
Global DNS (The Domain Name System servers that are used by all devices on your network): 192.168.1.1
Default Gateway (The device that routes your network traffic to other networks or the internet): 192.168.1.1
Proxy (A server that acts as an intermediary for requests from clients seeking resources from other servers): No proxy
NTP Server(s) (Network Time Protocol servers - these servers provide time synchronization for your device): [ntp.ubuntu.com, time.google.com]
檢查代理程式的網路組態時,任何包含空白或不正確值的欄位都表示 Hypervisor 的網路介面卡設定或代理程式介面設定可能配置錯誤。 例如,空IP address值或Link或Operstate狀態不是up時,表示代理程式可能未正確連接至網路。 在這種情況下,管理員應驗證 Hypervisor 的網路介面卡設定或重新配置代理程式的介面設定。
連線能力測試
驗證網路設定之後,下一個步驟是測試代理程式基本 Azure 端點的連線能力。 代理程式為此目的提供了數個工具,並允許您選擇故障排除需求所需的詳細程度。 您可以選擇一般連線測試、用於深入分析的詳細輸出,或用於目標診斷的單一端點測試。 這三個選項都提供了有關代理網路連線的寶貴見解,並可以幫助識別潛在問題。
連線測試工具位於代理程式功能表的 網路組態 群組中。
一般網路檢查
如需一般連線測試,請選取 [ 測試網路連線] 選項。 此工具會驗證與基本 Azure 端點的 HTTPS 連線能力,包括代理程式註冊和作業所需的端點。 此工具會使用 azcmagent check 命令來測試 Azure Arc 端點,然後檢查儲存體搬移器專用端點。 這些測試的結果包括:
- HTTPS 連線能力
- DNS 解析狀態
- IP 類型,私人或公用
- 代理使用情況
備註
此測試不包含作業執行期間使用的儲存體帳戶或金鑰保存庫端點。
詳細資訊網路檢查
此 Test network connectivity verbosely 選項提供網路連線問題的更詳細分析。 此增強版的一般網路檢查提供來自 azcmagent 和 curl的詳細輸出,包括 HTTP 回應碼和 TLS 封包資料。 它對於診斷 SSL 相關問題或檢查特定錯誤訊息非常有用。
單一端點測試
此 Test single endpoint connectivity 選項可讓您測試特定端點的連線能力。 除了測試一般網路檢查未涵蓋的儲存體帳戶和金鑰保存庫端點之外,此工具還允許使用下列方式對特定端點進行目標測試:
-
nslookup用於 DNS 解析 -
traceroute用於路徑分析 -
curl用於 HTTPS 連線
下列範例提供工具的範例輸出:
1) Show network configuration
2) Update network configuration
3) Test network connectivity
4) Test network connectivity verbosely
5) Test single endpoint connectivity
6) Quit
Choice: 5
This option tests connectivity to one endpoint with your current network setup using tools like nslookup, traceroute, curl, etc.
Provide an Azure endpoint (URL or FQDN) to test: https://mydemoaccount.blob.core.windows.net/demo-container
Run in verbose mode? [y/N] n
+----------------------------------------------------------+
| Checking domain name resolution with nslookup... |
+----------------------------------------------------------+
Testing 'mydemoaccount.blob.core.windows.net'...
Server: 203.50.10.50
Address: 203.50.10.50#53
Non-authoritative answer:
mydemoaccount.blob.core.windows.net canonical name = blob.regionprdstr03a.store.core.windows.net.
Name: blob.regionprdstr03a.store.core.windows.net
Address: 203.60.14.164
+------------------------------------------------------------+
| Checking network path to endpoint with traceroute... |
+------------------------------------------------------------+
Testing 'mydemoaccount.blob.core.windows.net' port 443 over TCP...
traceroute to mydemoaccount.blob.core.windows.net (10.60.14.164), 30 hops max, 60 byte packets
1 demosrva901.network.microsoft.com (10.126.12.2) 0.401 ms 0.440 ms 0.507 ms
2 demosrvl1.network.microsoft.com (10.10.80.2) 0.279 ms demosrvl2.network.microsoft.com (10.10.80.6) 0.267 ms demosrvl1.network.microsoft.com (10.10.80.2) 0.305 ms
3 demosrvb1.network.microsoft.com (10.126.137.144) 0.303 ms demosrvb3.network.microsoft.com (10.126.137.156) 0.230 ms demosrvb2.network.microsoft.com (10.126.137.146) 0.279 ms
4 musmtv005anrs2.clouddatahub.net (10.126.137.139) 0.274 ms 0.262 ms demosrvs2.network.microsoft.com (10.126.137.141) 0.250 ms
5 10.161.128.7 (10.161.128.7) 0.123 ms 10.161.128.21 (10.161.128.21) 0.216 ms 10.161.128.7 (10.161.128.7) 0.218 ms
6 demosrvs1.network.microsoft.com (10.161.128.4) 0.323 ms 0.337 ms 0.273 ms
7 demosrvb3.network.microsoft.com (10.126.137.4) 0.329 ms demosrvb4.network.microsoft.com (10.126.137.6) 0.553 ms demosrvb2.network.microsoft.com (10.126.137.2) 0.306 ms
8 demosrvc2.network.network.microsoft.com (10.126.137.9) 0.393 ms 0.326 ms demosrvc1.network.network.microsoft.com (10.126.137.1) 0.382 ms
9 democussrvca901.network.microsoft.com (10.37.12.118) 0.800 ms 10.37.12.120 (10.37.12.120) 0.870 ms 0.814 ms
10 * * *
11 * * *
12 * * *
13 democussrvb21ca940.network.microsoft.com (10.37.12.104) 2.850 ms democussrvb21ca940.network.microsoft.com (10.37.12.106) 2.126 ms democussrvb21ca940.network.microsoft.com (10.37.12.104) 2.560 ms
14 democussrvb21an7k1.network.microsoft.com (10.37.171.33) 0.787 ms 0.826 ms 0.814 ms
15 10.37.171.70 (10.37.171.70) 1.077 ms 1.056 ms 1.040 ms
16 democussrvlb21an7k1.microsoft.com (10.37.168.4) 1.221 ms 1.295 ms 1.212 ms
17 democussrvlb21a7201.network.microsoft.com (169.220.17.1) 1.168 ms 1.351 ms 1.340 ms
18 ae60-0.region.ntwk.msn.net (203.44.15.46) 2.153 ms 1.319 ms 1.306 ms
19 ae22-0.region.ntwk.msn.net (203.44.232.202) 1.382 ms ae24-0.region.ntwk.msn.net (203.44.232.204) 1.370 ms 1.717 ms
20 be-120-0.region.ntwk.msn.net (203.44.22.167) 17.054 ms * *
21 be-2-0.region.ntwk.msn.net (203.44.17.23) 16.926 ms * be-2-0.region.ntwk.msn.net (203.44.17.21) 17.911 ms
22 * be-5-0.region.ntwk.msn.net (203.44.17.71) 116.530 ms 116.798 ms
23 169.10.19.29 (169.10.19.29) 18.540 ms 18.096 ms *
24 * 169.10.6.142 (169.10.6.142) 18.161 ms 169.10.11.182 (169.10.11.182) 18.559 ms
25 169.10.11.174 (169.10.11.174) 17.550 ms 169.10.11.170 (169.10.11.170) 17.132 ms *
26 * * *
27 * * 192.98.222.143 (192.98.222.143) 15.860 ms
28 * 127.106.199.121 (127.106.199.121) 16.719 ms 127.106.199.111 (127.106.199.111) 16.341 ms
29 127.106.199.112 (127.106.199.112) 16.521 ms * 127.106.199.109 (127.106.199.109) 16.200 ms
30 * * *
+------------------------------------------------+
| Checking HTTPS connectivity with curl... |
+------------------------------------------------+
Testing 'https://mydemoaccount.blob.core.windows.net/sm-nfs4-file-share'...
This only checks that the endpoint is physically reachable over the network, and does not attempt authentication or authorization;
some 4XX or 5XX errors will be expected when testing certain Azure endpoints, even when the endpoints are reachable over the network.
See https://learn.microsoft.com/en-us/azure/storage-mover/deployment-planning for more info about RBAC roles for Storage Mover resources.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 409 Public access is not permitted on this storage account.
Transfer-Encoding: chunked
Server: Blob Service Version 1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 22cc22cc-dd33-ee44-ff55-66aa66aa66aa
Date: Thu, 23 Oct 2025 21:37:01 GMT
服務和工作狀態檢查
在 Service and job Status 功能表中,有兩個工具可供用於評估代理程式與 Storage Mover 服務的連線狀況,以及工作執行的狀態。 這些工具 ( 服務通訊狀態 和 工作摘要、詳細資料和複製記錄) 有助於評估代理程式的註冊狀態和工作執行健康情況。
- 服務通訊狀態:驗證代理程式與儲存體移動器服務的連線。
- 作業摘要、詳細資訊和複製日誌:提供有關作業效能的見解,包括傳輸速率和潛在的網路錯誤,例如 SSL 攔截。
受限制的 shell 工具
此 Open restricted shell 選項允許執行下列基本網路命令。 這些命令對於手動診斷和疑難排解來源共用連線問題非常有用:
-
nslookup以及ping端點測試。 -
mount、showmount和umount用於 SMB/NFS 共用診斷。
SMB 診斷
在 Troubleshooting 群組內,此 SMB Troubleshooting 選項會收集 SMB 記錄檔,並將其包含在支援套件中。 這對於診斷 SMB 來源共用的問題至關重要。 這些記錄可讓您深入瞭解與 SMB 共用相關的驗證問題、權限問題和連線錯誤。
支援套件收集
此 Collect support bundle 選項會彙總來自所有診斷工具的日誌,但受限制的 Shell 工具除外。 它可以透過 SFTP 與 Microsoft 支援服務共用,而且是深入疑難排解的最全面資源。
如需收集客服專員支援服務包的更多說明,請參閱 建立、擷取和檢視支援服務包 一文。
常見的網路問題和解決方案
下列清單概述數個常見問題及其解決方案:
-
DNS 解析失敗
當您遇到涉及 DNS 解析的問題時,請使用nslookup該工具、端點測試和網路配置工具來驗證 DNS 設定。 -
HTTPS 連線失敗
HTTPS 連線失敗通常可以透過檢查防火牆/代理設定、驗證 IP 位址和檢查詳細的捲曲輸出來解決。 -
Arc Private Link 範圍設定錯誤
設定錯誤通常是大部分 Private Link 範圍問題的原因。 若要解決這些問題,請確保您在網路檢查期間獲得正確的回應並驗證所需的端點 IP 類型。 -
SSL 攔截錯誤
在詳細資訊記錄或複製記錄中尋找「x509:由未知授權單位簽署的憑證」。 可能需要將端點列入允許清單。
後續步驟
下列文章中的資訊可能會有所幫助: