NetBackup™ 10.3.0.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
- Managing users on a primary or a media server 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 using the web UI
- Managing NetBackup services from the deduplication shell
- Monitoring and troubleshooting NetBackup services from the deduplication shell
- Managing S3 service from the deduplication shell
- Managing users from the deduplication shell
Collecting and transferring troubleshooting files
You can collect files from the following categories and transfer them to another host for easier viewing:
The Media Server Deduplication Pool (MSDP) history files
The MSDP configuration files
The MSDP log files
The system log files
Use the following procedure to collect and transfer these files from the deduplication shell:
To collect and transfer files
- 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 one of the following commands to collect files of interest from the desired category:
support MSDP-history collect
support MSDP-config collect
support MSDP-log collect
support syslogs collect
You can also use the following optional parameters:
pattern=<keyword>
This parameter searches for a keyword within the files.
mmin="<minutes, +minutes, or -minutes>"
This parameter specifies the timeframe to collect files from, in minutes. To collect the files from x minutes ago, enter mmin="x". To collect the files from less than x minutes ago, enter mmin="-x". To collect the files from more than x minutes ago, enter mmin="+x".
mtime="<days, +days, or -days>"
This parameter specifies the timeframe to collect files from, in days. To collect the files from x days ago, enter mtime="x". To collect the files from less than x days ago, enter mtime="-x". To collect the files from more than x days ago, enter mtime="+x".
For example:
support MSDP-log collect pattern=spoold* 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.