NetBackup™ 10.1.1 Application Guide
- Product overview
- Release notes
- Geting started
- Creating NetBackup application instances
- Managing NetBackup application instances
- Accessing NetBackup primary and media server instances for management tasks
- Managing users on a primary or a media server instance
- Running NetBackup commands on a primary or a media server application instance
- Accessing NetBackup WORM storage server instances for management tasks
- Managing users from the deduplication shell
- Managing certificates from the deduplication shell
- Configuring an isolated recovery environment on a WORM storage server
- Managing NetBackup services from the deduplication shell
- Monitoring and troubleshooting NetBackup services from the deduplication shell
- Managing users from the deduplication shell
About the support command
The support command lets you access and upload the relevant logs and configuration files for troubleshooting.
The following table describes the options and arguments for the support command.
Table: The options and arguments for the support command.
Option and its description | Argument | Description |
---|---|---|
MSDP-history Access the MSDP history files. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
collect | Collect files for transferring to the target host. This command requires the following parameters:
| |
ls | List information about the FILEs. Use the dir parameter to enter the directory name. | |
scp | Securely transfer selected files to the target host. This command requires the following parameters:
| |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
| |
process Displays information about the MSDP processes. | MSDP-process | Display the MSDP processes. |
htop | Display the CPU and memory information. | |
atop | Display information about the operating system. | |
pidstat | Display the PID statistics. | |
memory-usage | Displays the free and used memory. | |
software Displays information about the software. | show-MSDP-version | Display the MSDP version. |
show-OS-version | Display the operating system information. | |
MSDP-log Access the MSDP log files. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
collect | Collect files for transferring to the target host. This command requires the following parameters:
| |
ls | List information about the files. Use the dir parameter to enter the directory name. | |
scp | Securely transfer selected files to the target host. This command requires the following parameters:
| |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
| |
hardware Displays information about the hardware. | cpumem | Display the CPU and memory information. |
MSDP-config Access the MSDP configuration files. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
collect | Collect files for transferring to the target host. This command requires the following parameters:
| |
ls | List information about the FILEs. Use the dir parameter to enter the directory name. | |
scp | Securely transfer selected files to the target host. This command requires the following parameters:
| |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
| |
diskio Displays information about the disk I/O. | iostat | Displays the information about the disk I/O. |
vmstat | Displays the information about the wait on the disk I/O. | |
nmon | Display the information about the monitor system. | |
disk-volume | Display information about the disk volume. | |
syslogs Access the system logs. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
collect | Collect files for transferring to the target host. This command requires the following parameters:
| |
ls | List information about the FILEs. Use the dir parameter to enter the directory name. | |
scp | Securely transfer selected files to the target host. This command requires the following parameters:
| |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
| |
proc Access process information about the pseudo-filesystem. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
ls | List information about the FILEs. Use the dir parameter to enter the directory name. | |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
|
Here are some examples of the support command usage:
support MSDP-log ls dir=spoold support MSDP-log ls dir=spad/sof1vm08.tec.com/spoold/spad/072320.log support MSDP-log cat file=pdde-config.log support MSDP-log cat file=spad/sof1vm08.tec.com/spoold/spad/072320.log support MSDP-log tail file=pdde-config.log support MSDP-log tail file=pdde-config.log options="-f" support MSDP-log tail file=pdde-config.log options="-n 5" support MSDP-log tail file=spad/sofia11vm08/spoold/spad/072320.log options="-f -n 5" support MSDP-log grep file=spad* pattern=sessionStartAgent options="-r" support MSDP-log grep file=pdde-setup.log pattern="pid 455" support MSDP-log grep file=pdde-setup.log pattern="Pid" options="-w -i" support MSDP-log grep file=spoold* pattern="Pid" options="-w -i -r" support MSDP-log grep file=pdde-setup.log pattern="MSDP-X|PureDisk" options="-w -i -r -E"
To collect logs
- Open an SSH session to the server as the msdpadm user.
- If you plan to collect and transfer a large log file, you may need to increase the amount of time before the SSH connection times out. The default is 10 minutes. Use the following steps to increase the time:
Run the following command:
setting ssh set-ssh-timeout ssh_timeout=<number of seconds>
Run the following command to verify the change:
setting ssh show-ssh-timeout
Close the current SSH session and open a new one.
- Run the collect command for the desired category to collect files of interest. For example:
support MSDP-log collect pattern=spoold* mmin="+2" support MSDP-history collect support MSDP-config collect support syslogs collect pattern=crash mmin="-2"
- Run the scp command from any category to create a tarball of all previously collected files (from all categories) and transfer the tarball to the target host using the scp protocol. For example:
support MSDP-config scp scp_target=user@example.com:/tmp
- If applicable, run the following command to set the SSH time-out back to the default:
setting ssh set-ssh-timeout ssh_timeout=600
Verify the change with the setting ssh show-ssh-timeout command.