NetBackup IT Analytics Data Collector Installation Guide for Backup Manager
- Introduction
- Pre-Installation setup for Commvault Simpana
- Open TCP/IP access to the Commvault database
- Set up a read-only user in the CommServe server
- Pre-Installation setup for Cohesity DataProtect
- Pre-Installation setup for EMC Avamar
- Import EMC Avamar server information
- Pre-Installation setup for EMC Data Domain backup
- Pre-Installation setup for EMC NetWorker
- Architecture overview (EMC NetWorker)
- Pre-Installation setup for Dell EMC NetWorker backup & Recovery
- Pre-Installation setup for generic backup
- CSV format specification
- Pre-Installation setup for HP Data Protector
- Architecture overview (HP Data Protector)
- Configure the Data Collector server in Cell Manager (HP Data Protector)
- Pre-Installation setup for IBM Spectrum Protect (TSM)
- Architecture overview (IBM Spectrum Protect -TSM)
- Import IBM Spectrum Protect (TSM) information
- Pre-Installation setup for NAKIVO Backup & Replication
- Pre-Installation setup for Veritas Backup Exec
- Pre-Installation setup for Veritas NetBackup
- Prerequisites to use SSH and WMI (Veritas NetBackup)
- Prerequisites for NetBackup collection over SSH (Kerberos option)
- Configuring file analytics in NetBackup Data Collector policy
- Pre-Installation setup for Oracle Recovery Manager (RMAN)
- Pre-Installation setup for Rubrik Cloud Data Management
- Pre-Installation setup for Veeam Backup & Replication
- Discovery policies for Veritas NetBackup
- About Discovery types
- About SNMP probes
- Installing the Data Collector software
- Validate data collection
- Manually start the Data Collector
- Uninstall the Data Collector
- Appendix A. Load historic events
- Load Veritas NetBackup events
- Appendix B. Firewall configuration: Default ports
Veritas NetBackup SSH: Changing the Linux Temporary Directory for Collection
NetBackup IT Analytics uses temporary files on the target server for command output. The location of the temporary files is controlled by the TMPDIR environment variable, defaulting to /tmp.
NetBackup IT Analytics executes commands on the target NetBackup server using a non-interactive Bourne login shell (/bin/sh -l). On most systems this means that the /etc/profile
(when a login type of connection like ssh or scp is used) and ${HOME}/.bashrc
(when non-interactive connection like shell exec is used) files will be sourced and can be used to set the TMPDIR environment variable.
Log into the collection account on the target server.
Modify ${HOME}/.bashrc, set and export TMPDIR:
TMPDIR=/path/to/tmp export TMPDIR
For the NetBackup appliance: all CLI users share the
/home/nbusers
directory. To only change theTMPDIR
directory for the collection user, you must first check the logged-in user. For example:if [ "${USER}" = "itanalytics" ] ; then TMPDIR=/path/to/tmp export TMPDIR fi
To test, run the following command and verify that it returns the configured TMPDIR:
$ ssh <username>@127.0.0.1 '/bin/sh -l -c "echo \${TMPDIR}"' /path/to/tmp
Note:
There may be additional output before the TMPDIR path, for example the NBU appliance displays a banner.
The TMPDIR can be set either for all or a select set of target servers in a collector using the advanced parameter: NBU_SSH_TMPDIR. This value will be overridden if TMPDIR is set in the profile on the target server.
NBU_SSH_TMPDIR=/path/to/tm