全部博文(31)
分类: 服务器与存储
2007-12-03 16:48:06
今天发现一台P570机器上的oracle备份的job的status是196。看detail status的内容大概如下:
。。。。。。。。。。。。。。
2007-12-2 3:41:02 - awaiting resource p570-hcart3-robot-tld-0 - will retry physical later
2007-12-2 3:41:34 - awaiting resource p570-hcart3-robot-tld-0 Reason: Tape media server is not active., Media Server: p570, Robot Number: 0, Robot Type: TLD, Media ID: N/A, Drive Name: N/A, Volume Pool: oracle-unix, Storage Unit: p570-hcart3-robot-tld-0, Drive Scan Host: N/A
2007-12-2 3:42:34 - awaiting resource p570-hcart3-robot-tld-0 - will retry physical later
2007-12-2 3:43:05 - awaiting resource p570-hcart3-robot-tld-0 Reason: Tape media server is not active., Media Server: p570, Robot Number: 0, Robot Type: TLD, Media ID: N/A, Drive Name: N/A, Volume Pool: oracle-unix, Storage Unit: p570-hcart3-robot-tld-0, Drive Scan Host: N/A
client backup was not attempted because backup window closed(196)
手工进行备份,job一直在排队状态。
在master server打开控制台,deivce--àhost,发现p570的status是“active for disk”,不对,由于我这台P570是media server,上面连接的磁带库。正常应该是“active for type and disk”
于是在p570上执行tpconfig –d,发现两个带库驱动器都是up状态,带库本身应该没问题。
再继续查:
bpps –a查看:
发现没有vmd进程,正常应该有该进程。
决定重起一下p570上的nbu进程:
netbackup stop
执行该命令后,再用bpps –a看,还有没有停止掉的nbu进程,于是再执行
# bp.kill_all
杀掉所有的nbu进程,用bpps –a看已经没有了nbu的进程。
重起:
# netbackup
NetBackup Database Server started.
NetBackup Notification Service started.
NetBackup Enterprise Media Manager started.
NetBackup Resource Broker started.
Media Manager daemons started.
NetBackup request daemon started.
NetBackup compatibility daemon started.
NetBackup Job Manager started.
NetBackup Policy Execution Manager started.
NetBackup Service Layer started.
NetBackup is not configured for clustering.
NetBackup Service Monitor started.
# bpps -a
NB Processes
------------
root 688222 1 0 14:14:21 - 0:00 /usr/openv/netbackup/bin/bpcompatd
root 815342 1 0 14:14:20 - 0:00 /usr/openv/netbackup/bin/nbnos
root 598288 1 0 14:14:22 - 0:00 /usr/openv/netbackup/bin/nbsvcmon
root 606476 1 0 14:14:22 - 0:00 /usr/openv/netbackup/bin/nbsl
MM Processes
------------
root 679978 872950 1 14:14:26 - 0:00 rdevmi -sockfd 19 -p 50 -r
root 721048 844286 0 14:14:26 - 0:00 tldd
root 897024 844286 2 14:14:28 - 0:00 avrd
root 844286 1 0 14:14:20 - 0:00 /usr/openv/volmgr/bin/ltid
root 872950 1 0 14:14:23 - 0:00 vmd
此时发现进程正常了,再去看p570的status变成了“active for type and disk”.手工执行
备份,一切正常。