NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
nbsmartdiag — detects performance issues for registered NetBackup processes and collects appropriate troubleshooting information.
SYNOPSIS
-install
-uninstall
-start
-terminate
-version
-help
-list_config
On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin
On Windows systems, the directory path to this command is install_path\NetBackup\bin
DESCRIPTION
The nbsmartdiag utility detects performance issues such as CPU utilization, memory usage, and deadlocks for the registered NetBackup processes. When nbsmartdiag detects these issues, it begins to collect the appropriate evidence for further troubleshooting without any user intervention.
This utility is designed to collect evidence to assist with troubleshooting. Veritas recommends that you stop the utility once the evidence is collected.
The nbsmartdiag utility runs as Local System or root.
The behavior of the utility is defined by modifying bp.conf
or registry values. The bp.conf
file values are set on the master server with the bpsetconfig command or the nbsetconfg command on client.
After the configuration is complete, start the service with the nbsmartdiag -start command. On Windows you can also start the utility from Service Control Manager.
The evidence is gathered in the nbsmartdiag
folder at the location that is specified in the NBSD_EVIDENCE_PATH value. For each instance of the process, there is a subfolder inside the process name folder. Under that process ID folder, the evidence is collected for each occurrence of an event.
Java processes have a common run-time name. To monitor the NetBackup Administrative Console use adminconsole. For NetBackup Web Management Service use nbwmc in the process names.
Table: bp.conf values and Windows registry key names
Value |
Details |
---|---|
NBSD_POLL_INTERVAL |
|
NBSD_DUMP_COUNT |
|
NBSD_MONITOR_CPU |
|
NBSD_MONITOR_MEMORY |
|
NBSD_MEMORY_UNIT |
|
NBSD_MONITOR_DEADLOCK |
|
NBSD_DEADLOCK_INTERVAL |
|
NBSD_ALWAYS_DUMP |
|
NBSD_CAPTURE_PROCESS_DUMP |
|
NBSD_INCREASE_LOG_LEVEL |
|
NBSD_CAPTURE_NETWORK_STAT |
|
NBSD_CAPTURE_DISK_IO |
|
NBSD_NUMBER_OF_READINGS |
|
NBSD_READING_INTERVAL |
|
NBSD_PURGE_OLD_EVIDENCE |
|
NBSD_CAPTURE_WITHOUT_THRESHOLD |
|
NBSD_JDK_HOME |
|
NBSD_EVIDENCE_PATH |
|
NBSD_VERBOSE |
|
NBSD_AUTO_MONITOR |
|
NBSD_AUTOMONITOR_CPU_THRESHOLD |
|
NBSD_AUTOMONITOR_MEMORY_THRESHOLD |
|
NBSD_MONITOR_POLICY_NAME |
|
NBSD_MONITOR_SYSTEM_FOR_HOURS |
|
NBSD_EVIDENCE_SIZE_LIMIT |
|
NBSD_PUSH_MONITOR_DATA_TO_REMOTE |
|
REQUIREMENTS
This utility only works for Windows, RHEL, and SUSE operating systems.
For Linux, the commands that are shown must be present on the computer to gather all supporting evidence: gcore, gstack, iostat, mpstat, netstat, pmap, top, and vmstat
For Windows, you must install the utility on Windows Server 2012 R2 or later. The utility uses process snapshot APIs which were introduced in Windows Server 2012 R2. Attempts to install the utility on older versions of Windows result in failure.
You must manually start the nbsmartdiag service. The bpup, bp.start_all, and netbackup start, commands do not start the service. This behavior is by design.
Note:
Cyrillic characters in the evidence path are not supported.
OPTIONS
- -help
Displays the help output for the nbsmartdiag utility.
- -install
Installs the nbsmartdiag utility.
- -list_config
Displays the configuration details with the default and current value of nbsmartdiag utility.
- -start
Starts the nbsmartdiag utility.
- -terminate
Stops the nbsmartdiag utility.
- -uninstall
Uninstalls the nbsmartdiag utility.
- -version
Displays the version information for the nbsmartdiag utility.