Hi, Great Job!
Do you plan to add this script to BC/BEE? R. czw., 24 sie 2023 o 01:32 Bill Arlofski via Bacula-users < bacula-users@lists.sourceforge.net> napisał(a): > Hello everyone, > > Several months ago, I asked on this list if anyone who was using Solaris > with a tape library in Bacula and was interested in > testing a new mtx-changer script which I was writing as a drop-in > replacement - with additional features - in Python: > ----8<---- > Subject: [Bacula-users] Anyone using Solaris as a Bacula SD with a > tape library? > Link to topic: https://marc.info/?l=bacula-users&m=168617696107454&w=2 > ----8<---- > > A big thank you to the people who responded - both Solaris users and other > OS users! > > I am happy to report that this new mtx-changer-python.py script is already > running in a few production environments. > > At this point, I feel like I have gotten as far as I can by myself and > have decided that it would be best to release it to > the public so that it can have more eyes on it and so that contributions > can be made to fix bugs, add features, or just help > make the code more "Pythonic" and just better overall. > > > General Features Summary: > -- > ----------------------- > - Works with Community and Enterprise Bacula versions > - Drop-in replacement for the default bash/perl `mtx-changer` script* > - Easily support multiple tape libraries managed by the same SD* > - Clear, easy to understand logging (if enabled) > - Several levels of logging verbosity > - Multiple libraries may be logged to the same log file with their name in > each log line, or they may be each logged to their > own separate log file. > - Fully supports Linux and FreeBSD > > > New Automatic Tape Drive Cleaning Features:** > ------------------------------------------- > - If enabled, can check if a tape drive is signalling that it needs to be > cleaned > - If enabled, can load and unload a cleaning tape when a drive signals it > needs to be cleaned > - Currently, a pseudo-random cleaning tape is selected to be loaded when > needed*** > > > NOTES: > ------ > * Can literally be used out-of-the-box to replace the standard mtx-changer > script in your Autochangers' "ChangerCommand =" > set > ting. > > * Comes with a example "INI file" configuration file. There is a global > [DEFAULT] section, and additional sections may be > added to override the [DEFAULT] setting and to allow one SD to support > more than one library using this script. > > ** Tape drive cleaning not supported on all OSes yet! This is where some > (a lot? :) of community assistance will be required > to add proper support for some of the BSDs, and possibly other Unixes. > > *** There are already ideas to keep track of cleaning tapes' usage and > possibly use a round-robin selection method rather > than the pseudo-random one as it currently is written. Thank you Arno > Lehmann for our discussions and your input about this > feature and the script in general - especially at the beginning stages. > > > Next Steps: > ----------- > - The Github repository is here: https://github.com/waa/mtx-changer-python > - Feel free to download the script and the example configuration file, or > just clone the repository > - Opening issues and/ > or code commits is welcome in the Github repository > > > Thank you in advance for any and all assistance! > > Best regards, > Bill > > -- > Bill Arlofski > w...@protonmail.com > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Radosław Korzeniewski rados...@korzeniewski.net
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users