Hello all,
We are currently using DataMiner across multiple environments (OPE, VAL, Backup, and LAB). We would like to know if there is an efficient way to deploy multiple alarm templates in a single process.
Our current workflow is to generate the alarm templates in our LAB environment and then deploy them manually to the other environments for each protocol.
For Automation Scripts and Memory files, we found that simply copying them to the "Skyline DataMiner\Scripts" folder and restarting DataMiner successfully deploys them. Is there a similar approach available for alarm templates, or is there another recommended method for deploying multiple templates at once? As the protocol versions and elements are identical across all environments.
Thank you for your help.
Hi Robin,
Generally we advise against adding/removing files manually into the directories as this can lead to issues such as unsynced files, or even non-starting DataMiner.
Depending on how often this is done, how the development goes or the needs of these deployment there are some options available.
Application Packages: Can be used to deploy various files on the system and take some configuration steps (such as setting a template as default or creating/configuring elements). This could deploy the alarm templates and automation scripts. Its main drawback is that these packages would always need to be prepared and thus are less suited for small, frequent changes.
Alternatively you could also upload the templates through the WebServices, where calls such as CreateAlarmTemplate/UpdateAlarmTemplate would then upload it to the system.
Side-note, these methods also work for Automation Scripts, removing the need to restart the system. However for scripts, you could consider using DIS, this can both help with developing the scripts and deploying them to various systems. It also integrates nicely with source control for collaboration and CI/CD.
I'd try with the creation of a .dmimport package from a dummy element (one for each AT/TT you need to export) – would that work in your case?