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 IBM MQ Support » amqmdain vs strmqm

Post new topic  Reply to topic
 amqmdain vs strmqm « View previous topic :: View next topic » 
Author Message
jhidalgo
PostPosted: Thu Jan 22, 2009 2:56 pm    Post subject: amqmdain vs strmqm Reply with quote

Disciple

Joined: 26 Mar 2008
Posts: 161

This is what it says in the manual:
Quote:

Starting a queue manager service with amqmdain is not the same as using strmqm from the command line, because the WebSphere MQ service executes in a non-interactive session, running under a different user account.

But what does it really mean ?, processes always end up running with MQ's user.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 22, 2009 4:48 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you log into Windows, open a command prompt, and issue strmqm...

Then when you log out of windows, the qmgr will end.

Because you started the processes, even if they forked as the MUSR_MQADMIN. They are still children of your login process.

If you issue amqmdain, then it does an imitation of "net start" - it uses Windows APIs to tell the IBM WebSphere MQ Service to start and to start the qmgr as children of the service process.
Back to top
View user's profile Send private message
kishi_25
PostPosted: Mon Oct 31, 2011 12:07 pm    Post subject: Reply with quote

Centurion

Joined: 19 Jul 2011
Posts: 100

hi mqjeff,

Is the below scenario applies (qmger ending if starts from command prompt), even if I start it from MQ Explorer.

i.e. if I start the QM from MQ explorer and log off then will the QM stop?

I'm guessing starting from command prompt and mq explorer will use different userid's.

let me know, your comments

EDIT by exerk: duplicate post below this one deleted.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Oct 31, 2011 12:11 pm    Post subject: Reply with quote

Grand High Poobah

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

kishi_25 wrote:
Is the below scenario applies (qmger ending if starts from command prompt), even if I start it from MQ Explorer.


Please don't reopen a thread from over 2 years ago; a lot can change. If you think it's relevent, start a new thread with a link.

kishi_25 wrote:
i.e. if I start the QM from MQ explorer and log off then will the QM stop?


What happens when you try it?

Another important question is why would you interactively go into MQExplorer to start a queue manager? Isn't that a little cumbersome given the alternatives available?

kishi_25 wrote:
I'm guessing starting from command prompt and mq explorer will use different userid's.


Why are you guessing that? Why are you guessing at all? Why are you not researcing and experimenting?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kishi_25
PostPosted: Mon Oct 31, 2011 12:28 pm    Post subject: Reply with quote

Centurion

Joined: 19 Jul 2011
Posts: 100

I'm using MQ explorer since there are only 2 QM.
Couple of days I started the QM in explorer
and still its running even after log off.

other than using strmqm, what other options we have?

for future, i will use new post.
Back to top
View user's profile Send private message
kishi_25
PostPosted: Mon Oct 31, 2011 12:48 pm    Post subject: Reply with quote

Centurion

Joined: 19 Jul 2011
Posts: 100

hi,

I don't see any difference between strmqm and amqmdain..at least to start queue manager

For strmqm option,
I have tried to manually start from command prompt and start from explorer..and log off..after login some time, still QM is running.

Any other comments on this?

thanks,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 31, 2011 1:10 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

kishi_25 wrote:
hi,

I don't see any difference between strmqm and amqmdain..at least to start queue manager

For strmqm option,
I have tried to manually start from command prompt and start from explorer..and log off..after login some time, still QM is running.

Any other comments on this?

thanks,

strmqm has acquired a few new modes like -s or -si that give it the same type of behavior as amqmdain...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kishi_25
PostPosted: Mon Oct 31, 2011 1:28 pm    Post subject: Reply with quote

Centurion

Joined: 19 Jul 2011
Posts: 100

thats true..i'm reading in infocenter as strmqm -ss is equivalent to starting QM with amqmdain option
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » amqmdain vs strmqm
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.