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

注意:这将使用您的戴尔支持站点凭据。对于戴尔内部员工,这使用您的公司凭据。对于 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 主机名
    • Protocol:SCP
    • 用户名:admin
      提醒: 默认情况下,通常会阻止通过 SSH 进行 root 登录)
    • 路径:/home/admin/
       
  • Windows Server 2019(及更高版本)具有 SCP 命令行功能:
scp ProxyHC admin@vProxyHostname:/home/admin/ProxyHC
image.png

如何使用:

1.使用 SSH 连接到 vProxy 设备,以管理员身份登录。
2.切换到 root 用户:
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.