Author |
Message
|
aditya.aggarwal |
Posted: Thu Sep 17, 2009 5:03 am Post subject: AMQ6090: WebSphere MQ was unable to display an error message |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
Hi,
we are doing MQ6 installation for Veritas failover at Solaris O/S. afrer doing installing MQ n both node.. We have deleted[after taking backup] the /var/mqm directotry from the second node. We did this as We will failover the /var/mqm and /var/mqm/log filesystem from the first node.
After delelting the /var/mqm we are not able to execute below commands:
mqm@oak:/var/mqm $ dspmqver
AMQ7047: An unexpected error was encountered by a command.
AMQ6090: WebSphere MQ was unable to display an error message 40806106.
Usage: dspmqver [-p Components] [-f Fields] [-b] [-v]
mqm@oak:/var/mqm $ dspmq
AMQ7047: An unexpected error was encountered by a command.
I am just wondering that what is the relation of dspmqver command with /var/mqm direcotry and why this need the /var/mqm files to run... ?
Please note that there is no FDC as we do not have any dir or File in /var/mqm at second node.
Cheers,
Aditya |
|
Back to top |
|
 |
exerk |
Posted: Thu Sep 17, 2009 5:09 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Why did you do it in the manner you have? Why did you not use the MC91 SupportPac? Why are you surprised that you have errors when you blow away a directory structure? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Thu Sep 17, 2009 5:29 am Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
We are doing Veritas MQ agent installation so we need not to follow the steps in MC91 support pack.
I deleted the dir and files in /var/mqm at Node 2 as we are going to mount the /var/mqm and /var/mqm/log filesystem from the Node one to check the manual failover. After mounting the filesystem from Node one to Node two these commands are running fine.
so just for curosity i want to know what is the realtion of dspmqver command with /var/mqm filesystem and why it need this filesystem to display the o/p? I can understnad that dspmq need the /var/mqm/qmgr direcotory to display the o/p but which dir or file needed by dspmqver command at /var/mqm? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 17, 2009 12:28 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
aditya.aggarwal wrote: |
We are doing Veritas MQ agent installation so we need not to follow the steps in MC91 support pack.
I deleted the dir and files in /var/mqm at Node 2 as we are going to mount the /var/mqm and /var/mqm/log filesystem from the Node one to check the manual failover. After mounting the filesystem from Node one to Node two these commands are running fine.
so just for curosity i want to know what is the realtion of dspmqver command with /var/mqm filesystem and why it need this filesystem to display the o/p? I can understnad that dspmq need the /var/mqm/qmgr direcotory to display the o/p but which dir or file needed by dspmqver command at /var/mqm? |
One word: mqs.ini _________________ MQ & Broker admin |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Fri Sep 18, 2009 5:00 am Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
fjb_sapper wrote:
Quote: |
aditya.aggarwal wrote:
We are doing Veritas MQ agent installation so we need not to follow the steps in MC91 support pack.
I deleted the dir and files in /var/mqm at Node 2 as we are going to mount the /var/mqm and /var/mqm/log filesystem from the Node one to check the manual failover. After mounting the filesystem from Node one to Node two these commands are running fine.
so just for curosity i want to know what is the realtion of dspmqver command with /var/mqm filesystem and why it need this filesystem to display the o/p? I can understnad that dspmq need the /var/mqm/qmgr direcotory to display the o/p but which dir or file needed by dspmqver command at /var/mqm?
One word: mqs.ini |
Which part of mqs.ini used by the dspmqver command?
Cheers,
Aditya |
|
Back to top |
|
 |
sumit |
Posted: Fri Sep 18, 2009 9:48 am Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
aditya.aggarwal wrote: |
Which part of mqs.ini used by the dspmqver command? |
Answer to the question "What is the use of mqs.ini?" answers your question. _________________ Regards
Sumit |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Sat Sep 19, 2009 4:49 am Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
sumit,
use of mqs.ini :-
The WebSphere MQ configuration file, mqs.ini, contains information relevant to all the queue managers on a WebSphere MQ installation. It is created automatically during installation. In particular, the mqs.ini file is used to locate the data associated with each queue manager.
The mqs.ini file contains:
The names of the queue managers
The name of the default queue manager
The location of the files associated with each queue manager
Information identifying any API exits (see API exits for more information)
Could you please elaborate how the mqs.ini file is required to run the dspmqver command?
Cheers,
Aditya |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Sep 19, 2009 10:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
aditya.aggarwal wrote: |
sumit,
use of mqs.ini :-
The WebSphere MQ configuration file, mqs.ini, contains information relevant to all the queue managers on a WebSphere MQ installation. It is created automatically during installation. In particular, the mqs.ini file is used to locate the data associated with each queue manager.
The mqs.ini file contains:
The names of the queue managers
The name of the default queue manager
The location of the files associated with each queue manager
Information identifying any API exits (see API exits for more information)
Could you please elaborate how the mqs.ini file is required to run the dspmqver command?
Cheers,
Aditya |
And note that in windows this is consigned to the registry...
  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Sep 20, 2009 8:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I believe that aditya's question is "Why is it necessary to know anything about any created or not created queue managers in order to find out information about the level of software that is installed".
