When backing up Operations Connector, keep in mind the following recommendations:
The Operations Connector policies are stored in the following directory:
Linux: /var/opt/OV/datafiles/policymanagement/store
Windows: %OvDataDir%datafiles\policymanagement\store
Each policy consists of two files, a data file (*_data) and a header file (*_header.xml).
To back up the policies:
Copy the policies to a backup location.
To restore the policies:
Copy the policies from the backup location back to the folder where Operations Connector policies are stored.
The copied policies are visible in the Operations Connector UI after you sign in. If a UI session is already open, click the refresh button.
The backsync functionality is implemented as a single Perl script, located in:
Linux: /var/opt/OV/conf/backsync/OMBackSync.pl
Windows: %OvDataDir%conf\backsync\OMBackSync.pl
Back up this script if you modified any settings in it.
To back up the script:
Stop the ombacksync process:
ovc –stop ombacksync
Copy the OMBackSync.pl script to a backup location.
Start the ombacksync process:
ovc –start ombacksync
To restore the script:
ombacksync process.OMBackSync.pl script from the backup location back to the original location, overwriting the original file in the process.ombacksync process.Several Operations Connector settings are set in XPL. For details on specific contexts, see the sections that follow.
To back up the complete local XPL configuration:
Copy the following file to a backup location:
Linux: /var/opt/OV/conf/xpl/config/local_settings.ini
Windows: %OvDataDir%conf\xpl\config\local_settings.ini
To restore the XPL configuration, restore it on a per context basis, by using the command line interface provided with XPL:
ovconfchg -edit
Edit the context options as described in the following sections.
The LWSSO configuration consists of an XML configuration file and an XPL setting.
To back up the configuration file and settings:
Copy the following configuration file to a backup location:
Linux: /var/opt/OV/conf/HPOprBSMC/lwsso-config.xml
Windows: %OvDataDir%conf\HPOprBSMC\lwsso-config.xml
Save (write down) the following XPL setting:
[HPBSMC.LWSSO] BSMAccessGroups=<user_group_role_name>
To restore the configuration file and settings:
Replace the lwsso-config.xml file on the Operations Connector system with the one from the backup.
Restore (add) the BSMAccessGroups XPL setting back to the XPL configuration.
The logging configuration for the Operations Connector Web Application is set in the following configuration file:
Linux: /var/opt/OV/conf/HPOprBSMC/bsmclog4j.properties
Windows: %OvDataDir%conf\HPOprBSMC\bsmclog4j.properties
To back up the configuration:
Copy the bsmclog4j.properties file to a backup location.
To restore the configuration:
Replace the bsmclog4j.properties file on the Operations Connector system with the one from the backup.
Operations Connector Web Application ports are configured in a configuration file and in XPL.
To back up the configuration:
Copy the following file to a backup location:
Linux: /var/opt/OV/conf/HPOprBSMC/ports.properties
Windows: %OvDataDir%conf\HPOprBSMC\ports.properties
Save (write down) the following XPL configuration settings:
[NONOV.TomcatB] HTTPPort=30001 HTTPSPort=30000
To restore the configuration:
ports.properties configuration file on the Operations Connector system with the one from the backup.Restore the port configuration in OVTomcat:
Linux:
cd /opt/OV/nonOV/tomcat/b/bin ./ovtomcatbctl –sethttpport <HTTPPort_from_backed_up_XPL_config> ./ovtomcatbctl –sethttpsport <HTTPSPort_from_backed_up_XPL_config> ./ovtomcatbctl –configure cd /opt/OV/bin./ovc –restart ovtomcatB
Windows:
cd %OvInstallDir%\nonOV\tomcat\b\bin cscript OvTomcatBCtl.vbs –sethttpport <HTTPPort_from_backed_up_XPL_config> cscript OvTomcatBCtl.vbs –sethttpsport <HTTPSPort_from_backed_up_XPL_config> cd %OvInstallDir%\bin\win64 ovc –restart ovtomcatB
Operations Connector stores its local admin user configuration in the file:
Linux: /var/opt/OV/conf/HPOprBSMC/users.properties
Windows: %OvDataDir%conf\HPOprBSMC\users.properties
To back up the configuration file:
Copy the users.properties file to a backup location.
To restore the configuration file:
Replace the users.properties file on the Operations Connector system with the one from the backup.
The Operations Connector REST Web Service Receiver is configured in XPL. Depending on the actual configuration, only some of the XPL configuration parameters listed below may be present.
To back up the configuration:
Save (write down) the following XPL configuration settings:
[eaagt] RESTWS_AUTH_PASSWORD=<parameter_value> RESTWS_AUTH_USER=<parameter_value> RESTWS_PORT=<parameter_value> RESTWS_REGISTER_CB=<parameter_value> RESTWS_USE_BASIC_AUTH=<parameter_value>
To restore the configuration:
Restore the saved settings back to the XPL configuration on a freshly installed Operations Connector system.
Operations Connector contains an out-of-the-box template for creating an Event forwarding policy (the Flexible Management policy). If you made any customizations to this template file, create a backup of this file.
This template is used by the Operations Connector tool deploy-flexmgmt.[bat|sh] to create a policy eligible for event forwarding. The policy template consists of the following two files:
f6b8aff0-f467-4851-8407-5b60395648b4_data.template
f6b8aff0-f467-4851-8407-5b60395648b4_header.xml.template
The files are located in:
Linux: /var/opt/OV/conf/HPOprBSMC/
Windows: %OvDataDir%conf\HPOprBSMC
To back up the template:
Copy the listed *.template files to a backup location.
To restore the template:
Replace the listed *.template files on the Operations Connector system with the files from the backup.