Hi,
We have a bunch of aggregation rules and would like to know if it would be just a matter of moving all the contents of the Aggregation folder to the aggregation folder of the new DMS? Or its not as simple as that? We've got .txf and .xml files.
Thanks
Hi Carlos,
The definitions of the aggregation rules are available in the XML files. These files are stored in the folder C:\Skyline DataMiner\Aggregation.
Checking the content of the XML file, there are some IDs that are linked to the DMA where you created the aggregation rule. Please find below an example of an aggregation rule:
<AggregationRule enabled="true">
<ID>41effbd244384d208c88ab16459b979d</ID>
<Name>TEST_RULE</Name>
<Description></Description>
<CreatedBy>Administrator</CreatedBy>
<ModifiedBy>Administrator</ModifiedBy>
<Rule type="avg" timer="5">
<AggregationElement id="123456/12"/>
<GroupBy>
<GroupBy type="view" root="2" recursive="false"/>
</GroupBy>
<Source>
<Protocol name="Generic Driver" version="Production"/>
<Parameter id="301"/>
</Source>
<Filters>
</Filters>
<Trending>
<Trend parameter="4005" filter="41effbd244384d208c88ab16459b979d.*" avg="false" rt="false"/>
</Trending>
<AlarmTemplate>
<Param id="4005">
<Alarm filter="41effbd244384d208c88ab16459b979d.*" hysteresis=";" type="Normal">
<Monitored disabledIf="">true</Monitored>
<CL></CL>
<MaL></MaL>
<MiL></MiL>
<WaL></WaL>
<Normal>50</Normal>
<WaH>60</WaH>
<MiH>70</MiH>
<MaH>80</MaH>
<CH>90</CH>
<Info></Info>
<SmartBaseLine enable="0" cyclic="False" handleWeekends="True" intervalLength="86400" numIntervals="7" intervalOffset="0" averageType="median"></SmartBaseLine>
</Alarm>
</Param>
</AlarmTemplate>
</Rule>
</AggregationRule>
Checking the XML file, you will need to tweak the following IDs:
- ID: This is an automatic GUID generated when creating an aggregation rule. It is recommended to use a new GUID. You can use any online tool to generate a GUID
- Aggregation element ID (DMAID/EID): Hidden element created by default when installing a DMA. This element ID can be found in the file C:\Skyline DataMiner\Logging\SLElmementsInProtocol.txt (check the element using the driver Skyline Generic Aggregator)
- root: The view ID where the aggregation rule will be applied
On top of that, before to copy the aggregation rule to the other DMS, you will need to install the connectors (drivers) used by the aggregation rule. The other IDs included in the aggregation rule (which I didn't list it) are defined in the driver. These IDs will not change when moving to another DMS.
I strongly suggest to test these updates in a Staging environment before to deploy it on production. Since you are adding files manually to a DMA, you will need to restart the agent to apply these updates.
Finally, please if you can keep as alternative creating from the scratch these aggregation rules. If the aggregation rules are not complex, maybe it is easier to create them from scratch in the other DMS.
Hi Miguel,
Thanks for your response. Yes, I agree, I think it makes more sense to create them from scratch copying the values from whatever we have on the other DMA.