Author |
Message
|
suffolk |
Posted: Tue Mar 04, 2008 4:28 am Post subject: Is it possible to do a failure simulation and recovery? |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
Hi all,
Is it possible to do a failure simulation & recovery of a Queue Manager? And by the way, should we do it on Queue or Queue Manager?
Thanks a million. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 04, 2008 4:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Queues don't fail.
Otherwise, anything is possible.
EDIT:
It depends on what you mean by "failure". Queue files can get damaged, and the queue therefore becomes unavailable.
This can be recovered from, using different means and under different ideas of "recovery" based on what kind of log you are using.
Again, there are ways to simulate this as well. _________________ I am *not* the model of the modern major general.
Last edited by jefflowrey on Tue Mar 04, 2008 4:47 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 04, 2008 4:42 am Post subject: Re: Is it possible to do a failure simulation and recovery? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suffolk wrote: |
Is it possible to do a failure simulation & recovery of a Queue Manager? |
Yes. Do a kill -9 on all the WMQ processes.
suffolk wrote: |
And by the way, should we do it on Queue or Queue Manager? |
Only the queue manager has running processes. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
suffolk |
Posted: Tue Mar 04, 2008 5:02 am Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
Thanks, is the kill -9 a unix command? So sorry to ask a spoon-feeding question as I am not exposed to unix environment before. Are you able to provide me with the exact command to kill the Queue Manager process?
And for the recovery, do you have any links or resources that I can readup on? Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 04, 2008 5:12 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Hi, don't take this the wrong way.
We're not here to train you or spoon feed you.
You've asked a very general question, without apparently taking the time to do basic investigations on your own. You can find links to the MQ documentation all over the place here, and that will allow you to find information on recovery & restart.
More importantly, though, you seem to have a very vague business requirement "do a failure simulation & recovery". There is almost certainly a more specific business requirement behind that, and even likely very specific technical requirements.
You should start there, rather than asking for generic help here. Then take those technical requirements and go back to the product documentation for specific information.
And, honestly, if you don't know what "kill" is or what the queue manager processes are... then you are way behind on the skills you need to perform this scenario. And, again, we're not here to train you. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
suffolk |
Posted: Tue Mar 04, 2008 5:25 am Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
So sorry about this matter, as for failure and recovery of queue manager, do you have any links or redbook that you can provide me for some readup? Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 04, 2008 5:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 04, 2008 5:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suffolk wrote: |
Thanks, is the kill -9 a unix command? |
If you don't know that don't use it. If you even have a user id that can issue it. Bad things can happen to a Unix box with the injudicious use of that command.
I also endorse the comments of jefflowrey, especially narrowing down your actual requirements into something manageable. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
suffolk |
Posted: Tue Mar 04, 2008 6:00 pm Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
Hi, for Windows environment, I tried to end processes for the MQ and it did not restart automatically, is this an expected behavior? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Mar 04, 2008 7:32 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Yes.
Unless the QM is under the control of MSCS and the process you killed is significant enough for MSCS to initiate a cluster group fail over to the alternate node where the QM will be restarted.
There is a whole chapter in the MQ System Administrators Guide on MSCS. Please check it out. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
suffolk |
Posted: Tue Mar 04, 2008 8:18 pm Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
Hi thanks, had took a look and found out that in our environment, we had the following:
a set of servers HP/UX running HP ServiceGuard (MCSG)
another set of servers Wintel running MSCS
for hardware failure, the ServiceGuard and MSCS will take care of it since it's HA.
How about for software failure? Is it possible for a Queue Manager to fail on software grounds? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 05, 2008 1:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
suffolk wrote: |
for hardware failure, the ServiceGuard and MSCS will take care of it since it's HA. |
Why only for hardware failure? Most HA software works on software as well - ServiceGuard certainly can (I've used it) and I'd be surprised if MSCS didn't.
suffolk wrote: |
How about for software failure? Is it possible for a Queue Manager to fail on software grounds? |
Anything can fail on software grounds - issue a kill -9 or fill the disk up and that'll stop anything.
You're still asking very, very basic questions. You need to spend more time researching or you will find this a slow process. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
UglyAngelX |
Posted: Wed Mar 05, 2008 4:39 am Post subject: |
|
|
Voyager
Joined: 04 Dec 2001 Posts: 90 Location: BEARS FAN IN STEELER COUNTRY
|
Before you go issuing commands all over a UNIX server, I would get together with your UNIX Admin and have him/her sit with you and make sure you are not going to fubar anything.
READ EVRYTHING YOU CAN GET YOUR HANDS ON and GOOGLE is your friend! |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 05, 2008 7:39 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
Is it possible to do a failure simulation & recovery of a Queue Manager? And by the way, should we do it on Queue or Queue Manager? |
Disaster Recovery (Business Continuation) planning should encompass everything from loss of your entire IT facility to loss of power to loss of a server to loss of a qmgr to loss of a queue to loss of data; including, but not limited to: o/s software, application programs, object definitions, queues, messages, logs, whatever.
You need to have plans. You need to test them from time to time to validate that they work.
A great place to start is reading the System Administration manual, especially the section on Recovery and Restart. _________________ 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 |
|
 |
suffolk |
Posted: Wed Mar 05, 2008 9:34 am Post subject: |
|
|
Novice
Joined: 03 Mar 2008 Posts: 24
|
Hi all, thanks for all the replies. It is indeed shed some thoughts for the IT management in our company to rethink on this policy.
And I further checked, apologize, they are not using any serviceguard, just plain Omegamon to monitor. For this environment, they are looking at a simple fail and recovery of a queue manager. |
|
Back to top |
|
 |
|