Is there a mechanism to export correlation rules from 9.5 DMA to another DMA?
Hi Srikanth,
Currently there is no option in the Correlation app to import/export correlation rules. However, it is still possible to import/export a correlation rule. All correlation rules are stored in the folder C:\Skyline DataMiner\Correlation. A correlation rule will have the following naming convenition:
- correlation_NameCorrelationRule.xml
For example, if you save a correlation rule in Cube with the name CriticalAlarms, the name of the XML file will be correlation_CriticalAlarms.xml. You will copy this file in the target DMA (in the same folder). Since you are adding manually this file in the target DMA, you will need to restart the DMA in order to see the correlation rule in Cube (in the Correlation app).
When exporting correlation rules, please keep in mind the following:
- Your correlation rule cannot point to a particular element/service in the source DMA. Elements/Service IDs will be different across different DMAs. For example, if you alarm filter includes an alarm for a specific element, the correlation rule will not work in the target DMA.
- Check that the action configured in the correlation rule can be executed in the target DMA. For example, if the correlation rule triggers an automation script, you need to verify that the automation script is available in the target DMA.
I would strongly suggest to perform this action in a staging environment. As you probably noticed, correlation rules can be linked to different objects in a DMA, so depending how your correlation rule has been created, chances are high that it will not work in the target DMA.
Miguel, as we discussed this mechanism is not working for exporting correlation rules from one DMA to another as the XML file (also brain.xml file) has some embedded information to the element ID’s. Just updating the ticket for the benefit of the others.
This applies to both correlation rules from the current and old correlation engines.
I don't see an option in DataMiner Cube to export correlation rules. The correlation rules are stored as XML-files in C:\Skyline DataMiner\Correlation
You could export those files to the other DMA, and see if that works fine.
Miguel, thanks for the comprehensive response. I will try this on a staging, and fully aware that the elements/services change from DMA to DMA.
We are looking to verify the impact of DMA upgrade on some key correlation rules, hence the question. If there are different ways to verify this, please suggest.