Author |
Message
|
subhakar99 |
Posted: Fri Feb 03, 2012 8:31 am Post subject: Configuring MQ client in 7.0 |
|
|
Novice
Joined: 03 Feb 2012 Posts: 13
|
Hi,
we are changing the existing Mq server to different network.so, the host name and ip adress of the mq server will be changed.I had not configured the original mq server.So.where should i change the configuration settings for the client.So that the client and server communicate with each other normally.I looked for amqclchl.tab but i haven't found that.So where should i change my configuration file.
Thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 03, 2012 8:46 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The information you need to change could be stored anywhere.
You need to look at the application that is establishing the client connection, and look at all of the places that it gets information from, including the shell environment that starts it. |
|
Back to top |
|
 |
subhakar99 |
Posted: Fri Feb 03, 2012 9:28 am Post subject: Not found in the shell. |
|
|
Novice
Joined: 03 Feb 2012 Posts: 13
|
I saw the script but i haven't found any necessary information in the shell script. |
|
Back to top |
|
 |
exerk |
Posted: Fri Feb 03, 2012 9:34 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
What about the WMQ-specific environment variables? What about the mqclient.ini file? _________________ 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 |
|
 |
Vitor |
Posted: Fri Feb 03, 2012 9:44 am Post subject: Re: Not found in the shell. |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
subhakar99 wrote: |
I saw the script but i haven't found any necessary information in the shell script. |
Hint: have you successfully confirmed that the client configuration is using the amqchchl.tab file? If the configuration is being done using one of the other methods that would explain why you can't find the file. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 03, 2012 9:52 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What script? The script that starts the application?
Okay, that's one place to look.
You need to look everywhere that the application reads data from. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 03, 2012 9:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
You need to look everywhere that the application reads data from. |
And everyplace the run time environment sources information from. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
subhakar99 |
Posted: Fri Feb 03, 2012 10:35 am Post subject: |
|
|
Novice
Joined: 03 Feb 2012 Posts: 13
|
I just found the below code in mqclinet.ini
ExitsDefaultPath=/var/mqm/exits
ExitsDefaultPath64=/var/mqm/exits64 |
|
Back to top |
|
 |
subhakar99 |
Posted: Fri Feb 03, 2012 10:40 am Post subject: |
|
|
Novice
Joined: 03 Feb 2012 Posts: 13
|
So this is not done by AMQCLCHL.tab.If it is done by other method.How can i alter the config files. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 03, 2012 11:01 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
subhakar99 wrote: |
I just found the below code in mqclinet.ini
ExitsDefaultPath=/var/mqm/exits
ExitsDefaultPath64=/var/mqm/exits64 |
this is completely unrelated to what information is used to identify where the queue manager is. |
|
Back to top |
|
 |
subhakar99 |
Posted: Fri Feb 03, 2012 11:03 am Post subject: |
|
|
Novice
Joined: 03 Feb 2012 Posts: 13
|
I found only that code in mqclient.ini |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 03, 2012 11:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
subhakar99 wrote: |
I found only that code in mqclient.ini |
Then the client information is being sourced from somewhere else isn't it? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
subhakar99 |
Posted: Fri Feb 03, 2012 11:20 am Post subject: |
|
|
Novice
Joined: 03 Feb 2012 Posts: 13
|
I hope so.So in this case how can i find it. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 03, 2012 11:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
subhakar99 wrote: |
I hope so.So in this case how can i find it. |
Check all of these places.
And the keep looking everywhere else the application reads data from.
Or ask the team that wrote the application. |
|
Back to top |
|
 |
subhakar99 |
Posted: Fri Feb 03, 2012 11:27 am Post subject: |
|
|
Novice
Joined: 03 Feb 2012 Posts: 13
|
ok.If any one one find more information.please let me know. |
|
Back to top |
|
 |
|