Вы находитесь на странице: 1из 4

Netbackup Troubleshooting How To Page 1 of 4

account

Member Login

Home Blogs How To's ScreenShots Forums Search License Downloads

ScreenShots

ScreenShots Netbackup Troubleshooting How To


Linux Distros Backup HowTo's - Netbackup HowTo's
Written by linuxdynasty
Solaris Distros
Sunday, 10 February 2008 18:11

This is not really a howto but more of a quick lookup on what commands to use to debug/troubleshoot.
HowTo So this is not lay out in any order what so ever. Just a bunch of random notes.... I hope this helps you the way

1. There are 2 directories where logs exist! 1st dir is /usr/openv/logs (Low level logs) and
Linux 2nd dir is /usr/openv/netbackup/logs (Here you will have to create the subdirectories in order
for logs to be created here) BEWARE these logs tend to get huge!

Beginner

Advanced

Networking 1. Also if the /usr dir becomes a 100% full Netbackup will basically stop functioning!! Always check the log

2. If DNS goes bad Netbackup will also stop functioning and will need a restart of Netbackup!
OpenSolaris
3. Commands you should use for everyday trouble shooting.
Virtualization
1. /usr/openv/netbackup/bin/bpclntcmd -hn client
Beginner (This command is extremely helpful, it tells you if Netbackup can do a successful lookup of the d

Advance 2. bpclntcmd -ip ip_address


(This command is also very helpfuls, it tells you if Netbackup can do a reverse dns lookup)

Programming 3. /usr/openv/netbackup/bin/bpexpdate -m 03000I -d 0

file://H:\study\netbackup\Upload_site_done\done\New Folder\Netbackup Troubleshooting How To.htm 7/6/2010


Netbackup Troubleshooting How To Page 2 of 4

(This command allows you to expire media when needed instead of waiting for it to expire)
Generic
4. bpstulist
Perl (This command will tell you all drives and there hosts connected to the master server)

Python 5. /usr/openv/volmgr/bin/tpautoconf -a
(This cmd will scan all local device on the media manager)
Shell
6. /usr/openv/volmgr/bin/vmoprcmd
(excellent cmd for verifying that all media managers have their drives)
Networking
7. /usr/openv/netbackup/bin/admincmd/bpmedialist -rl 1
Cisco (This cmd is retrieving all info about media that is available/full/expired/other) NOTE: available_m
its info
Basics
8. /usr/openv/netbackup/bin/admincmd/bpmedia -unfreeze -m 03001
(This cmd unfreezes the media)
Nortel
9. /usr/openv/netbackup/bin/bpadm
Database (is a script that runs cmds for you in a easier format and also does about 90% of what the gui do

 example how to change a volume pool for a media;


MySQL
 run bpadm
Backups
 choose option (e) media management
Netbackup
 choose option (s) special actions

Vitualization  choose option (p) Change volume pool for volume pools

VMware  choose a volume pool from where you are want to move media to, and you are done!

10. Troubleshooting SYBASE GOING FUBAR! These are the steps to take to get a clean EMM data
Monitoring
 Stop Netbackup services.
Zenoss
 Move the contents our of the /usr/openv/db/data/ directory.

 Start the database server up with the command "nbdbms_start_server" from the /usr
Watch the latest videos
on YouTube.com  Run a "nbdbms_start_server -stat" to make sure the database server was up

 Run "create_nbdb" to created in default locations to database files.


You are not logged in.
 Start Netbackup services.

 Run "tpext" from the /volmgr/bin directory

 Then restart Netbackup on all servers!

 Now scan for all devices on <hostname>.

11. Check a jukebox at the command line:

 /usr/openv/volmgr/bin/vmcheckxxx -rt tld -rn 1 -list

12. Inventory Jukebox from the command line:

file://H:\study\netbackup\Upload_site_done\done\New Folder\Netbackup Troubleshooting How To.htm 7/6/2010


Netbackup Troubleshooting How To Page 3 of 4

 /usr/openv/volmgr/bin/vmupdate -rt tld -rn 1 -full [-interactive] -use_barcod

13. Check to see which disk are expired, full, available

 /usr/openv/netbackup/bin bpmedialist -rl 1


(-rl means retention level, the 1 means 2 week retention which is what we are using)

14. If you notice that you are running out of tapes and you know tapes shouldve expired,
run the previous command and get all of the expire tapes and run this command.

 /usr/openv/netbackup/bin/bpexpdate -m [mediaid] -d 0 (-d means days so 0 means no

1. The /usr/openv/netbackup/bin/admincmd/nbemmcmd (This is the sybase cmd u


(PLEASE BE CAREFUL USING THIS CMD!!
This cmd is very useful in situations where you have to remove/add a client/media manag
examples:

 This deletes a media manger (nbemmcmd -deletehost -machinename medi

 This deletes a tape (nbemmcmd -deletemedia -mediaid 03000I -originhos

 This tells you if which boxes are have a emmserver and if they are reachable (

 This will let you know if there are any media conflicts (nbemmcmd -listmedia

 This will let you know what hosts are seen as media_managers and master server

 /usr/openv/netbackup/bin/bpps -x (shows all Netbackup process that are running).

 /usr/openv/netbackup/bin/goodies/available_media
(Display all media and its states, and this script does this b
running two other commaands and formatting it so it can be see

 /usr/openv/netbackup/bin/admincmd/bpdbjobs (This is esentially the activity monitor)

Comments
mahmood - need examples and comand reside path
Hi linuxdynasty,

You have give very good command list but more we request to
provide each example with options and in which directories these command reside,
there are few but not all of them, please!!
dynasty
I will go and do that. Thanks for the advice
Only registered users can write comments!
Powered by !JoomlaComment 3.22
Last Updated ( Monday, 22 September 2008 10:41 )

Your Ad Here

file://H:\study\netbackup\Upload_site_done\done\New Folder\Netbackup Troubleshooting How To.htm 7/6/2010


Netbackup Troubleshooting How To Page 4 of 4

file://H:\study\netbackup\Upload_site_done\done\New Folder\Netbackup Troubleshooting How To.htm 7/6/2010

Вам также может понравиться