Discussion:
[bareos-users] NDMP Setup
Brian
2018-08-30 15:00:20 UTC
Permalink
Hello,

I am very new to BareOS and very eager to learn more!

I was hoping this was the right place to ask for help on this topic...

I am trying to setup native NDMP backup for a NetApp filer and HP LTO-6 Tape Library. The tape library is an autochanger with 4 tape drives. So far I've been following the documentation on the BareoS website but I'm stuck at the part to add the Tape and Robot agent. When I run "status storage" I'm able to see information about the NetApp and tape library. Below is a sample output:

Tape Agent netapp NDMPv4
Host info
hostname netapp
os_type NetApp
os_vers NetApp Release 8.1.2 7-Mode
hostid 0151732402

Server info
vendor Network Appliance
product Network Appliance NDMP server FAS3140
revision 5.0
auths (2) NDMP4_AUTH_TEXT NDMP4_AUTH_MD5

Connection types
addr_types (2) NDMP4_ADDR_LOCAL NDMP4_ADDR_TCP

tape Hewlett-Packard LTO-6
device nrst3l
attr 0x4
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-4/5 Native Density
set ALIAS 0=st3
device nrst3m
attr 0x4
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-4/5 Compressed
set ALIAS 0=st3
device nrst3h
attr 0x4
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-6 2.5TB
set ALIAS 0=st3
device nrst3a
attr 0x4
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-6 6.25TB Compressed
set ALIAS 0=st3
device rst3l
attr 0x5
REWIND
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-4/5 Native Density
set ALIAS 0=st3
device rst3m
attr 0x5
REWIND
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-4/5 Compressed
set ALIAS 0=st3
device rst3h
attr 0x5
REWIND
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-6 2.5TB
set ALIAS 0=st3
device rst3a
attr 0x5
REWIND
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-6 6.25TB Compressed
set ALIAS 0=st3
device urst3l
attr 0x6
UNLOAD
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-4/5 Native Density
set ALIAS 0=st3
device urst3m
attr 0x6
UNLOAD
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-4/5 Compressed
set ALIAS 0=st3
device urst3h
attr 0x6
UNLOAD
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-6 2.5TB
set ALIAS 0=st3
device urst3a
attr 0x6
UNLOAD
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]
set SERIAL_NUMBER=HU1309UUHR
set ELECTRICAL_NAME=RIFSWP2B:23.126
set DENSITY=LTO-6 6.25TB Compressed
set ALIAS 0=st3

Robot Agent netapp NDMPv4
Host info
hostname netapp
os_type NetApp
os_vers NetApp Release 8.1.2 7-Mode
hostid 0151732402

Server info
vendor Network Appliance
product Network Appliance NDMP server FAS3140
revision 5.0
auths (2) NDMP4_AUTH_TEXT NDMP4_AUTH_MD5

scsi HP MSL G3 Series
device mc1
set WORLD_WIDE_NAME=WWN[5:001:438016:079611]L1
set SERIAL_NUMBER=MXA313Z0WH
set ELECTRICAL_NAME=RIFSWP2B:23.126L1
set ALIAS 0=mc1

I assume that in the storage configuration I need to use the below to define the tape device and changer device:
Storage {
Name = netapp
...
Autochanger = yes
MediaType = NDMP-Tape

Device = nrst3l # use "status storage" to determine the tape device
NDMP Changer Device = mcl # use "status storage" to determine the changer device
}

But when I try to detect the tapes the system does not return any results:

*status storage=netapp slots
No slots in changer to scan.

Am I missing something or is this type of setup/hardware not supported? I have also tried to use the alias of the tape device (st3) but the result is the same.

Thanks!
Brian
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Brian
2018-08-30 15:02:35 UTC
Permalink
Also want to add that the tape library and NetApp are connected through a fibre channel switch.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...