Data Domain:DDPCONNCHK 如何故障診斷 DD 提升連線能力和效能

Summary: 使用來自備份應用程式完全相同的值,提供 DD Boost 連線能力檢查工具 (ddpconnchk) 的詳細使用情形。

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

ddpconnchk 工具可用於故障診斷下列問題:
  • 媒體伺服器無法使用 DD Boost 通訊協定連線至特定的 DDR。(這也適用於 DDBoost/RMAN 附掛程式無法連接至 DDR)
  • 媒體伺服器無法使用 DD Boost 通訊協定備份至 DDR
  • DD Boost 受管理檔案複寫 (MFR) 失敗
  • DD Boost 備份或還原效能緩慢
  • DD Boost MFR 效能緩慢
  • DDPCONNCHK 公用程式可用來模擬完整的備份/寫入 IO、還原/讀取 IO,以及從受影響的備份主機中設定到期/刪除 IO,方式是排除備份應用程式本身,但在所有其他位置包括所有其他元件,方式是使用確切來自備份應用程式組態的值。
  • 此外,DDPCONNCHK 公用程式可設定適當的選項,在相關來源 (SRC) DD 和目的地 (DST) DD 之間,從受影響的備份主機模擬經由 DDBOOST 的受管理檔案複寫或 MFR。
  • 建議務必在複製或 MFR 故障診斷期間,對兩個 Data Domain 執行完整的獨立備份/寫入 IO、還原/讀取 IO 及設定到期/刪除 IO 模擬,以及完整的 MFR 模擬。

Cause

DD 故障診斷 提升備份主機和 DD 之間的連線能力或效能。它不包括相關的備份應用程式,但包括所有位置的所有其他元件。
故障診斷 DD 提升 MFR 的連線能力或效能,或是從備份主機以及來源 (SRC) DD 和目的地 (DST) DD 之間的複製。

Resolution

哪裡可以取得 DDPCONNCHK 工具:
從以下位置下載ddpconnchk.zip檔案: https://central.dell.com/solutions/Networker-Tools
壓縮的套件包含多個跨多個作業系統平台的公用程式版本。


註解:
-ddpconnchk 工具必須在媒體伺服器上執行,也就是使用 DD Boost 將資料寫入 Data Domain 的主機。因此,請先瞭解所要的媒體伺服器的作業系統/位元。根據媒體伺服器的作業系統/位元,下載對應的 ddpconnchk 檔案,並將其置於媒體伺服器上。
-ddpconnchk 為可執行檔案,因此無法以電子郵件附件傳送。

如何使 DDPCONNCHK 準備好在媒體伺服器上執行: 

  • Winscp 或 scp 可將檔案從下載位置複製到媒體伺服器。
  • 不需要安裝,ddpconnchk 是獨立可執行檔。
  • 您可以使用 Gunzip 或 Winzip 或類似產品將套件解壓縮。
  • 執行 ddpconnchk 需要可執行權限,例如:
    chmod +x 
  • 可從使用者獲授權的任何目錄複製和執行 ddpconnchk。例如,您可以使用路徑 /tmp、C:\Dell 或 C:\ddtools。

如何執行 DDPCONNCHK:
基本語法:

#<ddpconnchkfilename> -s <DD Hostname Exactly in Backup App config> -l <Logical DDBOOST SU Exactly in Backup App config> -u <Owner of SU> -p <Password of Owner of SU> -p <ddboost_user_password>  -v


基本範例:
針對 Windows: 

C:\ddtools>ddpconnchk -s datadomain1.abc.com -l LSU1 -u ostuser -p xxxxxx  -v


若為 Linux:

#./ddpconnchk_linux_64 -s datadomain2.com l LSU1 -u dduser -p xxxxxx -v

 
範例 1:DD Boost 連線能力的一般檢查

#./ddpconnchk_linux_64 -s dd-dm2.abc.com -l LSU1 -u ostuser -p xxxxxx -v

範例輸出:

Loading plugin shared library
Could not load ddpi_is_dfc_target_hostname: /lib64/libDDBoost.so: undefined symbol: ddpi_is_dfc_target_hostname
 
