Networker and MHVTL in a VirtualBox VM part6

EMC Networker – first steps

configure MHVTL tape library

start terminal

opensuse@nwsrv:~> su -
Password: reverse
nwsrv:~ # lsscsi -g
[0:0:0:0]    disk    ATA      VBOX HARDDISK    1.0   /dev/sda  /dev/sg0
[0:0:1:0]    disk    ATA      VBOX HARDDISK    1.0   /dev/sdb  /dev/sg1
[1:0:0:0]    cd/dvd  VBOX     CD-ROM           1.0   /dev/sr0  /dev/sg2
[2:0:0:0]    mediumx SPECTRA  PYTHON           550V  /dev/sch0  /dev/sg11
[2:0:1:0]    tape    IBM      ULT3580-TD4      550V  /dev/st0  /dev/sg3
[2:0:2:0]    tape    IBM      ULT3580-TD4      550V  /dev/st1  /dev/sg4
[2:0:3:0]    tape    IBM      ULT3580-TD4      550V  /dev/st2  /dev/sg5
[2:0:4:0]    tape    IBM      ULT3580-TD4      550V  /dev/st3  /dev/sg6
[2:1:0:0]    mediumx SPECTRA  PYTHON           550V  /dev/sch1  /dev/sg12
[2:1:1:0]    tape    IBM      ULT3580-TD4      550V  /dev/st4  /dev/sg7
[2:1:2:0]    tape    IBM      ULT3580-TD4      550V  /dev/st5  /dev/sg8
[2:1:3:0]    tape    IBM      ULT3580-TD4      550V  /dev/st6  /dev/sg9
[2:1:4:0]    tape    IBM      ULT3580-TD4      550V  /dev/st7  /dev/sg10
nwsrv:~ # ls -l /dev/*st0*
crw-rw---- 1 root tape 9, 128 Aug 25 17:11 /dev/nst0
crw-rw---- 1 root tape 9, 224 Aug 25 17:11 /dev/nst0a
crw-rw---- 1 root tape 9, 160 Aug 25 17:11 /dev/nst0l
crw-rw---- 1 root tape 9, 192 Aug 25 17:11 /dev/nst0m
crw-rw---- 1 root tape 9,   0 Aug 25 17:11 /dev/st0
crw-rw---- 1 root tape 9,  96 Aug 25 17:11 /dev/st0a
crw-rw---- 1 root tape 9,  32 Aug 25 17:11 /dev/st0l
crw-rw---- 1 root tape 9,  64 Aug 25 17:11 /dev/st0m

As I wrote before Networker won’t recognize the second VTL. Let’s configure the first one.

Note
Networker needs NO REWIND tape devices (/dev/nst*). If you don’t use them your tapes will be overwritten!!!

nwsrv:~ # jbconfig

Jbconfig is running on host nwsrv.site (Linux 2.6.31.12-0.2-default),
  and is using nwsrv.site 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.

What kind of Jukebox are you configuring? [1] 2
14484:jbconfig: Scanning SCSI buses; this may take a while ...
Installing 'Spectralogic' jukebox - scsidev@2.0.0.

What name do you want to assign to this jukebox device? jb1
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.

Turn NetWorker auto-cleaning on (yes / no) [yes]?
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]
Is any drive going to have more than one path defined? (yes / no) [no]

Please enter the device path information in one of the following formats:

/dev/nst0 --for local path or
host:device-path --for remote node or NDMP device(s) or
host:drive-letter:directory path --for Windows disk file

Drive  1, element 1
Drive path ? /dev/nst0

Drive  2, element 2
Drive path ? /dev/nst1

Drive  3, element 3
Drive path ? /dev/nst2

Drive  4, element 4
Drive path ? /dev/nst3

