• No results found

Example of a progress display for the NetBackup support utility (nbsu)

By default, the NetBackup support utility (nbsu) displays its progress to standard output. First, it lists environment queries, and then it lists the diagnostic commands that it runs as in the following example:

C:\Program Files\VERITAS\NetBackup\bin\support>nbsu 1.0 Determining initial nbsu settings

1.1 Determining OS environment 1.2 Determining OS host services

1.3 Determining identified network interface hostnames 1.4 Determining NetBackup environment

110 Using NetBackup utilities

2.0 Querying nbsu diagnostic lists 2.1 Determining nbsu diagnostics to run 3.0 Executing nbsu diagnostics

Executing diagnostic DEV_scsi_reg

Registry query of HKEY_LOCAL_MACHINE\hardware\DeviceMap\Scsi\

Executing diagnostic MM_ndmp

"C:\Program Files\VERITAS\volmgr\bin\set_ndmp_attr" -list "C:\Program Files\VERITAS\volmgr\bin\set_ndmp_attr" -probe <hostname>

"C:\Program Files\VERITAS\volmgr\bin\set_ndmp_attr" -verify <hostname>

Executing diagnostic MM_tpconfig

"C:\Program Files\VERITAS\\Volmgr\Bin\tpconfig" -d

4.0 nbsu successfully completed the identified diagnostic commands. Creating support package...

Microsoft (R) Cabinet Maker - Version 5.2.3790.0

Copyright (c) Microsoft Corporation. All rights reserved..

770,201 bytes in 36 files

Total files: 36

Bytes before: 770,201

Bytes after: 105,503

After/Before: 13.70% compression

Time: 0.67 seconds ( 0 hr 0 min 0.67 sec)

Throughput: 1119.27 Kb/second

Cleaning up output files...

The results are located in the

.\output\nbsu\lou4_master_20070409_160403 directory...

A complete description ofnbsuis in theNetBackup Commands Reference Guide.

About the NetBackup consistency check utility (NBCC)

The NetBackup consistency check utility (NBCC) is a command line utility. It is used to analyze the integrity of portions of the NetBackup configuration, catalog, and database information. This analysis includes review of NetBackup storage units, the EMM server, volume pools, tape media, and backup images that are associated with tape media.

111 Using NetBackup utilities

NBCCdoes the following:

■ Queries the EMM database to obtain the primary host name, associated host names, and server attributes for host name normalization

■ Through examination of the NetBackup configuration, identifies cluster, application cluster and servers

■ Gathers the database and catalog information

■ Analyzes the consistency of the gathered configuration and database and catalog information

■ Creates a packaged bundle for Symantec technical support to review

NBCCresides in the following location:

/usr/openv/netbackup/bin/support/NBCC

UNIX

install_path\NetBackup\bin\support\NBCC.exe

Windows

Symantec recommends that you runNBCCin the following circumstances: ■ To check the consistency of the NetBackup configuration and catalog and

database information from a tape media perspective

■ To gather and create a package bundle when directed to do so by Symantec technical support

The following items can help you run theNBCCutility:

■ For anNBCCdescription, examples, and how to gather NetBackup catalog and

database information to send to Symantec technical support , refer to theNBCC -helpcommand.

■ NBCCis designed to be run on NetBackup master servers.

■ In some cases, a non-functioning operating system or NetBackup process or service can preventNBCCfrom running properly or completing. AsNBCC

progresses through the interrogation of various operating system or NetBackup components, it outputs what processes to STDOUT. AsNBCCprocesses catalog and database components, it displays how many records have been processed. The number of records that are processed is in direct relationship to the size of the catalog and database being processed. IfNBCCdetects a failure, related information is output to STDERR. Information to STDOUT or STDERR are also output to thenbcc-info.txtfile (if available).

If NBCC does not perform as expected, try the following:

■ Use a text editor to look for error notices in thenbcc-into.txtfile.

112 Using NetBackup utilities

■ By default,NBCCsends error messages to standard error (STDERR) and also

includes the messages in its output files under the header STDERR. ■ IfNBCCdoes not produce adequate information or if it seems to perform

incorrectly, runNBCCwith the-debugoption to include additional debug messages in thenbcc-info.txtfile.

■ For troubleshooting, runNBCCwhen the system is in the same state as when the problem occurred. For example, do not stop and restart the NetBackup processes after the error occurs or make a change to the server or network.

NBCCmay not be able to gather key information about the problem.

Thenbcc-info.txtfile provides an overview of the environment whereNBCCis run, and contains the following:

■ General operating system and NetBackup configuration information on the environment thatNBCCdetects

■ A copy of theNBCCprocessing information that is sent toSTDOUTorSTDERR. This information indicates the processing thatNBCChas done.

Thenbcc-info.txtreport contains a section of information that summarizes the NBCC processing for each system detected in the NetBackup configuration. This section is listed by the server types in EMM that NBCC detects. It begins with “Summary of NBCC <type> processing”.

See“Example of an NBCC progress display”on page 114.

A complete description ofNBCCis in theNetBackup Commands Reference Guide.