On Wednesday, June 17, 2015 at 10:45:40 AM UTC-4, peter_reilly wrote:
> Hi I have a pair of Dell ML6000 auto changers I'd like to use with
> Bareos. I'm using only one currently.
>
> I've found an example of using two auto changers under some old bacula
> documentation here: http://wiki.bacula.org/doku.php?id=sample_configs
>
> But I've found no information on configuring the director for two auto
> changers.
>
> I've tried to add the auto changers to the director like this.
>
> Storage {
> Name = tape
> Address = hostname
> SDPort = 9103
> #Maximum Concurrent Jobs = 20
> #Maximum Concurrent Jobs = 4
> Maximum Concurrent Jobs = 8
> Password = "password"
> Device = Autochanger0
> Device = Autochanger1
> Media Type = ULTRIUM-LTO-4
> Autochanger = yes
> PairedStorage = tape
> }
>
> But the director seems to only know about the 1st autochanger.
>
> How can I configure the director for two auto changers?
>
> Thanks,
>
> Peter
Thanks Marco, that seemed to work.
I have a question though about the output from *status storage=tape & *status
storage=tape2. The output from both show the details of both auto changers,
not one. Is that expected?
Here is an example:
*status storage=tape
Connecting to Storage daemon tape at gideon2.wycliffe.org:9103
orlbacula-sd Version: 13.2.2 (12 November 2013) x86_64-unknown-linux-gnu redhat
CentOS release 6.2 (Final)
Daemon started 18-Jun-15 13:48. Jobs: run=0, running=0.
Heap: heap=135,168 smbytes=46,706 max_bytes=148,462 bufs=126 max_bufs=140
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0 bwlimit=0kB/s
Running Jobs:
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
====
Device status:
Autochanger "Autochanger0" with devices:
"Drive-0" (/dev/tape/by-id/scsi-3500308c09c552000-nst)
"Drive-1" (/dev/tape/by-id/scsi-3500308c09c552004-nst)
Autochanger "Autochanger1" with devices:
"Drive-2" (/dev/tape/by-id/scsi-3500308c09d3ab000-nst)
"Drive-3" (/dev/tape/by-id/scsi-3500308c09d3ab004-nst)
Device "Drive-0" (/dev/tape/by-id/scsi-3500308c09c552000-nst) is not open.
Slot 21 was last loaded in drive 0.
==
Device "Drive-1" (/dev/tape/by-id/scsi-3500308c09c552004-nst) is not open.
Drive 1 is not loaded.
==
Device "Drive-2" (/dev/tape/by-id/scsi-3500308c09d3ab000-nst) is not open.
Drive 0 is not loaded.
==
Device "Drive-3" (/dev/tape/by-id/scsi-3500308c09d3ab004-nst) is not open.
Drive 1 is not loaded.
==
====
Used Volume status:
====
====
And here are the configs:
---------------
bareos-dir.conf
---------------
Storage {
Name = tape
Address = hostname
SDPort = 9103
Maximum Concurrent Jobs = 8
Password = "password"
Device = Autochanger0
Media Type = ULTRIUM-LTO-4
Autochanger = yes
}
Storage {
Name = tape2
Address = hostname
SDPort = 9103
Maximum Concurrent Jobs = 8
Password = "password"
Device = Autochanger1
Media Type = ULTRIUM-LTO-4b
Autochanger = yes
}
--------------
bareos-sd.conf
--------------
Autochanger {
Name = Autochanger0
Device = Drive-0, Drive-1
Changer Command = "/etc/bareos/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/tape/by-id/scsi-1ADIC_A0C0057818_LLA
}
Device {
Name = Drive-0
Drive Index = 0
Media Type = ULTRIUM-LTO-4
Archive Device = /dev/tape/by-id/scsi-3500308c09c552000-nst
Changer Device = /dev/tape/by-id/scsi-1ADIC_A0C0057818_LLA
Device Type = Tape
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Check Labels = yes
LabelMedia = yes
Label Type = ANSI
Alert Command = "sh -c '/usr/sbin/smartctl -H -d scsi -l error %c'"
}
Device {
Name = Drive-1
Drive Index = 1
Media Type = ULTRIUM-LTO-4
Archive Device = /dev/tape/by-id/scsi-3500308c09c552004-nst
Changer Device = /dev/tape/by-id/scsi-1ADIC_A0C0057818_LLA
Device Type = Tape
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Check Labels = yes
LabelMedia = yes
Label Type = ANSI
Alert Command = "sh -c '/usr/sbin/smartctl -H -d scsi -l error %c'"
}
Autochanger {
Name = Autochanger1
Device = Drive-2, Drive-3
Changer Command = "/etc/bareos/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/tape/by-id/scsi-1ADIC_A0C0048024_LLA
}
Device {
Name = Drive-2
Drive Index = 0
Media Type = ULTRIUM-LTO-4b
Archive Device = /dev/tape/by-id/scsi-3500308c09d3ab000-nst
Changer Device = /dev/tape/by-id/scsi-1ADIC_A0C0048024_LLA
Device Type = Tape
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Check Labels = yes
LabelMedia = yes
Label Type = ANSI
Alert Command = "sh -c '/usr/sbin/smartctl -H -d scsi -l error %c'"
}
Device {
Name = Drive-3
Drive Index = 1
Media Type = ULTRIUM-LTO-4b
Archive Device = /dev/tape/by-id/scsi-3500308c09d3ab004-nst
Changer Device = /dev/tape/by-id/scsi-1ADIC_A0C0048024_LLA
Device Type = Tape
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Check Labels = yes
LabelMedia = yes
Label Type = ANSI
Alert Command = "sh -c '/usr/sbin/smartctl -H -d scsi -l error %c'"
}
--
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.