Please select the appropriate drive type number:
  1) 3480                  25) 9840C                 48) SAIT-2
  2) 3570                  26) 9840D                 49) SD3
  3) 3590                  27) 9940                  50) sdlt
  4) 3592                  28) 9940B                 51) sdlt320
  5) 4890                  29) adv_file              52) sdlt600
  6) 4mm                   30) Atmos COS             53) SLR
  7) 4mm 12GB              31) dlt                   54) T10000
  8) 4mm 20GB              32) dlt vs160             55) T10000B
  9) 4mm 4GB               33) dlt-s4                56) tkz90
 10) 4mm 8GB               34) dlt-v4                57) travan10
 11) 4mm DAT160            35) dlt1                  58) TS1120
 12) 4mm DAT72             36) dlt7000               59) TS1130
 13) 8mm                   37) dlt8000               60) tz85
 14) 8mm 20GB              38) file                  61) tz86
 15) 8mm 5GB               39) himt                  62) tz87
 16) 8mm AIT               40) logical               63) tz88
 17) 8mm AIT-2             41) LTO Ultrium           64) tz89
 18) 8mm AIT-3             42) LTO Ultrium-2         65) tz90
 19) 8mm AIT-4             43) LTO Ultrium-3         66) tzs20
 20) 8mm AIT-5             44) LTO Ultrium-4         67) VXA
 21) 8mm Mammoth-2         45) optical               68) VXA-172
 22) 9490                  46) qic                   69) VXA-2
 23) 9840                  47) SAIT-1                70) VXA-320
 24) 9840b

Enter the drive type of drive 1? 44
Are all the drives the same model? (yes / no) [yes]

Jukebox has been added successfully

The following configuration options have been set:

> Jukebox description to the control port and model.
> Autochanger control port to the port at which we found it.
> Networker managed tape autocleaning on.
> Barcode reading to on.
> Volume labels that match the barcodes.
> Slot intended to hold cleaning cartridge to 22.  Please insure that a
        cleaning cartridge is in that slot
> Number of times we will use a new cleaning cartridge to 5.
> Cleaning interval for the tape drives to 6 months.

You can review and change the characteristics of the autochanger and its
        associated devices using the NetWorker Management Console.

Would you like to configure another jukebox? (yes/no) [no]
nwsrv:~ # nsrjb
                1:      jb1     [enabled]
There is only one enabled and configured jukebox: jb1

Jukebox jb1: (Ready to accept commands)
14118:nsrjb: No volumes found in the media database...continuing.
slot  volume                            pool  barcode   volume id  recyclable
   1: -*                                      DD1001S3  -
   2: -*                                      DD1002S3  -
   3: -*                                      DD1003S3  -
   4: -*                                      DD1004S3  -
   5: -*                                      DD1005S3  -
   6: -*                                      DD1006S3  -
   7: -*                                      DD1007S3  -
   8: -*                                      DD1008S3  -
   9: -*                                      DD1009S3  -
  10: -*                                      DD1010S3  -
  11: -*                                      UD1011L4  -
  12: -*                                      UD1012L4  -
  13: -*                                      UD1013L4  -
  14: -*                                      UD1014L4  -
  15: -*                                      UD1015L4  -
  16: -*                                      UD1016L4  -
  17: -*                                      UD1017L4  -
  18: -*                                      UD1018L4  -
  19: -*                                      UD1019L4  -
  20: -*                                      UD1020L4  -
  21: -*                                      CLN100S3  -
  22: Cleaning Tape (5 uses left)             CLN101L4  -
        *not registered in the NetWorker media data base

drive 1 (/dev/nst0) slot   :
drive 2 (/dev/nst1) slot   :
drive 3 (/dev/nst2) slot   :
drive 4 (/dev/nst3) slot   :

login to NMC

start firefox and run URL http://nwsrv:9000

press start, open with > other > javaws

Now set the password for NMC user Administrator

Let’s use the NMC.

PressEnterprise > select server nwsrv in enterprise > double click at networker

MHVTL tape library

In new windows press devices > select library jb1

You can see that there are 2 cleaning tapes and 18 unlabeled tapes. Lets label some tapes…

Backup to Disk

Networker uses Advanced Filetype devices (AFTD) for disk backup. Let’s create a AFTD on mountpoint /aftd.

O.k. Now you have an up and running Networker server with a VTL and AFTD. You can use shell or NMC to administrate Networker.

conclusion

I hope you enjoyed this step by step howto. Some feedback would be nice ;)

Kind regards, Otmanix

This entry was posted in Backup, EMC, Linux and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>