Author |
Message
|
k_anand2585 |
Posted: Wed Nov 09, 2011 7:15 pm Post subject: Configuring email alerts for Q manager in failover scenario |
|
|
Acolyte
Joined: 03 Nov 2011 Posts: 50
|
Hi Experts,
On windows we are configuring failover with MSCS and hence need to configure email alerts so that if q manager goes down we need alerts to make it upa nd running as the availbility is 99.9%
Any steps regarding the same will be appreciated as will try to implement in production boxes. |
|
Back to top |
|
 |
zpat |
Posted: Thu Nov 10, 2011 12:27 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
What?
The point of MSCS is to start it automatically on the other node...!
If you want to be told when it fails over - then define something at start up like a MQ service which issues an Email from a bat file.
But I imagine MSCS has some feature you can use (or just include it in the QM start up script).
Or use one of the many MQ monitoring tools. Some are free. |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Nov 10, 2011 3:47 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
email, sms or pager alerts should not be trusted to be 99.9% reliable _________________ Glenn |
|
Back to top |
|
 |
k_anand2585 |
Posted: Sat Nov 12, 2011 2:43 am Post subject: |
|
|
Acolyte
Joined: 03 Nov 2011 Posts: 50
|
Thanks a lot for your suggestions.
Will try to take help of some tools availble for monitoring or generating email alerts when a qmanager is down or listener is not working ...
I am opened to anymore suggestions!! |
|
Back to top |
|
 |
Vitor |
Posted: Sat Nov 12, 2011 4:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
k_anand2585 wrote: |
I am opened to anymore suggestions!! |
Think about what you're trying to achieve with these alerts?
What will they tell you? What do you expect the receipient to do? Who will be the receipient?
What will be the procedure in the 0.1% of cases when they don't come out?
Do not produce these in response to a management requirement of "notifications in the event of failover". That's in the same category as "WMQ will produce audit logs". _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
k_anand2585 |
Posted: Sun Nov 13, 2011 10:28 pm Post subject: |
|
|
Acolyte
Joined: 03 Nov 2011 Posts: 50
|
The idea was to generate alerts in case something goes wrong or some componensts are not working as the client expects 99.99 % high availability.
the notification should consits of which component fail take an example listener not working or q manager went down
The recepients would be MQ admin ,my mnanager and application team
I dont knwo how much releiable is this of i,plementing , as i dont have answer to your question regarding 0.1 % procedure
Regards,
AK |
|
Back to top |
|
 |
Vitor |
Posted: Mon Nov 14, 2011 5:42 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
k_anand2585 wrote: |
The idea was to generate alerts in case something goes wrong or some componensts are not working as the client expects 99.99 % high availability. |
If the client expects 99.99% high availability then you should be architecting a failover system that provides it. You will not achieve this with email alerts as the response time is too slow.
(Event occurs -> email sent -> email arrives -> email is read -> user logs on -> user acts).
Only an automated system can achieve that level of HA, and that level of HA sounds like management pulling a figure out of thin air that sounds good. If they really want 99.99% uptime (because they're a financial institution or similar) then they should consider a more robust platform than Windows. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
k_anand2585 |
Posted: Mon Nov 14, 2011 6:31 pm Post subject: |
|
|
Acolyte
Joined: 03 Nov 2011 Posts: 50
|
Very true , its a shipping and watrehosue domain and yes we are implementing HA clustering MSCS for high availbility.
The only thing wanted to know was how the email alerts should be configured any steps anyone has would be really appreciated. |
|
Back to top |
|
 |
exerk |
Posted: Tue Nov 15, 2011 1:51 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
k_anand2585 wrote: |
The only thing wanted to know was how the email alerts should be configured any steps anyone has would be really appreciated. |
The simple answer is - they shouldn't be! I'm sitting at my desk trying to get my work VPN client to connect, and it won't. I'm not sure why it won't connect, but what I am sure of is that there is a whole load of email I can't access, and if some of that email included one from your 'automated' email alerting headed "Listener on MQP100 is down", I would be blissfully ignorant of the fact! I hate technology when it doesn't work  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Nov 15, 2011 5:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
k_anand2585 wrote: |
The only thing wanted to know was how the email alerts should be configured any steps anyone has would be really appreciated. |
There's a suggestion further up to use a bat file to indicate a queue manager starting. If it's not the one you expect you know that a failover has occured. Of course this is useless if you want to be notified when failover doesn't work.
There's another suggestion further up to use MCSC facilities (if any). Again this is pointless if what you're trying to guard against is the failover not working.
But since you've still not shared what these email alerts are supposed to achieve it's all a bit pointless.
Personally I'd build some WMQ Monitoring and get that to alert you when the queue manager is down (which in theory it can't be if MCSC is working).
k_anand2585 wrote: |
, its a shipping and watrehosue domain |
That's some site if that kind of operation needs 99.9% uptime; typically that sort of thing is happy with 99%. That you're throwing that number round just increases my belief that some manager is shouting "we need email alerts" and "we need 99.9%" as soundbites without really understanding.
Especially as (from your earlier posts) you indicated it was a small site and this project was your first use of domain controllers. You tend not to get 99.9% uptime from a Windoze Wrokgroup.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
k_anand2585 |
Posted: Tue Nov 15, 2011 6:05 pm Post subject: |
|
|
Acolyte
Joined: 03 Nov 2011 Posts: 50
|
The project is wide scale where frequency of messages would be high and hence availibility is prime importance.
The messages needed to be distributed to 5 countries where the application is deployed.The Environment its elf include AIX HACMP and windows MSCS..Its jsut that we are implementing Windows MSCS and considering all scenarios regarding , if q manager goes down , than email elerts should be alerted, if failover happens it should be alerted,if there is network glitch and if channels are not running so shoot alerts.
There will be always someone to monitor the environment bust still , i think the bat file procedure is best option. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Nov 15, 2011 6:28 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
k_anand2585 wrote: |
There will be always someone to monitor the environment bust still , i think the bat file procedure is best option. |
Best option? Really? Email is passive - someone needs to be monitoring their inbox. What if the email is delayed? There is no practical way for the recipient to know that an email should have been sent.
If it's that important, then Instant Messages to cellphones would seem to be more active and immediate.
Whichever monitoring technique and product you select, what will monitor the monitoring product? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Nov 16, 2011 4:47 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
You can email a cell phone nowadays, and it acts as a page.
The email gets sent to 8605551234@vtext.com for example. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 16, 2011 6:28 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
PeterPotkay wrote: |
You can email a cell phone nowadays, and it acts as a page.
The email gets sent to 8605551234@vtext.com for example. |
And there are event-driven apps that can place phone calls with event-customized or pre-recorded or messages. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
k_anand2585 |
Posted: Fri Dec 16, 2011 1:52 am Post subject: |
|
|
Acolyte
Joined: 03 Nov 2011 Posts: 50
|
Thanks experts fpr all your suggestion configured SMTP and mobile messages events.. |
|
Back to top |
|
 |
|