Author |
Message
|
holycow02 |
Posted: Tue Jun 21, 2011 1:32 pm Post subject: Active and Passive Queue Manager on same server? |
|
|
 Novice
Joined: 10 Feb 2010 Posts: 21
|
Greetings all,
The client I am at wants to test the performance hit of having an active and passive queue manager instance on one machine. The problem is, they refuse to give me 2 servers and shared disk. So I have 1 server which has 1 contact admin share attached to it (I have done the file locking tests, all pass).
What I have done so far:
1. I have created a queue manager whose logs and data are located on the share (.../mqha/log and .../mqha/qmgrs).
I attempted to make a second instance of the same queue manager, and received this notice:
Quote: |
AMQ7272: WebSphere MQ configuration information already exists. |
(I ran the dspmqinf -o command to get the queue manager instance information)
2. I created a second queue manager on the same box, whose logs and data are also on the share, and attempted to put it into passive mode. Running the endmqm -x I received this:
Quote: |
AMQ8367: Active instance of WebSphere MQ queue manager 'PWIDB1HA' not ended. |
When I tried to do the switch (I didn't think it would work, but why not) by running endmqm -s I received this:
Quote: |
AMQ7276: WebSphere MQ queue manager cannot switch over. |
I am quickly running out of ideas. Can anyone think of another way to do it? Is it even possible? There is nothing put in the error logs when i attempt any of the ideas above.
Thanks for all your help. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 21, 2011 1:38 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
vmware, two images, one server. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 21, 2011 1:41 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Also, you could create an active instance for QMA and a passive instance for QMB.
And then never create a passive instance for QMA or an active instance for QMB.
You then at least can say "there's an active instance and a passive instance running on this server". |
|
Back to top |
|
 |
holycow02 |
Posted: Tue Jun 21, 2011 1:41 pm Post subject: |
|
|
 Novice
Joined: 10 Feb 2010 Posts: 21
|
Sorry for the miscommunication, so let me clarify:
This "server" is one virtual machine. The customer refuses to give me another one, and also refuses to attach the contact admin to a second vm. This is one of those ticket happy customers where everything takes a ticket.
How can you create a passive instance without an active one? It requires the qm.ini and qmstatus.ini files? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 21, 2011 1:52 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
create the active instance on your laptop.
or create two active instances and then stop one and start it in passive mode. that's the better idea, I guess. |
|
Back to top |
|
 |
mvic |
Posted: Tue Jun 21, 2011 3:16 pm Post subject: Re: Active and Passive Queue Manager on same server? |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
holycow02 wrote: |
The client I am at wants to test the performance hit of having an active and passive queue manager instance on one machine. |
Quote: |
The problem is, they refuse to give me 2 servers and shared disk. |
To quote a great tennis player in the 1980s: you cannot be serious.
Well, the answer is quite simple really (it's so simple, that probably I have misunderstood the question). The answer is that a standby queue manager consumes insignificant resources. If and when it should become an active queue manager, it will consume precisely the same resources as it does today on the active server. |
|
Back to top |
|
 |
holycow02 |
Posted: Wed Jun 22, 2011 4:49 am Post subject: Re: Active and Passive Queue Manager on same server? |
|
|
 Novice
Joined: 10 Feb 2010 Posts: 21
|
mvic wrote: |
holycow02 wrote: |
The client I am at wants to test the performance hit of having an active and passive queue manager instance on one machine. |
Quote: |
The problem is, they refuse to give me 2 servers and shared disk. |
To quote a great tennis player in the 1980s: you cannot be serious.
Well, the answer is quite simple really (it's so simple, that probably I have misunderstood the question). The answer is that a standby queue manager consumes insignificant resources. If and when it should become an active queue manager, it will consume precisely the same resources as it does today on the active server. |
I completely agree on your quote. But it is what it is.
As to your final point, I know how much resources the standby queue manager uses, but they what to see and test it for themselves. So the battle is figuring out how to get a standby and an active on the same machine... with only one machine. |
|
Back to top |
|
 |
holycow02 |
Posted: Wed Jun 22, 2011 4:51 am Post subject: |
|
|
 Novice
Joined: 10 Feb 2010 Posts: 21
|
mqjeff wrote: |
create the active instance on your laptop.
or create two active instances and then stop one and start it in passive mode. that's the better idea, I guess. |
I attempted the 2 actives and making one passive, but MQ won't let you put a qmgr into standby mode if it doesn't have a second active instance (the outputs of attempting this are in the main thread) |
|
Back to top |
|
 |
mvic |
Posted: Wed Jun 22, 2011 5:44 am Post subject: Re: Active and Passive Queue Manager on same server? |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
holycow02 wrote: |
So the battle is figuring out how to get a standby and an active on the same machine... with only one machine. |
If you figure it out, let us know. I don't think it can be done, and that's how it should be. |
|
Back to top |
|
 |
|