Data Protector is highly customizable product with a wide range of configuration options. While the any global options applies to the whole Cell, the omnirc configuration file allows the user to tweak a specific client or just a module on that client system. It you have to manage a large amount of individual clients this can become a management challenge to make sure the right omnirc options are present on the right the client system.
Over the years several ways to deal with this has been found, e.g. the script omnircsync.pl (available in the download section) using the util_cmd -setomnirc push functionality. This functionality is adopted with the release of Data Protector A.10.03 into the product. We want to share some pretty handy use cases and examples of the new omnicc -update_omnirc command.
It allows to push one omnirc option (key/value pair) at a time and you can select a specific operating system type, client systems with a specific agent installed or a set of hosts in a comma separated list or from a input file.
omnicc -update_omnirc omnircName -value omnircValue [{ {-module moduleName1 [,moduleName2,..]} | {-client_os osName1 [,osName2,..]} | {inputFile | {-hosts hostName[,hostName2,..]}} }] Options: moduleName = da, ma, cc, mssql70, oracle8, vepa, (as found in cell_info file) osName = gpl, microsoft, sun, ... (as found in cell_info file)
Disable additional tree walk on all Windows clients
C:\>omnicc -update_omnirc OB2NOTREEWALK -value 1 -client_os microsoft win01.syncer.de Success win02.syncer.de Success [...] win91.syncer.de Success win92.syncer.de Success
Suppress the cross-mount point backup warnings on Linux clients
C:\>omnicc -update_omnirc OB2NOREMOTEWARNINGS -value 1 -client_os gpl lnx01.syncer.de Success lnx02.syncer.de Success [...] lnx19.syncer.de Success lnx20.syncer.de Success
Change the DNS timeout on all clients in the Cell
C:\>omnicc -update_omnirc OB2_DNSTIMEOUT -value 2 esx01.syncer.del Skip - no core components esx02.syncer.de Skip - no core components [...] win91.syncer.de Success win92.syncer.de Success
Optimize all clients with the Microsoft SQL Server agent for performance
C:\>omnicc -update_omnirc OB2SQLBLOCKSIZE -value 65536 -module mssql70 win13.syncer.de Success C:\>omnicc -update_omnirc OB2SQLMAXTRANSFERSIZE -value 4194304 -module mssql70 win13.syncer.de Success
Define settings to an individual client system
C:\>omnicc -update_omnirc OB2FORCESCSI -value WFM -hosts lnx10.syncer.de lnx10.syncer.de Success C:\>omnicc -update_omnirc OB2IMMEDFM -value 1 -hosts lnx10.syncer.de lnx10.syncer.de Success