NetWorker:如何使用「jbconfig」手動設定磁帶庫
Summary: 本文說明如何手動使用舊版「jbconfig」命令,在 NetWorker 中設定磁帶庫。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
The NetWorker jbconfig command 是較舊的工具,早於現代和進階的 NetWorker Management Console (NMC) 磁帶庫偵測和自動組態方法。
注意:NetWorker Management Console 是磁帶庫偵測、設定和重新設定的首選和建議方法。以下方法適用於非選項 NMC 的情況,或是協助在 NMC 無法偵測或設定磁帶庫時進行故障診斷。
使用 jbconfig 對於包含非共用磁帶驅動器的標準伺服器本地庫
- 執行
jbconfig命令:
C:\Users\Administrator>jbconfig
Jbconfig is running on host networker.dell.nsr (Windows Server 2008 R2 6.1),
and is using networker.dell.nsr as the NetWorker server.
1) Configure an AlphaStor Library.
2) Configure an Autodetected SCSI Jukebox.
3) Configure an Autodetected NDMP SCSI Jukebox.
4) Configure an SJI Jukebox.
5) Configure an STL Silo.
6) Exit.
which activity do you want to perform? [1] 2
- 選擇選項 2 以使用自動偵測:
14484:jbconfig: Scanning SCSI buses; this may take a while ... Installing 'Standard SCSI Jukebox' jukebox - scsidev@2.1.0.
- 這會自動偵測庫的 SCSI 位址。提供庫的名稱:
What name do you want to assign to this jukebox device? MrData 15814:jbconfig: Attempting to detect serial numbers on the jukebox and drives ... 15815:jbconfig: Will try to use SCSI information returned by jukebox to configure drives. Detected emulated library `MrData' on storage node `networker.dell.nsr'. The following drive(s) can be auto-configured in this jukebox: 1> LTO Ultrium @ 2.2.0 ==> \\.\Tape214748XXX6 2> LTO Ultrium @ 2.3.0 ==> \\.\Tape214748XXX5 These are all the drives that this jukebox has reported.
- 如果自動偵測完成未發生錯誤,且您 不想 設定 NDMP 或動態磁碟共用,請拒絕略過自動設定:
To change the drive model(s) or configure them as shared or NDMP drives, you need to bypass auto-configure. Bypass auto-configure? (yes / no) [no] no
使用 jbconfig 要手動定義所有句柄和位址、設定共用庫或設定動態驅動器共用,請執行以下操作:
- 使用
jbconfig在手動模式下,需要更多詳細資訊才能成功完成。首先,獲取inquire必須存取此媒體櫃中任何裝置 的所有儲存節點主機 的輸出。使用下列工具識別哪個主機應控制自動轉換器本身及其在該主機上的 SCSI 位址inquire:
C:\Users\Administrator>inquire -p
scsidev@2.1.0:ADIC Scalar 100 2.62|Autochanger (Jukebox),
S/N: 79I9G0XXX0
ATNN=ADIC Scalar 100 79I9G00200
Virtual device
scsidev@2.2.0:IBM ULTRIUM-TD1 4561|Tape, \\.\Tape214748XXX6
S/N: 79I9G0XXX1
ATNN=IBM ULTRIUM-TD1 79I9G0XXX1
Virtual device
scsidev@2.3.0:IBM ULTRIUM-TD1 4561|Tape, \\.\Tape214748XXX5
S/N: 79I9G00202
ATNN=IBM ULTRIUM-TD1 79I9G0XXX2
Virtual device
2 Tape, 1 Autochanger (Jukebox), Total: 3
- 在有程式庫的儲存節點上,執行
sjisn上一步中自動轉換器機器人的 SCSI 位址的命令。此命令顯示驅動器的庫順序和對應的序列號。在jbconfig小Element 256(第一個) 被視為磁碟機 1。
C:\Users\Administrator>sjisn 2.1.0
Serial Number data for 2.1.0 (ADIC Scalar 100 ):
Library:
Serial Number: 79I9G0XXX0
SCSI-3 Device Identifiers:
ATNN=ADIC Scalar 100 79I9G0XXX0
Drive at element address 256:
SCSI-3 Device Identifiers:
VENN=79I9G0XXX1
Drive at element address 257:
SCSI-3 Device Identifiers:
VENN=79I9G0XXX2
- 將此輸出與
inquire需要存取磁碟機的每個主機的輸出。- 在每個主機上,可以確定設備的本地驅動程式名稱(例如
\\.\Tape214748XXX5) 對應於每個序列號(例如79I9G0XXX2)。 - 使用
sjisn輸出,確定哪個序號依序對應於哪個實體磁碟機。例如:2 是第二個。 - 如有需要,請製作對齊主機、磁碟機名稱、序號和磁碟機編號的圖表。
- 在每個主機上,可以確定設備的本地驅動程式名稱(例如
- 接著,執行
jbconfig在包含庫的儲存節點上。如果不是 NetWorker 伺服器,請包括-s <servername>參數:
C:\Users\Administrator>jbconfig -s servername
Jbconfig is running on host nsrnode1.dell.nsr (Windows Server 2008 R2 6.1),
and is using networker.dell.nsr as the NetWorker server.
1) Configure an AlphaStor Library.
2) Configure an Autodetected SCSI Jukebox.
3) Configure an Autodetected NDMP SCSI Jukebox.
4) Configure an SJI Jukebox.
5) Configure an STL Silo.
6) Exit.
which activity do you want to perform? [1] 4
- 這一次,請選取選項 4。這允許手動配置控制。當 NMC 組態失敗或發生問題時,這可能提供因應措施。您可以選擇確切的庫型號,但通常 56 (標準 SCSI 自動儲存塔)是合適的。
Enter the number corresponding to the type of jukebox you are installing: 1) ADIC-1200c/ADIC-1200d 20) Exabyte 690D 39) HP-Optical 2) ADIC-VLS 21) Exabyte Jukebox 40) Sony TSL-7000 3) ARC DiamondBack 22) Hitachi ML010 Series 41) Sony TSL-A500C 4) Sun 20Gb 4mm Tape Loader 23) HP-C1553A/Surestore 12000e 42) Sony TSL-AIT 5) Breece Hill Saguaro 24) HP-C1557A/Surestore 12000e 43) Digital 4mm DAT TLZ9L 6) Breece Hill 25) HP C5713A 44) Digital 4mm DAT (TLZxx) 7) Philips Blackjack 26) Hewlett-Packard A4853A 45) Digital TL800 Series 8) DLI Libra Series 27) Metrum (SCSI) 46) Digital TL810 Series 9) Quantum DLT/Digital DLT 28) Qualstar 47) Digital TL820 Series 10) Exabyte 10e or 10h 29) Spectralogic 48) Digital TL893 11) Exabyte 10i 30) STK 9704/Lago 340 49) Digital TL893 12) Exabyte 18D 31) STK 9708/Lago 380 (SCSI) Datawheel 50) Digital TL896 13) Exabyte 60 32) StorageTek 9730 51) Digital TL896 14) Exabyte 120 33) StorageTek 9738 52) Digital TL899 15) Exabyte 210 34) STK 9708/Lago 380 (SCSI) Datawheel 53) Digital TL899 16) Exabyte 218 35) Dell PowerVault 130T 54) Digital Optical 17) Exabyte 220 36) IBM 3570 55) Digital TK Series 18) Exabyte 230D 37) IBM 7331/IBM 9427 56) Standard SCSI Jukebox 19) Exabyte 400 Series 38) ATL/Odetics SCSI Choice? 56 Installing an 'Standard SCSI Jukebox' jukebox.
- 為庫選擇友好名稱:
What name do you want to assign to this jukebox device? SonOfMrData
- 提供 SCSI 位址來源
inquire本地主機上的輸出(必須在inquire):
39744:jbconfig: Enter the control port of the jukebox in the following format:
scsidev@3.0.0 Pathname of the control port for the jukebox device? scsidev@2.1.0
- 在探索前導碼之後,使用根據
sjisn和inquire輸出。- 對 NDMP 提示回答「否」。
- 如果多個主機與每個裝置的一個主機共用程式庫 (
Library sharing),但 每個裝置只能有一個主機,對第二個提示回答「否」。 - 如果一個或多個裝置在多個主機 之間同時 共用 (
Dynamic Drive Sharing),回答“是”。
The drives in this jukebox cannot be auto-configured with the available information. You will need to provide the path for the drives. Is (any path of) any drive intended for NDMP use? (yes / no) [no] no Is any drive going to have more than one path defined? (yes / no) [no] yes
- 下列提示指的是磁碟機順序,如
sjisn輸出。針對每個磁碟機,從第一個磁碟機開始 (「1」,不論sjisnElement number) 並按該順序移動,提供每個裝置的主機與裝置名稱對應,並與每個主機的inquire輸出依據sjisn輸出:
Drive 1, element 1 local bus, target, lun value = 0.0.0, Device path 1 ? nsrnode1.dell.com:\\.\Tape214748XXX6 Device path 2 ? \\.\Tape3 Device path 3 ? Drive 2, element 2 local bus, target, lun value = 0.0.0, Device path 1 ? nsrnode1.dell.com:\\.\Tape214748XXX5 Device path 2 ? nsrnode2.dell.com:/dev/nst5 Device path 3 ?
- 在這些背景下
inquire和sjisn範例,第一個驅動器sjisn(Element 256) 在這裡稱為「驅動器 1」(即第一個),序列號為79I9G0XXX1。- 可使用
inquire庫主機的輸出 (在此案例中為儲存節點nsrnode1.dell.com) 顯示該主機對應的裝置名稱\\.\Tape214748XXX6。輸入方式為<hostname>:<host's local devicename>因為這是儲存節點。 - 第二個項目沒有
<hostname>:件;這是因為它旨在表示同一設備的句柄,但適用於伺服器。可使用<hostname>:伺服器從不需要元素。伺服器的inquire輸出不會顯示於此處,但會報告與磁碟機 1 的第一個項目相同的序號,但裝置名稱不同 (本機) (\\.\Tape3)。 - 多個主機訪問同一設備稱為「動態驅動器共用」。輸入完所有內容後
host:devicename針對特定的實體磁碟機配對,輸入空白行會依序前往下一個磁碟機 (如果有)。 - 在此示例中,以相同的方式跟蹤第二個物理驅動器;依位置在
sjisn輸出,對應的裝置名稱inquire每個主機的輸出,序列號作為所有輸出的通用識別碼。第二個儲存節點共用第二個磁碟機。和以前一樣,僅針對儲存節點輸入主機名稱,而且裝置 名稱 (每個主機的本機名稱) 不需要彼此有任何關係。
- 可使用
設定磁帶庫之後
- 嘗試重設您的資料庫:在 NMC 中,在例項上按一下滑鼠右鍵,然後選擇「重設」,或使用同等命令:
nsrjb -HEvvvvv - 如有必要,請清點您的庫:同樣地,在 NMC 中,以滑鼠右鍵按一下程式庫並選取「清查」,或從 CLI 中:
nsrjb -IIvvvvv - 測試安裝與卸載:同樣,在 NMC 中或使用命令列:
jbverify(僅測試本機組態)
Additional Information
如需命令列機制的詳細資訊,以將已設定裝置新增和移除至現有程式庫,請參閱 Dell NetWorker 19.8 管理指南。
如需更進階的磁帶庫故障診斷資訊,請參閱:
Affected Products
NetWorkerProducts
NetWorker FamilyArticle Properties
Article Number: 000013833
Article Type: How To
Last Modified: 22 شوال 1447
Version: 7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.