The CoBMR configuration utility (cobmrcfg) can be triggered pre Cohesity backup to run automatically. Generating a fresh configuration makes sure the file is up to date and takes account of any changes to disks/OS patches/hardware etc.
There are two stages required for setup: A script on the source and enabling the setting on the Cohesity Console
First create the script, basic examples are shown below:
Windows
@cd "%ProgramFiles%\Cristie\CoBMR" && cobmrcfg.exe
Save as ‘cristieCoBMR.bat’ and place in ‘c:\program files\cohesity\user_scripts’
Linux
#!/bin/bash
SHELL=/bin/bash
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/root/bin:
cobmrcfg
To find the PATH variable of your Linux system run the below in a terminal with root access
$PATH
e.g.
Save as ‘cristieCoBMR.sh’ and place in /opt/cohesity/agent/software/crux/bin/user_script/
On the Cohesity Console enable and modify the protection job Additional Settings, pre & post scripts, Pre Script to include the script name e.g.
Windows
Linux
Increase the timeout if required. Due to the nature of Windows systems this can take some time, especially if the system has lots of disks.
When deploying throught the Cristie Virtual Appliance (VA), these scripts are placed in the correct folders automatically on install. Just set the Coheisty Protection job pre-script option to use.