Plugin shared library load FAILED
USING BUILTIN DDP PLUGIN INSTEAD
 
DDP CLIENT LIBRARY VERSION 2:6:0:2-366182
 
SERVER: dd-dm2.abc.com
----------------------------------
*** BASIC CONNECTIVITY TEST, dd-dm2.abc.com
1) Translate server name dd-md2-01.abc.com to IP address
Server dd-dm2.abc.com -> IP address 10.xx.xx.xx

2) pmap_getport() for prog MOUNT (100005), vers 3, proto TCP
Portmap (MOUNT) reports TCP port 2052

3) Establish TCP connection to MOUNT service

4) pmap_getport() for prog NFS (100003), vers 3, proto TCP
Portmap(NFS) reports TCP port 2049

5) Establish TCP connection to NFS service

6) Establish DDP connection, for permission check
DDBOOST properties:
DDBOOST enabled = 1
opt_dup_enable = 1
 
Basic DDP Connectivity Test PASSED
 
*** CONNECT SERVER TEST, dd-dm2.abc.com
 
1) Establish DDP connection
DDP Connect Server Test PASSED
*** LIST SUs TEST, dd-md2-01.abc.com
connect_server_with_user_pwd()...
connect_server_with_user_pwd() DONE
 
open_su_list()...
open_su_list() DONE
 
Read SU list...
0> dd-dm2-lsu1
  Bytes available 99025806163968
  Bytes used 1085185994221356
1> dd-dm2-lsu2
  Bytes available 99025806163968
  Bytes used 1085185994221356
2> dd-dm2-lsu3
  Bytes available 99025806163968
  Bytes used 1085185994221356
3> ...
4 SUs total
Read SU list DONE
 
disconnect_server()...
disconnect_server() DONE
 
List SUs Test PASSED
 
No further tests possible.
Specify -l<su_name> to enable
more tests
 
SUCCESS: All tests completed


注意:

  • 開頭的共用庫消息並不重要。ddpconnchk 工具有自己的整合式程式庫可供使用。
  • 「-v」參數用於詳細紀錄,可提供逐步 ddpconnchk 檢查的結果。 
  • 如果您不想將密碼放入命令列中,執行 ddpconnchk 時請不要使用。系統會提示您輸入密碼。
  • 成功的測試會顯示主機名稱解析為正確的 IP、連接埠為開啟、DD Boost 使用者和密碼正確,而媒體伺服器可在 DD 上看到儲存裝置。這可確認 DD 組態,以及媒體伺服器與 DD 之間的連線能力良好。
  • 如果 ddpconnchk 無法連線,則錯誤應該可讓您瞭解為什麼無法連線。

範例 2:使用 ddpconnchk 測試 DD Boost 效能。
它會寫入測試映像來測試 DD Boost 效能。測試結束後,即會自動移除測試映射。
以下是使用單一串流的效能測試。
 

C:\ddtools>ddpconnck -s <DD Hostname Exactly in Backup App config> -l <Logical DDBOOST SU Exactly in Backup App config> -u <Owner of SU> -p <Password of Owner of SU> -T writeimage -i 1g -n <Stream Count to Match with Backup App> -vvv

