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 » IBM MQ Installation/Configuration Support » Location of Quemanagers and Queue's

Post new topic  Reply to topic
 Location of Quemanagers and Queue's « View previous topic :: View next topic » 
Author Message
jteppema
PostPosted: Wed Jul 20, 2005 1:59 am    Post subject: Location of Quemanagers and Queue's Reply with quote

Newbie

Joined: 20 Jul 2005
Posts: 4

We are looking for a way to seperate the location of several queuemanagers and it's queue's on seperated volumes.

We are running WebShpere MQ 5.3 fix 9 on Windows 2003 servers.

We are looking for a config like this....

QM1 location D:\MQ
QM2 location E:\MQ
QM3 location F:\MQ

Can this be done when all MQ's are running under the same MQ service?

Kind regards,

Jeroen Teppema
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jul 20, 2005 3:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You could probably do it on Unix, but I don't think you can do it on Windows.

To do it on Unix, you would have to cross mount /var/mqm/qmgrs/QMGR1/ from somewhere other than where /var/mqm/qmgrs/QMGR2 was.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Wed Jul 20, 2005 4:04 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

You can sort of do it on windows.

From W2K there is the possibility to make storage available to a certain directory (from different drives). You can also attach several drive letters to it then.

You should see your W2k admin for this.

cheers
Sebastian
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jul 20, 2005 4:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

sebastianhirt wrote:
You can sort of do it on windows.

From W2K there is the possibility to make storage available to a certain directory (from different drives). You can also attach several drive letters to it then.

You should see your W2k admin for this.


Would this let you put, for example, C:\Program Files\WebSphere MQ\qmgrs\QMGR1 on a different storage location from c:\Program Files\WebSphere MQ\qmgrs\QMGR2? And could you also simultanously mount the same storage at M:\MQ?

Or, kind of the other way around, would this let you mount M:\MQ as C:\Program Files\WebSphere MQ\qmgrs\QMGR1? This would have to be a "hard link", not a shortcut or an alias.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Wed Jul 20, 2005 5:33 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

I am a bit short in time, because I am in a SAP training. So please excuse me if I am not giving a 100% acurate post.

Quote:
Would this let you put, for example, C:\Program Files\WebSphere MQ\qmgrs\QMGR1 on a different storage location from c:\Program Files\WebSphere MQ\qmgrs\QMGR2? And could you also simultanously mount the same storage at M:\MQ?


Yes. I did the exactly same thing once with my Program Files directory because my C:\ drive was full like crazy. A bit of a mess to implement though.

Quote:
Or, kind of the other way around, would this let you mount M:\MQ as C:\Program Files\WebSphere MQ\qmgrs\QMGR1? This would have to be a "hard link", not a shortcut or an alias.


AFAIK No'ish. If I remember correctly, you can only use free partitions/drives for this purpose. But you can give it different drive letters on top.

I would go as far and compare it with a hard link. But is not quiet the same.
Also it is not quiet as ellegant as a mount and requires rebooting. But if you plan and implement this in advance, or use it as a emergency fix it is quiet handy.

I would say it is something in between.

If somebody is interested, I can write together a little "how to" (on the weekend, or early next week) and post it here.
Back to top
View user's profile Send private message
jteppema
PostPosted: Wed Jul 20, 2005 5:47 am    Post subject: One step to go... Reply with quote

Newbie

Joined: 20 Jul 2005
Posts: 4

Things look very good.

We have tried using a mountpoint (empty directory pointing to an other disk). With a bit of creativity we got it running.

One thing is still a bit strange...

When we start the Qm from the commandline (strmqm.exe QueueName) things work perfectly, however, when we strat the QM from within the MQExplorer the QM cannot be started because 'Default objects could not be created' AMQ5616 error.

It is not a big problem because we will be using it from the commandline only but I'm wondering what the difference is.

We also tried strmqm -c QueueName to reinitialize the system objects for this QM form the commandline, that works perfectly.

