NVP-vProxy:如何在 vProxy 裝置上使用執行狀況檢查工具 ProxyHC

Summary: 公用程式提供自動化、高效率且人類可讀的方式,以執行 vProxy 裝置的第一步或基本自我診斷。

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.

Instructions

用途:

公用程式提供自動化、高效率且人類可讀的方式,以執行 vProxy 裝置的第一步或基本自我診斷。您可以將 ProxyHC 公用程式複製到 vProxy,並從 NetWorker 故障診斷執行。


根據預設,vProxy 中並未包含 ProxyHC 公用程式。您可以從下列支援工具頁面下載 ProxyHC 公用程式:https://central.dell.com/solutions/Networker-Tools

便條:這會使用您的 Dell 支援網站登入資料。若為內部 Dell 員工,這會使用您的公司登入資料。若為 vProxy 4.3.0.x (SuSE 12 SP5),您可以使用 ProxyHC-2.7.19。從 vProxy 版本 4.4.0.x (SuSE 15 SP4) 開始,您必須使用 ProxyHC-2.7.19.v2。

 

您可以使用下列方法複製公用程式:

  • WinSCP:
    • 主機:vProxy 主機名稱
    • 通訊協定:SCP
    • 使用者名稱:admin
      注意: 經由 SSH 的根登入通常會遭到封鎖)
    • 路徑:/home/admin/
       
  • Windows Server 2019 (及更新版本) 具有 SCP 命令列功能:
scp ProxyHC admin@vProxyHostname:/home/admin/ProxyHC
image.png

如何使用:

1.使用 SSH 連線至 vProxy 裝置,並以系統管理員身分登入。
2.切換至根使用者:
sudo su -
3.使 ProxyHC 可執行檔:
chmod +x /home/admin/ProxyHC

4.執行 ProxyHC:
/home/admin/ProxyHC flags
使用範例:
my-vproxy:/home/admin # /home/admin/ProxyHC vCenter --help
usage: ProxyHC vCenter [-h] --name NAME --user USER [--pwd PWD] [--vm VM]
                       [--nsruser NSRUSER] [--nsrpwd NSRPWD]
                       [--nsrauthc NSRAUTHC] [--allproxies ALLPROXIES]
                       [--DDhost DDHOST]
                       {auth,port,perm,disk,hotadd,migration,listsession,annotation,cleanup,kb524127,all,layout,tasks,datastore,vmsnapchain,vmdisksize,termsoapsession}
                       ...

positional arguments:
  {auth,port,perm,disk,hotadd,migration,listsession,annotation,cleanup,kb524127,all,layout,tasks,datastore,vmsnapchain,vmdisksize,termsoapsession}
                        sub-command help
    auth                test authentication against vCenter server
    port                check open ports to ESXi hosts in cluster and data
                        domain systems
    perm                check vCenter access permissions
    disk                check & release extra disks from vProxy
    hotadd              check for hotadd access to provided VM
    migration           check vCenter for stale migration locks
    listsession         print login session list to log
    annotation          check vCenter for stale backup locks(annotations)
    cleanup             remove left over artifacts(extra disks,
                        locks/annotations) and find migration locks.
    kb524127            check for invalid state of vProxy VM
    all                 All vCenter tools(combination of port, perm and
                        cleanup)
    layout              check for description of files that make up VM
    tasks               check orphaned tasks in vCenter
    datastore           look for datastores with unsupported names
    vmsnapchain         check if any protected VM has excessive child disks
    vmdisksize          check if any protected VM has irregular disk size i.e.
                        trailing .5 KB
    termsoapsession     terminate soap session to vCenter from NWS

optional arguments:
  -h, --help            show this help message and exit
  --name NAME           hostname of the vCenter server
  --user USER           user name for login to vCenter server
  --pwd PWD             password for login to vCenter server
  --vm VM               DNS name of VM(as shown in vSphere)
  --nsruser NSRUSER     user name for login to NetWorker server
  --nsrpwd NSRPWD       password for login to NetWorker server
  --nsrauthc NSRAUTHC   Remote AuthC server
  --allproxies ALLPROXIES
                        specify to do work on peer vProxies registered
  --DDhost DDHOST       provide DD IP/hostname for port connectivity tests
注意:您可以在一個 ProxyHC 命令中使用多個標誌,例如: /home/admin/ProxyHC auth port perm tasks disk cleanup hotadd

 

5.在 /tmp/proxy-hc.log 下產生記錄檔。

Additional Information

Affected Products

NetWorker

Products

NetWorker
Article Properties
Article Number: 000022590
Article Type: How To
Last Modified: 29 Sept 2025
Version:  14
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.