Notes:
Use 1, 4, 8 etc for Stream Count to see if there is improvement in speed. There may be a saturation point for number of streams. Higher the stream count dos not always provide better throughput.
Skip -p option if password contains conflicting special characters (such as # ? ; : , etc), and type the password when prompted.

範例輸出:

.....
*** EXTENDED TEST: WRITE IMAGE, dd-dm2-lsu1/sfadvdfdas00163/1073741824
Cumulative Write Throughput: 85.33 MB/s
Cumulative Read Throughput: 25.60 MB/s

 
若要以 10 個串流 (-n 10) 進行 ddpconnchk 效能檢查:

C:\ddtools>ddpconnchk -s <ddr_name> -u <ddboost_user> -p <ddb_user_password> -l <lsu_name> -T writeimage -i 1g -n 10
  • -i 1g 可決定寫入 DDR 1g = 1 GB 檔案的大小,這是大小上限 
  • -n 10 確定要創建的檔案數。 
  • 這些檔案為暫存,測試作業完成後即會刪除。


範例 3:使用 ddpconnchk 檢查 DD Boost 複寫 (MFR) 的連線能力:

user@Affected_Backup_Host# ddpconnck -s <SRC DD Hostname Exactly in Backup App config> -l <SRC SU Exactly in Backup App config> -u <Owner of SRC SU> -p <Password of Owner of SRC SU> -T writeimage -i 1g -n <Stream Count to Match with Backup App> -vvv    (Use 1, 4, 8 etc for Stream Count to see if there is improvement in speed)
user@Affected_Backup_Host# ddpconnck -s <DST DD Hostname Exactly in Backup App> -l <DST SU Exactly in Backup App> -u <Owner of DST SU> -p <Password of Owner of DST SU> -T writeimage -i 1g -n <Stream Count to Match with Backup App>     (Use 1, 4, 8 etc for Stream Count)

user@Affected_Backup_Host# ddpconnck -s <SRC DD Hostname Exactly in AVA config> -l <SRC SU Exactly in AVA config> -u <Owner of SRC SU> -p <Password of Owner of SRC SU> -S <DST DD Hostname Exactly in AVA config> -L <DST SU Exactly in AVA config> -U <Owner of DST SU> -P <Password of Owner of DST SU> -T optdup -i 1g -n <Stream Count to Match with AVA>     (Use 1, 4, 8 etc for Stream Count to see if there is improvement in speed)

 
注意:
「-S、-U、-P」(大寫) 適用於第二個 DDR。
這類似於執行 ddpconnchk 兩次:一次到 DDR1,一次到 DDR2,如同以下所有小寫項目。但最好執行上述完整命令。
     

#./ddpconnchk -s dd-dm-src.abc.com -l lsu1 -u user1 -p xxxxxx -v
#./ddpconnchk -s dd-dm-dst.abc.com -l lsu2 -u user1 -p xxxxxx -v


範例 4:執行 ddpconnchk 以檢查 MFR/optdup 輸送量。

#ddpconnchk -s dd-dm-src.abc.com -l src_lsu1 -u user1 -p xxxxxx -S dd-dm-dst.abc.com -L dst_lsu1 -U user1 -P xxxxxx -T optdup -i 1g -n 5 -v

 

*** EXTENDED TEST: OPT DUP
Src: dd-dm-src /src_lsu1
Dst: dd-dm-dst/dst_lsu1
ImgSize: 262144 bytes
NumThrd: 1
Cumulative Filecopy Throughput: 0.12 MB/s
Total read time: 0 seconds

 
範例 5:  列出用戶端看到的光纖通道 (DFC) 裝置的動態追蹤。
 

# ddpconnchk -D scan_all

範例輸出:

/dev/sg135:
 Server Name: xxx-xxxxx
 Server ID:   xxxxxxxx
 
 /dev/sg134:
 Server Name: xxxx-xxxxx
 Server ID:   xxxxxxxx
 
 2 Generic SCSI devices
 2 DFC LUN devices
 DFC evaluation completed



 

Additional Information

如果 ddpconnchk 失敗,請檢查特定錯誤訊息以進一步進行故障診斷:
  • pmap_getport() 失敗與網路環境相關,例如防火牆問題。
  • connect_server_user_pwd() 失敗是由於使用者名稱或密碼不正確,或 DD Boost 存取清單不正確。
  • 您可以檢查自動支援 (ASUP) 登錄檔 protocol.ost.user,以確認 DD Boost 使用者。
  • 您可以使用 putty 工作階段作為 DD Boost 使用者身分登入 DD,來確認使用者名稱和密碼,以測試其密碼。
  • 使用 #ddboost access show,並 #ddboost ifgroup show config all,以檢查 DD Boost 存取。

Affected Products

Data Domain

Products

Data Domain
Article Properties
Article Number: 000037899
Article Type: Solution
Last Modified: 17 Dec 2025
Version:  13
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.