Flex Appliance - Log Collection - Obtaining NBSU and nbcplogs

Article: 100049776
Last Published: 2021-03-24
Ratings: 3 2
Product(s): Appliances

Description

In troubleshooting scenarios, the customer must obtain nbcplogs and NBSU from Flex instances.

Follow the steps below to obtain NetBackup logs and configuration from a Flex instance.

 

Log Collection - Instance Level

Login to the instance using the appadmin username.

Follow the instructions below for log collection.

Please adjust the start and end time in the command below.

The -s and -e options in the command set the start and end time.

This will collect NetBackup and MSDP logs from the system.

/usr/openv/netbackup/bin/support/nbcplogs -s mm/dd/yyyy-00:01 -e mm/dd/yyyy-23:59 --no-nbsu /mnt/nblogs/$(date +%Y-%m-%d)-$(hostname -s)-nbcplogs-$(date +%s) --tmpdir=/mnt/nblogs --bundle --fast

This will collect NetBackup Support Utility (NBSU) from the system.

cd /mnt/nblogs
sudo /usr/openv/netbackup/bin/support/nbsu

The output files will be created in the /mnt/nblogs directory.

You can use WinSCP to connect to the Flex-based instance (not appliance) with user appadmin:

Note: The instance cannot be MSDP Worm.

Navigate WinSCP to /mnt/nblogs directory and download the file(s) needed.

Note: If SELINUX denies access to /mnt/nblogs, then navigate /tmp directory on the instance as that is not secured by SELINUX.

After that, copy the needed files from /mnt/nblogs to the /tmp directory and then use WinSCP to download the files from the instance.

Was this content helpful?