關於netbackup恢復出現media server is not active 問題

lixiang114發表於2011-09-15

今天做一個恢復任務的時候,發現netbackup如下問題:

1、恢復操作遲遲沒有完成,檢視jobs

# bpdbjobs
JobID Type State Status Policy Schedule Client Dest Media Svr Active PID FATPipe
7129 Restore Active sol2 22233
7128 Image Delete Done 0 20130

該job7129一直為active


2、先檢視磁帶資訊,有空閒空間:

# available_media
media media robot robot robot side/ ret size status
ID type type # slot face level KBytes
----------------------------------------------------------------------------
CatalogBackup pool

0018L4 HCART TLD 0 2 - 5 40311168 ACTIVE
0019L4 HCART TLD 0 10 - - - AVAILABLE

DataStore pool

NetBackup pool

None pool

NU03CU HC_CLN TLD 0 23 - - - AVAILABLE
NU04CU HC_CLN TLD 0 16 - - - AVAILABLE

Oracle pool

0002L4 HCART TLD 0 21 - 3 2698358560 ACTIVE
0003L4 HCART TLD 0 6 - 3 2297925856 ACTIVE
0000L4 HCART TLD 0 19 - - - AVAILABLE
0001L4 HCART TLD 0 7 - - - AVAILABLE
0004L4 HCART TLD 0 15 - - - AVAILABLE
0005L4 HCART TLD 0 5 - - - AVAILABLE
0006L4 HCART TLD 0 18 - - - AVAILABLE
0007L4 HCART TLD 0 13 - - - AVAILABLE
0008L4 HCART TLD 0 14 - - - AVAILABLE
0009L4 HCART TLD 0 8 - - - AVAILABLE
0010L4 HCART TLD 0 12 - - - AVAILABLE
0011L4 HCART TLD 0 1 - - - AVAILABLE
0012L4 HCART TLD 0 22 - - - AVAILABLE
0013L4 HCART TLD 0 3 - - - AVAILABLE
0014L4 HCART TLD 0 4 - - - AVAILABLE
0015L4 HCART TLD 0 17 - - - AVAILABLE
0016L4 HCART TLD 0 9 - - - AVAILABLE
0017L4 HCART TLD 0 11 - - - AVAILABLE

3、檢視詳細錯誤資訊為:

awaiting resource cbshp02-hcart3-robot-tld-0. Waiting for resources.

Reason: Tape media server is not active, Media server: sol1

Robot Type(Number): TLD(0), Media ID: N/A, Drive Name: N/A,

Volume Pool: unix, Storage Unit: cbshp02-hcart3-robot-tld-0, Drive Scan Host: N/A


4、檢視media server程式,該程式沒有running,原因不明。

# vmoprcmd -d

oprd returned abnormal status (96)
IPC Error: Daemon may not be running


# vmoprcmd -activate_host -h sol1

oprd returned abnormal status (96)
IPC Error: Daemon may not be running

5、參考相關文件:




6、依照此步驟處理:

Solution/Workaround:

1)、Ran nbrbutil -resetMediaServer (preferably nbrbutil -resetall)
2)、Restarted NetBackup daemons on media server - now tldd is running again
3)、vmoprcmd now works fine, and the volume pools "came back."


7、重啟MediaServer

# nbrbutil -resetall
# nbrbutil -resetMediaServer all

8、檢視MediaServer程式已經啟動:


# vmoprcmd -activate_host -h sol1
# vmoprcmd

HOST STATUS
Host Name Version Host Status
========================================= ======= ===========
sol1 655000 ACTIVE

PENDING REQUESTS


DRIVE STATUS

Drive Name Label Ready RecMID ExtMID Wr.Enbl. Type
Host DrivePath Status
=============================================================================
HP.ULTRIUM4-SCSI.000 No No No hcart
sol1 /dev/rmt/1cbn TLD

HP.ULTRIUM4-SCSI.001 No No No hcart
sol1 /dev/rmt/0cbn TLD

恢復完成

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7417660/viewspace-1055094/,如需轉載,請註明出處,否則將追究法律責任。

相關文章