Years ago, I used handlers to perform a lot of tasks after switchover.
I had them email the CIC Support staff that the switchover had occurred.
I "reached" across the network and changed various config files for services that would not restart after a switchover.
I used Windows Script Host to stop and start the services whose configs I just modified.
I changed the desktop wallpaper used by Systnternal's BGInfo program to show the new primary server, and changed the background on the previous primary to show a switch had occurred and the server needed rebooting. Additionally, on CIC startup, I had an initialization handler. One of its tasks was to set the wallpaper to the correct primary or backup server state.
------------------------------
Wayne Rhodeback
Astute, Inc.
------------------------------
Original Message:
Sent: 02-25-2021 20:28
From: Corey Blosser
Subject: Switchover Alerts
For anyone who may need additional details, if you perform a search online for an article titled "STEP-BY-STEP: HOW TO TRIGGER AN EMAIL ALERT FROM A WINDOWS EVENT THAT INCLUDES THE EVENT DETAILS USING WINDOWS SERVER 2016", it's a pretty good tutorial.
------------------------------
Corey Blosser
Wolters Kluwer United States Inc. on behalf of its affiliate CCH Incorporated
Original Message:
Sent: 02-25-2021 19:31
From: Tarquin Bell
Subject: Switchover Alerts
Original Message:
Sent: 2/25/2021 5:26:00 PM
From: AARON LAEL
Subject: RE: Switchover Alerts
We use:
Log: Application Log
Source: Interaction Center
Event ID: 11515
In conjunction with a powershell script to relay alerts (since the email from task scheduler has been deprecated.
------------------------------
AARON LAEL
State of Utah
Original Message:
Sent: 02-25-2021 16:48
From: Tarquin Bell
Subject: Switchover Alerts
Which Application Event log messages do you monitor?
------------------------------
Tarquin Bell
Precision Administration Services (Pty) Ltd
Original Message:
Sent: 02-25-2021 09:54
From: Corey Blosser
Subject: Switchover Alerts
I agree with Chris regarding his option 2. We currently use it for switchover alerting and it has been both reliable and fast.
------------------------------
Corey Blosser
Wolters Kluwer United States Inc., on behalf of its affiliate, CCH Incorporated
Original Message:
Sent: 02-24-2021 09:58
From: Chris Mayo
Subject: Switchover Alerts
Tina,
- ININ SNMP service can send specific traps regarding Switchover events to a monitoring platform. Knowledge of SNMP would be required to set it up but there is an ININ SNMP Tech Ref on the PConnect doc site.
- You can use a PowerShell script with Windows Task Scheduler to monitor for specific Application Event Log messages, to send e-mails as a text message.
- The challenge with using a handler is the handler runs will stop once the switchover occurs. They will run on the newly active server but depending on the situation, it may not fire as expected.
ININ SNMP is the most reliable method but option 2 also works quite well.
Hope that helps.
------------------------------
Chris Mayo
Manager, Technical Services
ConvergeOne
Original Message:
Sent: 02-22-2021 13:23
From: Tina Yocum
Subject: Switchover Alerts
Hello,
We currently have an alert set up in ICBM when a switchover has occurred but do not have a configuration for a text alert. My company uses a 3rd party monitoring system for alerts that can be texted to a distribution group which would be ideal and garner a faster response to reboot the potential backup server so we can continue to run in switchover mode immediately instead of hours later if this happens in the middle night. After that windy story, my question to the community would be to ask if anyone can tell me specifically what service or services would need to be monitored to trigger an alert? I have read the SNMP documentation in regards to this but is pretty vague or I am thick headed and not "getting it".
Any advice or suggestions is sincerely appreciated!
Thanks!
#SystemAdministration
------------------------------
Tina Yocum
NorthWestern Corporation
------------------------------