This method of clearing the Notification cache has less impact on the system because you are only stopping the SAM publisher.

Procedure

  1. Stop the publisher: $ bin/dmctl -s INCHARGE-SA-PRES invoke SM_AMQPNotificationPublisher::SM-AMQPNotificationPublisher stop
  2. Clear the Notifications cache by typing these commands:
    1. $ bin/sm_service stop smarts-elasticsearch
    2. $ rm -rf local/repos/elasticsearch
    3. $ bin/sm_service start smarts-elasticsearch
  3. Restart the publisher: $ bin/dmctl -s INCHARGE-SA-PRES invoke SM_AMQPNotificationPublisher::SM-AMQPNotificationPublisher start