Professional Documents
Culture Documents
2. If DNS goes bad Netbackup will also stop functioning and will need a restart of Netbackup!
1. /usr/openv/netbackup/bin/bpclntcmd -hn client (This command is extremely helpful, it tells you if Netbackup can do a successful lookup of the dns name)
2. bpclntcmd -ip ip_address (This command is also very helpfuls, it tells you if Netbackup can do a reverse dns lookup)
3. /usr/openv/netbackup/bin/bpexpdate -m 03000I -d 0 (This command allows you to expire media when needed instead of waiting for it to expire)
4. bpstulist (This command will tell you all drives and there hosts connected to the master server)
5. /usr/openv/volmgr/bin/tpautoconf -a (This cmd will scan all local device on the media manager)
6. /usr/openv/volmgr/bin/vmoprcmd (excellent cmd for verifying that all media managers have their drives)
7. /usr/openv/netbackup/bin/admincmd/bpmedialist -rl 1 (This cmd is retrieving all info about media that is available/full/expired/other) NOTE: available_media uses this cmd to get some of its info
9. /usr/openv/netbackup/bin/bpadm (is a script that runs cmds for you in a easier format and also does about 90% of what the gui does)
run bpadm
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 database up and running with .
Start the database server up with the command "nbdbms_start_server" from the /usr/openv/db/bin directory
/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.
ii.
The /usr/openv/netbackup/bin/admincmd/nbemmcmd (This is the sybase cmd utility (PLEASE BE CAREFUL USING THIS CMD!! This cmd is very useful in situations where you have to remove/add a client/media manager/device. here are some examples:
This deletes a media manger (nbemmcmd -deletehost -machinename media_server -machinetype media)
This tells you if which boxes are have a emmserver and if they are reachable (nbemmcmd -getemmserver)
This will let you know if there are any media conflicts (nbemmcmd -listmedia conflicts)
This will let you know what hosts are seen as media_managers and master servers (nbemmcmd -listhosts)
/usr/openv/netbackup/bin/goodies/available_media (Display all media and its states, and this script does this by running two other commaands and formatting it so it can be seen in a usable format)