I'm looking formward to that How To document, would be great

Kind regards,

Jeroen Teppema
Back to top
View user's profile Send private message
jteppema
PostPosted: Wed Jul 20, 2005 5:57 am    Post subject: Reply with quote

Newbie

Joined: 20 Jul 2005
Posts: 4

mistake!

It's not AMQ 5616 but AMQ 5615.....

Tep
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jul 20, 2005 6:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you used crtmqm to create the queue manager, you can't use Explorer to start it, I think.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jul 20, 2005 7:33 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Jeff, I don't have v5.3 at the moment, but I thought you could use MQServices to start any qmgr that was on the same machine, no matter how it was created. Certainly, in V6, you can create a qmgr using crtmqm and then start it with the new MQ Explorer.

Honestly, I usually use strmqm on all distributed platforms anyways .....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
KeeferG
PostPosted: Wed Jul 20, 2005 7:50 am    Post subject: Reply with quote

Master

Joined: 15 Oct 2004
Posts: 215
Location: Basingstoke, UK

This is true for 5.3 also. You can control queue managers that weren't created inside the explorer with the explorer.

Keith
_________________
Keith Guttridge
-----------------
Using MQ since 1995
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Wed Jul 20, 2005 7:52 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

wschutz wrote:
Jeff, I don't have v5.3 at the moment, but I thought you could use MQServices to start any qmgr that was on the same machine, no matter how it was created. Certainly, in V6, you can create a qmgr using crtmqm and then start it with the new MQ Explorer.

Honestly, I usually use strmqm on all distributed platforms anyways .....


There was a post by JasonE (I think) about two years ago(If I recall correctly) about difficulties mixing MQExplorer/MQServices and crt/str/endmqm. These difficulties lead, in part, to the writing of the amqmdain program.

Edit: Of course, I mean only with v5.3.
_________________
I am *not* the model of the modern major general.


Last edited by jefflowrey on Wed Jul 20, 2005 8:04 am; edited 1 time in total
Back to top
View user's profile Send private message
KeeferG
PostPosted: Wed Jul 20, 2005 7:55 am    Post subject: Reply with quote

Master

Joined: 15 Oct 2004
Posts: 215
Location: Basingstoke, UK

That is true Jeff. A create done inside the explorer creates more objects and services than that from the command line. When i used to work at IBM we had scripts so that we could create qmgrs from the command line whcih had all the properties of those created in explorer.

Keith
_________________
Keith Guttridge
-----------------
Using MQ since 1995
Back to top
View user's profile Send private message Visit poster's website
jteppema
PostPosted: Wed Jul 20, 2005 11:13 am    Post subject: Reply with quote

Newbie

Joined: 20 Jul 2005
Posts: 4

I think the problem might actually be in the fact that the QM was created from within the MQ Explorer.

I've tried to create the QM from the commandline, using the disk mount as described, and that one works just fine.

Who needs GUI's anyway

I'm still working on some things with the exits path and the log directory (I want to move those to the mount disk as well). Shouldn't be to difficult with the help and advice you all gave me.

Thanks for the help and... I'll post the configuration steps in this topic. Maybe it will be of someuse for others in the future.

Kind regards,

Jeroen Teppema
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 20, 2005 1:00 pm    Post subject: Reply with quote

Grand High Poobah

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

jefflowrey wrote:


There was a post by JasonE (I think) about two years ago(If I recall correctly) about difficulties mixing MQExplorer/MQServices and crt/str/endmqm. These difficulties lead, in part, to the writing of the amqmdain program.

Edit: Of course, I mean only with v5.3.


Jeff if I remember well the problem was not so much with the creation as with starting the qmgr from the command line or through services/amqmdain.

If you created the qmgr from the command line you should as well check the services. You may have to add the listener and the trigger monitor manually.

Enjoy
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 » IBM MQ Installation/Configuration Support » Location of Quemanagers and Queue's
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.