ok, just hang with me while I learn NB.
some jobs were stalled in a machine, so we went to the media server and checked if the jobs were pending
and the tape drives were not in “TSD”:
bash-3.00# /usr/openv/volmgr/bin/vmoprcmd
PENDING REQUESTS
<NONE>
DRIVE STATUS
Drv Type Control User Label RVSN EVSN Ready Wr.Enbl. ReqId
0 dlt TSD – No – –
1 dlt TSD root Yes EBI219 EBI219 Yes Yes 1
ADDITIONAL DRIVE STATUS
Drv DriveName Multihost Assigned Comment
0 QUANTUMDLT70000 No –
1 QUANTUMDLT70001 No ebitdb1
In the “pending” section there were jobs pending on drv 1 and 0, and the tape drives were unavailable, so we
reset them:
# vmoprcmd -deny 0
# vmoprcmd -deny 1
# vmoprcmd -up 0
# vmoprcmd -up 1
We assumed the drives were recently fed with tapes, so after this jobs were running ok.
To see the active jobs…
#bpdbjobs -report |grep -i act
To see the queued jobs…
#bpdbjobs -report | grep -i que
To kill a job
#bpdbjobs -kill <job#>
To see the job summary…
#/usr/openv/netbackup/bin/bpdbjobs -summary
#bpps -a
To run an inventory on a tape library…
#bpinvent 0
259/433
Check last 24 hour’s errors
#bperror -U -backstat -hoursago 24
See available tapes
# available_media
Or go to bpadm – media mgmt – special actions – Inventory a Robot and Compare with Volume Configuration
To see if a tape is in the correct pool
#vmquery -m <mediaid>
To change a tape of pool
# vmchange -h ntxldb2 -p 1 -m NTXD53
(Where 1 is NetBackup and 2 is systems)
To see the pools
#vmpool -listall
A monitoring loop:
# while true;do clear; vmoprcmd; echo “active”; bpdbjobs -report |grep -i act;echo “queued”; bpdbjobs -report
|grep -i que;bpdbjobs -summary; bperror -U -backstat -hoursago 24| tail -15l; sleep 5; clear; done
Run bpadm for interactive actions
# bpadm
document
too
260/433