We have configured our UIM DEV environment to process alarm messages via EMS upon recommendation via one of the support cases we opened, but it did resolve the issue we were having at that time. Now we are looking to fallback from EMS to NAS to match production. Please let us know the steps to switch back to NAS from EMS.
Out of the box/defaults you should see in the hub with nas and ems installed, but not reconfigured for EMS, will display the proper Subjects like this:
Here is a quick checklist for message queue Subject names for nas and alarm_enrichment probes with NO EMS being used:
************************************************************
1. alarm_enrichment probe uses a Subject of alarm
2. nas probe uses a Subject of alarm2
So by default, the alarm_enrichment probe uses the "alarm" Subject and forwards messages to the "alarm2" subject for the nas probe.
*************************************************************
Before ems deployment, alarm messages flow through the UIM environment in the following manner:
Post-reconfiguration, the alarm message Subjects used should be:
****************************************************************************
1.alarm_enrichment probe: Change the enrichment_subject key via nas Raw Configure mode from "alarm1" to "alarm"
2.nas probe continues to use a Subject of alarm2 (so normally no change is required here)
****************************************************************************
In some cases, if you reconfigure UIM in favor of using the NAS instead of the ems probe in your UIM environment:
The Alarm Routing Service is not 'automatically' removed.
The enrichment_subject in the nas configuration file (nas.cfg) remains or persists as "alarm1" an d that is undesireable.
In that case, use the following procedure to ensure that no alarms are lost.
Follow these steps:
This procedure assumes that legacy alarm messages are currently being sent to the ems probe.
If you did not:
a. Change the default routing destination to ems, and/or
b. Configure any routing rules to send alarms to ems,
Then-> Skip to step 3, otherwise:
Note that if you are running the spectrumgtw, you must have the ems probe installed on the Primary as well.
In some environments, if you run through the above process but after a restart of the nas/alarm_enrichment, the alarm_enrichment probe reverts back to a Subject of alarm1, follow these steps to avoid that issue:
1. Open nas probe in Raw Configure.
Change the value of the "enrichment_subject" key (under the setup section) from "alarm1" to "alarm", and save the change.
2. Deactivate the trellis probe, delete trellis probe and delete the trellis probe folder (<UIM>/probes/service/trellis)
3. Deploy the trellis probe to the Primary UIM hub and Activate it.
4. Deploy nas-api-service package to the Primary UIM hub (this only applies to UIM v9.02 or earlier DX UIM releases)
5. (Spectrum Gateway probe Users only!) Deploy Spectrum UIM Services package to the Primary UIM hub.
(*) The version of 'Spectrum UIM Services' package should match the version of the Spectrum Gateway probe.
6. Open hub probe GUI in the Primary hub, go to [Queues] tab, highlight [alarm-routing-service] queue, delete the queue and save it.
7. Lastly, empty the alarm-routing-service queue a few times until all the queued alarms in that queue are gone. Do this via the Hub Status tab and after a hub restart, the queue will disappear from the Status Tab window and this is the expected result.
Then alarm_enrichment will no longer revert back to the message Subject of alarm1!
Shown below is a screenshot of the hub GUI in IM showing an example of the default queues and their expected message Subjects for reference.
nas default message Subject is always 'alarm2,' and alarm_enrichment is 'alarm.'