Author |
Message
|
jteppema |
Posted: Wed Jul 20, 2005 1:59 am Post subject: Location of Quemanagers and Queue's |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Jul 20, 2005 3:32 am Post subject: |
|
|
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 |
|
 |
sebastianhirt |
Posted: Wed Jul 20, 2005 4:04 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Jul 20, 2005 4:08 am Post subject: |
|
|
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 |
|
 |
sebastianhirt |
Posted: Wed Jul 20, 2005 5:33 am Post subject: |
|
|
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 |
|
 |
jteppema |
Posted: Wed Jul 20, 2005 5:47 am Post subject: One step to go... |
|
|
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 |
|
 |
jteppema |
Posted: Wed Jul 20, 2005 5:57 am Post subject: |
|
|
Newbie
Joined: 20 Jul 2005 Posts: 4
|
mistake!
It's not AMQ 5616 but AMQ 5615.....
Tep |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jul 20, 2005 6:59 am Post subject: |
|
|
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 |
|
 |
wschutz |
Posted: Wed Jul 20, 2005 7:33 am Post subject: |
|
|
 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 |
|
 |
KeeferG |
Posted: Wed Jul 20, 2005 7:50 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Wed Jul 20, 2005 7:52 am Post subject: |
|
|
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 |
|
 |
KeeferG |
Posted: Wed Jul 20, 2005 7:55 am Post subject: |
|
|
 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 |
|
 |
jteppema |
Posted: Wed Jul 20, 2005 11:13 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Jul 20, 2005 1:00 pm Post subject: |
|
|
 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 |
|
 |
|