ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » One interview QUestion that I came accross !!

Post new topic  Reply to topic
 One interview QUestion that I came accross !! « View previous topic :: View next topic » 
Author Message
shashivarungupta
PostPosted: Wed Feb 25, 2009 2:56 am    Post subject: One interview QUestion that I came accross !! Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

HI ALL,

I came across one question that had been asked :

Q: How can we automatically bounce/recycle the applications connecting to the queue manager, when we bounce the queue manager. That means after stop and start of the queue manager how can we bounce the applications connecting to it automatically?

Please give me some clue.

I have an idea of writing a unix script which will monitor the status of queue manager and will respond accordingly.
Do you have any better solution?

Thanks
Varun Gupta
Back to top
View user's profile Send private message Send e-mail
dgolding
PostPosted: Wed Feb 25, 2009 3:13 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

I'm assuming this isn't a certification question, if it is, nice try

use the start and stop service commands - as the queue manager comes up, so do they - and as it comes down, they do too (if you auto start and shutdown, I think there is a separate option to continue after queue manager shutdown, check the manual)

of course, it will start as user "mqm"

Good luck with the interview
Back to top
View user's profile Send private message Visit poster's website
shashivarungupta
PostPosted: Wed Feb 25, 2009 3:24 am    Post subject: RE Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

dgolding wrote:
I'm assuming this isn't a certification question, if it is, nice try

use the start and stop service commands - as the queue manager comes up, so do they - and as it comes down, they do too (if you auto start and shutdown, I think there is a separate option to continue after queue manager shutdown, check the manual)

of course, it will start as user "mqm"

Good luck with the interview


this is not the certification question.

Anyways..
I agree when the queue manager is down the application connecting to it will also come down.
Is it really true that when queue manager will come up ..the appli. will also come up always. I dont think so. As JVM can go down after 'n' no. of connection retries. And when the QM will come up then appli. had to be bounced.
In another scenario:
But say then after I made the changes to the channel which requires the application jvm bounce then how the application will come to know.
In that case how can we make it automatically ?



Thanks
Varun Gupta
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Feb 25, 2009 3:41 am    Post subject: Re: RE Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

shashivarungupta wrote:
In that case how can we make it automatically ?


Buy monitoring software (e.g. Tivoli). Set a rule.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Feb 25, 2009 3:49 am    Post subject: Re: RE Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Vitor wrote:
shashivarungupta wrote:
In that case how can we make it automatically ?


Buy monitoring software (e.g. Tivoli). Set a rule.



If i don't have Tivoli then ?
As I don't have it. Neither Wily.
Any better solution.

Thanks
Varun Gupta
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Feb 25, 2009 3:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

An app won't go down if the queue manager it is connected to goes down.

A queue manager might not go down if an app connected to it doesn't.

The answer the interviewer was looking for depends entirely on what position you were interviewing for.

If I asked this question of a developer, I'd expect one answer and a different answer if I asked it of an MQ Admin.

Youv'e already gotten a good solid answer from dgolding. Please don't try to use this forum as a training resource.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Feb 25, 2009 4:02 am    Post subject: RE Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

mqjeff wrote:
An app won't go down if the queue manager it is connected to goes down.

A queue manager might not go down if an app connected to it doesn't.

The answer the interviewer was looking for depends entirely on what position you were interviewing for.

If I asked this question of a developer, I'd expect one answer and a different answer if I asked it of an MQ Admin.

Youv'e already gotten a good solid answer from dgolding. Please don't try to use this forum as a training resource.



Though I can discuss and point the questions out of the answers.
I got to think all the scenarios.
Anyways.. thanks a lot sir.

Appreciate your time, help and suggestions.
Thanks to all.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » One interview QUestion that I came accross !!
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.