GoAV 是一个用 Go 编写的工具,它为 Avamar 管理员提供了一个强大的界面,用于管理环境和排除 Avamar 故障。它包括用于自动化和诊断的各种功能,并且频繁更新引入了新功能。
goav.zip
从页面。
unzip -o goav.zip
chmod a+x goav
./goav version show
===========================================================
GoAv : 1.93
Avamar : 19.12
Date : 20 Mar 2025 12:03 EDT
===========================================================
COMMAND : ./goav version show
NOTE: This tool was created and is maintained by the ISG Support Tools team
===========================================================
GoAV : 1.93
./goav update
GoAV 遵循结构化命令层次结构,允许用户运行各种与 Avamar 相关的任务。
Command line tool for Avamar.
Usage:
goav [command]
Available Commands:
activity Activity related operations.
client Client related operations.
dataset Dataset related operations.
dd DataDomain related operation
documentation Generate GOAV PDF documentation.
envinfo Environment Information.
help Help about any command
idpa Allows a user to check or fix multiple internal client/policy issues
mft Allows for upload/download to or from Dell MFT.
ndmp NDMP related operations
plugin Avamar plugin related operation.
policy Policy related operations.
proxy Avamar VMImage proxy related operations.
rabbitmq RabbitMQ related operations.
replication Replication related operations.
retention Retention related operations.
rule Rules related operations.
schedule Schedule related operations.
security certificate, keystore, secure operations
system Avamar system related operations.
update Update GOAV to latest version.
vcenter vCenter related operations.
version Displays GoAV version information.
vm Virtual Machine related operations.
Flags:
-d, --debug debug output
-f, --force Ignore Configuration
-h, --help help for goav
-n, --noheader Do not display header
-s, --validate-signature Validate GoAV digital Signature
Use "goav [command] --help" for more information about a command.
有关任何命令的详细帮助,请使用“-h 或 --help”:
./goav client show-gsan -h
Show Avamar clients in gsan, as opposed to mcdb
Gsan is where backups are actually stored, it is useful to get a list from gsan instead of mcdb sometimes!
Usage:
goav client show-gsan [flags]
Aliases:
show-gsan, list-gsan
Examples:
./goav client show-gsan
./goav client show-gsan --domain /REPLICATE
./goav client show-gsan --hasBackups
./goav client show-gsan --noBackups --domain /MC_RETIRED --hasbackups
Flags:
--domain string Specify domain root to start recursive search from (default "/")
--hasBackups List clients with backups in gsan, excluding clients without backups
-h, --help help for show-gsan
--noBackups List clients with no backups in gsan, excluding clients with backups
--out string Specify output filename for report (default "/home/admin/goav_clients/client_list_report_2023-07-10-1689007451.csv")
Global Flags:
-d, --debug debug output
-f, --force Ignore Configuration
-n, --noheader Do no display header
要显示所有 Avamar 代理,请执行以下作:
./goav proxy show
===========================================================
GoAv : 1.93
Avamar : 19.12
Date : 10 Jul 2023 12:48 EDT
===========================================================
COMMAND : ./goav proxy show
NOTE: This tool was created and is maintained by the ISG Support Tools team
===========================================================
name | domainFqdn | vcenterHost | id | activated | autoDsMapping | clientVersion
-------------------------------+------------+-----------------------------------+------------------------------------------+-----------+---------------+----------------
abc-proxy-95.example.company.com | /clients | xyz-test1-vcenter.lab.company.com | e90b74a9c0c4569d1a0b84fd6ff4f3026939bd12 | true | false | 19.12.100-83
abc-proxy-96.example.company.com | /clients | xyz-test1-vcenter.lab.company.com | 214d56edb74df890bd88f0c06360216b423ce5fd | true | false | 19.12.100-83
以下知识库文章提供有关特定 GoAV 功能的其他信息: