The avinstaller service has the following command options:
nve:~ # avinstaller.pl Usage: avinstaller.pl [options] avinstaller.pl performs AvInstaller tasks. For internal use only. options: --help Display this help message --start Start AvInstaller --stop Stop AvInstaller --restart Restart AvInstaller --test Test the AvInstaller status --debug Launch AvInstaller in debug mode --testconfigured Test if AvInstller is configured --update_passcode Update the support passcode --reset_passcode Reset the support passcode to default value --version Display version information
During NVE upgrades, a temporary folder is created using the name of the upgrade package being installed. You can see the temp upgrade directory by running: ls -l /data01/avamar/repo/temp/
This folder is removed post upgrade and may be deleted if the upgrade fails and the workflow is closed. To collect these logs, initiate the upgrade and before closing out the failure collect the logs.
Once an upgrade has completed, you can find the workflow.log and err.log in the upgrade package directory under:
/usr/local/avamar/var/avi/server_data/package_data/
A folder exists for each of the upgrades applied to the NVE since it was deployed, this tells you when a package was installed and each folder will contain files specific to completed upgrade jobs.
For example:
nve:~ # ls -ltr /usr/local/avamar/var/avi/server_data/package_data/ total 4 drwxr-xr-x 2 avi avi 335 May 31 21:55 NveInstall-19.11.0-12.avp_1717206867725 drwxr-xr-x 3 avi avi 4096 Jun 28 17:16 NveConfig-19.11.0-12.avp_1719608972274 drwxr-xr-x 2 avi avi 328 Aug 14 09:58 NvePlatformOsRollup_2024-R2-v3.avp_1723643818123 nve:~ # ls -ltr /usr/local/avamar/var/avi/server_data/package_data/NvePlatformOsRollup_2024-R2-v3.avp_1723643818123 total 368 -rw-r--r-- 1 avi avi 1243 Jul 15 07:24 pkgdef.xml -rw-r--r-- 1 avi avi 282 Jul 15 07:24 callabledef.xml -rw-r--r-- 1 avi avi 27043 Jul 15 07:24 process.jpdl.xml -rw-r--r-- 1 avi avi 1034 Jul 15 07:24 process.flowchart.txt -rw-r--r-- 1 avi avi 541 Jul 15 07:28 userinput.xml -rw-r--r-- 1 avi avi 541 Jul 15 07:28 ui_library.xml -rw-r--r-- 1 avi avi 1305 Aug 14 09:57 inventory.log -rw-r--r-- 1 avi avi 0 Aug 14 09:57 err.log -rw-r--r-- 1 avi avi 5 Aug 14 09:57 port-cache.txt -rw-r--r-- 1 avi avi 784 Aug 14 09:58 workflow_xml_val.xml -rw-r--r-- 1 avi avi 312 Aug 14 09:58 main-cache.yaml -rw-r--r-- 1 avi avi 588 Aug 14 10:00 workflow-reports.yaml -rw-r--r-- 1 avi avi 311 Aug 14 10:00 internal_config.xml -rw-r--r-- 1 avi avi 300053 Aug 14 10:00 workflow.log
When installing an NVE OsRollup package the sec_install_os_errata_sles.pl process creates a temporary log /tmp/sec_install_os_errata_sles.pl.log. This file will be deleted after a system reboot.
avi-cli --verbose localhost --password ROOT-PASSWORD --listhistory
avi-cli --verbose localhost --password ROOT-PASSWORD --listrepository
sudo tar cvzfP /space/`hostname`_`date -I`.tgz /space/avamar/var/avi/server_log/ /data01/avamar/repo/temp/*/tmp /usr/local/avamar/var/avi/server_data/package_data /tmp/sec_install_os_errata_sles.pl.log /var/log/zypp/history /var/log/messages* ; chmod 777 /space/`hostname`_`date -I`.tgz