On 12/12/22 05:55, Mansoor Hafeez wrote:
Do you have any sample configuration file of SD where two Autochangers are 
defined? I have tried two three different
configurations but they didn't work.

Regards,
Mansoor

Hello Mansoor,

The default bacula-sd.conf file ships with at least two different (File) 
Autochangers:

`File1` and `File2`

Doing the same with tapes and/or tape libraries is no different:

- Create two new Storages/Autochangers in the Director config, both pointing to the same 
"Address = (IP or FQDN)" of the SD
server.

- Set a different `Device =` in each of those new Director Storage/Autochanger 
resources to point to a different
`Autochanger` resource in the bacula-sd.conf file

- Set a different `MediaType =` in each of those Director Storage/Autochanger 
resources. The MediaType  in each be unique and
must match each of the Devices in the Autochanger on the SD.



On the SD:

- Create two Autochangers matching the names of the Di
rector Storage/Autochangers's `Device =` is pointing to

- Create new Device (tape drive) Resources for each of the drives in the 
libraries

- In each Autochanger resource config, set the appropriate `Device =` listing 
to associate the library with the drives
residing in it.

- For each Device (tape drive) resource, make sure it has the correct 
`MediaType =` to match the Director's
Storage/Autochanger `MediaType =` which points to the SD Autochanger that the 
Drive(s) reside in.  (yeah, say that sentence
three times fast... :)

- Reload the Director, and restart the SD

- Now, point your Jobs to either Storage and the one SD will manage both.


If you have trouble, follow what I wrote above while looking at the File1 or 
File2 Storages and just follow those settings as
a template along with my instructions.


Hope this helps,
Bill

--
Bill Arlofski
w...@protonmail.com

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to