Since Data Protector 8.11 version it is possible to distribute omnirc parameter for the Data Protector clients using a command. In a former article I informed about – please refer to https://www.data-protector.org/wordpress/2014/05/distribute-omnirc-file/. Using omnirc settings you can control the client behavior and is important from performance point of view too. With the Data Protector default settings the omnirc file is not present and usually has to be created from the template file. To prevent manual work, either by copying the file or using the command util_cmd
, Sebastian Köhler (http://www.syncer.de) wrote a Perl script automating all the stuff. Kudos to Sebastian! The script can be found at the end of the article or in download section.
The script is very handy and easy to use – see screenshot.
The settings can be distributed to all clients, clients with selected operating system, or clients with selected Data Protector modules. The script either works interactive or non-interactive and requires an ASCII formatted template file with the parameter you want to apply.
c:\>perl omnircsync.pl omnirc -os microsoft ------------------------------------------------------------------------------- Clients that will receive parameters from omnirc template: ------------------------------------------------------------------------------- [X] sqldemo [ ] ubuntuvm.localdomain [X] w2012r2dp.localdomain ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Parameter found in omnirc template: ------------------------------------------------------------------------------- OB2DEVMUTEXTIMEOUT=12000 OB2FILELIBDISKFULL=1 OB2FWPASSTHRU=1 OB2INETTIMEOUT=10 ... OB2NOREMOTEWARNINGS=1 OB2NOTREEWALK=1 OB2_SSH_ENABLED=1 ------------------------------------------------------------------------------- INTERACTIVE mode: enabled Please confirm push operation to 2 clients? (Y/N) y ------------------------------------------------------------------------------- Synchronization of omnirc started: ------------------------------------------------------------------------------- => sqldemo: [DONE] => w2012r2dp.localdomain: [DONE] -------------------------------------------------------------------------------
Download:
omnircsync.zip