It's a reasonable question.
Please note we are talking about dspmqVER, not dspMQ.
I don't think that mqs.ini is particularly needed for dspmqver - but I don't know for sure either way. But I suspect that it's necessary to have /var/mqm/ mounted (and/or the windows registry) in order to get at certain things or to verify that a proper installation has been done. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Sep 20, 2009 7:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sorry I misread that. Thought he was asking about dspmq.
I have seen the same results from dspmver that he displayed in his early post.
Quote: |
mqm@oak:/var/mqm $ dspmqver
AMQ7047: An unexpected error was encountered by a command.
AMQ6090: WebSphere MQ was unable to display an error message 40806106.
Usage: dspmqver [-p Components] [-f Fields] [-b] [-v]
|
They all came from a faulty installation. Reinstalling the software fixed that problem. This might also explain the bad result for dspmq  _________________ MQ & Broker admin |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Mon Sep 21, 2009 3:43 am Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
Thanks So much mqjeff... You got my question correctly...
Quote: |
Sorry I misread that. Thought he was asking about dspmq.
I have seen the same results from dspmver that he displayed in his early post.
Quote:
mqm@oak:/var/mqm $ dspmqver
AMQ7047: An unexpected error was encountered by a command.
AMQ6090: WebSphere MQ was unable to display an error message 40806106.
Usage: dspmqver [-p Components] [-f Fields] [-b] [-v]
They all came from a faulty installation. Reinstalling the software fixed that problem. This might also explain the bad result for dspmq |
There is no problem in installation if i put the directory and files back in to the /var/mqm directory[removed earlier] at the server... these commands starts workings.... So no problem in installation...
its for sure that dspmqver commands needs some file or directory from /var/mqm directory to run.... but i don't know the name of that file.....
does it mean that there is some file which correlate the MQ installation with /opt/mqm and /var/mqm? if yes what is the file name and why dspmqver command need that file to display software version?
Cheers,
Aditya |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Sep 21, 2009 10:41 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If you followed the instructions for H.A. clustering in the MC91 Support Pack, you would not be having this problem.
dspmqver is just one thing you've noticed that is broken. Who knows what else is. Good luck with your upgrades. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Tue Sep 22, 2009 1:40 am Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
PeterPotkay wrote:
Quote: |
If you followed the instructions for H.A. clustering in the MC91 Support Pack, you would not be having this problem.
dspmqver is just one thing you've noticed that is broken. Who knows what else is. Good luck with your upgrades. |
As told earlier we have installed the Veritas MQ agent so we need not to follow MC91 support pack instructions.
we have conducted application and failover testing throughly...everything is working fine.. there is no problem in this HA and failover setup..
question here is :
is there any file which correlate the MQ installation with /opt/mqm and /var/mqm ? if yes what is the file name and why dspmqver command need that file to display software version?
Cheers,
Aditya |
|
Back to top |
|
 |
exerk |
Posted: Tue Sep 22, 2009 2:12 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
aditya.aggarwal wrote: |
...As told earlier we have installed the Veritas MQ agent... |
So what? I've also done that, but as part of a proper MQC91 SupportPac installation - which has never given me the problems you are facing.
aditya.aggarwal wrote: |
...so we need not to follow MC91 support pack instructions... |
Says who? The SupportPac wasn't written just because someone had nothing better to do, it was done to make a process repeatable, standardised, and supportable - have you checked that what you're doing is a vendor-supported configuration? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Sep 22, 2009 4:11 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
We looked at the VCS MQ agent and decided to stick with MC91, mainly because VCS did not have a WMB agent and I didn't want to mix solutions, so we went with MC91 + IC91.
The VCS MQ Agent's directions for Active / Passive do indeed tell you to move the whole /var/mqm dir. Not good as you have found out. When they say the passive node is passive, they mean it - don't run anything there, not even dspmqver!
And again, good luck with your MQ upgrades as they are going to be more complicated now. I am not 100% sure, but I think that the MQ upgrade is going to want /var/mqm as well. And it needs the QM down. You are going to have to fail the QM over and leave it down just to upgrade the passive node. And then fail the group back and leave the QM down again to upgrade the normally active. Not very H.A., huh?
With MC91 we can upgrade the passive node anytime, take a 1 minute outage to fail the QM over and then upgrade the other node while the QM runs.
Sounds like you have a couple of points to discuss with your friendly Veritas rep. Let us know what they say about MQ upgrades and dspmqver on the passive node. (They'll probably say follow the instructions for an Active/Active in the VCS MQ Agent manual, even for a single QM.) _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|