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 » WebSphere Message Broker (ACE) Support » Running WMB as a MQ service - what are implications?

Post new topic  Reply to topic
 Running WMB as a MQ service - what are implications? « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Fri Mar 01, 2013 12:39 am    Post subject: Running WMB as a MQ service - what are implications? Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I would quite like to run our WMB v7 brokers on AIX as an MQ service, however I believe it would have the following implications - anyone know of any more, or how to get around these ones?

Since it would run the broker under the mqm userid....

Any files created by the broker (file nodes) would have mqm as the owner.

Might also prevent access to existing files or directories created under the previous broker id.

Any SFTP would come from the mqm id, with SSH key implications.

Inability to configure different brokers with own .profiles pointing to different versions of WMB 7, or different ODBC files, or different environment variables.

-----

All in all it would seem better to run the QM under the broker id(s) rather than the other way around. Are there any issues with this approach?

(we have several brokers, each with their own unique broker id).
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Mar 01, 2013 9:33 pm    Post subject: Reply with quote

Grand High Poobah

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

Have you looked into the service startup script calling sudo ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Fri Mar 01, 2013 11:40 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Not yet.

However the service entry is automatically created when you mark the broker as being an MQ service. It is IBM defined.

I suppose I could modify it, but I do wonder if IBM have thought this feature through enough in real-world terms because on the one hand they generally recommend running MQ under mqm.

On the other hand they generally recommend not running a broker under mqm, but creating a new broker id.

But their "start broker as a MQ service" definition automatically uses the MQ id for the broker.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Mar 02, 2013 11:15 am    Post subject: Reply with quote

Grand High Poobah

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

zpat wrote:
Not yet.

However the service entry is automatically created when you mark the broker as being an MQ service. It is IBM defined.

I suppose I could modify it, but I do wonder if IBM have thought this feature through enough in real-world terms because on the one hand they generally recommend running MQ under mqm.

On the other hand they generally recommend not running a broker under mqm, but creating a new broker id.

But their "start broker as a MQ service" definition automatically uses the MQ id for the broker.



may be true for distributed non windows. In windows the broker runs as a service under the service id, regardless of how it is started...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Sun Mar 03, 2013 1:02 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

This is AIX; anyone had experience of running WMB as a MQ service?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Mar 05, 2013 5:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

zpat wrote:
This is AIX; anyone had experience of running WMB as a MQ service?


A typical setup would be:

1. Create your startup script for init.d as you would normally.
2. In rc.d directory put two scripts (or links to two scripts) startup, shutdown.
3. In your startup scripts, be sure to sudo into the proper service Id (not mqm) and load the mqsiprofile.


Make good use of the sleep command to allow the system to take it easy on startup and shutdown.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Mar 05, 2013 5:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
zpat wrote:
This is AIX; anyone had experience of running WMB as a MQ service?


A typical setup would be:

1. Create your startup script for init.d as you would normally.
2. In rc.d directory put two scripts (or links to two scripts) startup, shutdown.
3. In your startup scripts, be sure to sudo into the proper service Id (not mqm) and load the mqsiprofile.


Make good use of the sleep command to allow the system to take it easy on startup and shutdown.


Which oddly enough doesn't run Broker as an MQ service.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Mar 05, 2013 5:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mqjeff wrote:
Which oddly enough doesn't run Broker as an MQ service.


I agree with your comment. I was pointing out a 'typical' setup that some people use in the AIX environment to automatically start and stop Broker gracefully, which I assumed was the raison d'etre of the genesis of his inquiry.

It is quite possible that I assumed incorrectly.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Mar 05, 2013 5:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I kind of assumed he was serious when he said
zpat wrote:
I would quite like to run our WMB v7 brokers on AIX as an MQ service,


Perhaps I assumed incorrectly.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Mar 05, 2013 6:26 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Jeff - you are correct. We already have HA startup scripts that work with broker ids.

I would like to simplify matters as we migrate to new hardware and thought that this might be a "quick win", but it would seem that this is not going to work, unless we run MQ under the broker id for each broker.
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 » WebSphere Message Broker (ACE) Support » Running WMB as a MQ service - what are implications?
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.