NetBackup Troubleshoot

3
NetBackup Troubleshoot - Howto This isn't really a how to, is a quick reference with some commands to use to debug the main problems that happens with NetBackup. 1. Log files - NetBackup Logs /usr/openv/netbackup/logs (Unix) Install_path\NetBackup\logs (Win) - Unified Logs /usr/openv/logs (Unix) Install_path\NetBackup\logs (Win) - NetBackup Media Manager Logs /usr/openv/volmgr/debug (Unix) Install_path\volmgr\debug (win) Obs.: Media manager Logs need be created. Be aware with log level, they can increase an fill the directory (File system) and the NetBackup will stop to work. 2. Name Resolution You need ensure that name resolution is working correctly, verify DNS and DNS reverse. 3. Commands you can use for day by day trouble shooting - Command to list Process are runing /usr/openv/netbackup/bin/bpps -x - All process /usr/openv/netbackup/bin/bpps -a - List Jobs /usr/openv/netbackup/bin/admincmd/bpdbjobs - Command used to confirm the successful lookup of the client name /usr/openv/netbackup/bin/bpclntcmd -hn client_name /usr/openv/netbackup/bin/bpclntcmd -ip client_ip - Commands used to expire or to calculate a new retention for a media /usr/openv/netbackup/bin/bpexpdate -m ACB001 -d 0 - Change expiration of copy 2, does not afect copy 1 /usr/openv/netbackup/bin/bpexpdate -backupid eel_0904219764 -d 12/20/2010 08:00:00 -copy 2 - If bpxpdate don't work to expire the media execute the command before use bpexpdate /usr/openv/volmgr/bin/vmquery -deassignbyid media_ID pool_number stat - To check pool_number and stat /usr/openv/volmgr/bin/vmquery -m media_ID

description

NBU Trouble

Transcript of NetBackup Troubleshoot

NetBackup Troubleshoot - Howto

This isn't really a how to, is a quick reference with some commands to use to debug the main problems that happens with NetBackup.1. Log files- NetBackup Logs/usr/openv/netbackup/logs (Unix)Install_path\NetBackup\logs (Win)- Unified Logs/usr/openv/logs (Unix)Install_path\NetBackup\logs (Win)- NetBackup Media Manager Logs/usr/openv/volmgr/debug (Unix)Install_path\volmgr\debug (win)Obs.: Media manager Logs need be created.Be aware with log level, they can increase an fill the directory (File system) and the NetBackup will stop to work.2. Name ResolutionYou need ensure that name resolution is working correctly, verify DNS and DNS reverse.3. Commands you can use for day by day trouble shooting- Command to list Process are runing/usr/openv/netbackup/bin/bpps -x- All process/usr/openv/netbackup/bin/bpps -a- List Jobs/usr/openv/netbackup/bin/admincmd/bpdbjobs- Command used to confirm the successful lookup of the client name/usr/openv/netbackup/bin/bpclntcmd -hn client_name/usr/openv/netbackup/bin/bpclntcmd -ip client_ip- Commands used to expire or to calculate a new retention for a media/usr/openv/netbackup/bin/bpexpdate -m ACB001 -d 0- Change expiration of copy 2, does not afect copy 1/usr/openv/netbackup/bin/bpexpdate -backupid eel_0904219764 -d 12/20/2010 08:00:00-copy 2- If bpxpdate don't work to expire the media execute the command before use bpexpdate/usr/openv/volmgr/bin/vmquery -deassignbyid media_ID pool_number stat- To check pool_number and stat/usr/openv/volmgr/bin/vmquery -m media_ID- Command to list configured Storage Units/usr/openv/netbackup/bin/admincmd/bpstulist -L- Command to list configured Policies/usr/openv/netbackup/bin/admincmd/bppllist policy_name -L- Command used to perform operator functions on drives/usr/openv/volmgr/bin/vmoprcmd- Command used to display media status/usr/openv/netbackup/bin/admincmd/bpmedialist -rl 1- Script to make a media report/usr/openv/netbackup/bin/goodies/available_media- Command to unfreeze medias/usr/openv/netbackup/bin/admincmd/bpmedia -unfreeze -m ACB001- Text interactive menu to administrate NetBackup when you can't access the GUI./usr/openv/netbackup/bin/bpadm- Command to report media contents of a robotic library/usr/openv/volmgr/bin/vmcheckxxx -rt tld -rn 1 -list- Command to inventory a robotic library/usr/openv/volmgr/bin/vmupdate -rt tld -rn 1 -full [-interactive] -use_barcode_rules- Command to manager EMM server - bee careful using this command/usr/openv/netbackup/bin/admincmd/nbemmcmdThis command can be used to list servers, medias, include new servers see nbemmcmd (1M)- To delete a media mangernbemmcmd -deletehost -machinename media_server -machinetype media- To delete a tapenbemmcmd -deletemedia -mediaid ABC001 -originhost server- To tell you if which boxes are have a emmserver and if they are reachablenbemmcmd -getemmserver- Will let you know if there are any media conflictsnbemmcmd -listmedia -conflicts- Will let you know what hosts are seen as media_managers and master serversnbemmcmd -listhosts4. Sybase trouble shooting- Database Files/usr/openv/db/data (Unix)Install_path\NetBackupDB\data (Windows)- Binary Files/usr/openv/db/bin (Unix)Install_path\NetBackup\bin (win)- To create a blank DBDB database for the recoveryhttp://seer.entsupport.symantec.com/docs/284299.htm- Database Administration tool (since NetBackup 6.5.2)/usr/openv/db/bin/dbadm (Unix)\Veritas\NetBackup\bin\bpadm (Win)Be careful to use this tool, some operations can stop and destroy database.5. NetBackup Consistency Check (NBCC) utilityThe NBCC command executes the NBCC utility that is used to confirm the integrity of portions of the NetBackup catalog related to tape media. This check includes the review of configured storage units, 5.x volume database hosts, 6.xEMMservers, tape media, and images associated with tape media.If NBCC detects catalog inconsistencies, it generates a set of output files. It can create a support package bundle of these files by using available system utilities.More information about the NBCC utility is available in the Using NetBackup Utilities section of the NetBackup Troubleshooting Guide.