Author |
Message
|
rameshchukka |
Posted: Wed Feb 11, 2015 2:05 pm Post subject: How to kill server connection channel instance |
|
|
Novice
Joined: 11 Feb 2015 Posts: 11
|
Hi Guys,
Could you please help on to kill particluar server connection channel instance in MQ 7 and MQ 7.5
when I give chsstatus(CHANNEL NAME) it will give lot many connections, From the list I want to kill one specfic instance. Can you please help me how to do this.
I was done this long back in MQ 5 by killing connection ID.
Thanks,
Ramesh |
|
Back to top |
|
 |
PaulClarke |
Posted: Wed Feb 11, 2015 2:12 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
The command STOP CHANNEL allows you to qualify the stop with CONNAME
Cheers,
Paul _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
rameshchukka |
Posted: Wed Feb 11, 2015 2:15 pm Post subject: |
|
|
Novice
Joined: 11 Feb 2015 Posts: 11
|
Hi Paul,
If we use stop command , all instances will stop. I want to stop/kill specific channel instance. |
|
Back to top |
|
 |
PaulClarke |
Posted: Wed Feb 11, 2015 2:41 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Do you want to stop a particular channel from the same IP address ? If so, why? Is it because one of the connections is doing the 'wrong' thing. If so, then why don't you stop the connection itself with STOP CONN(..)
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
rameshchukka |
Posted: Wed Feb 11, 2015 2:54 pm Post subject: |
|
|
Novice
Joined: 11 Feb 2015 Posts: 11
|
Hi Paul,
I have 10 server connection channel instances with one channel from 5 different application servers and all 5 app servers are in cluster.Each application server have 2 connections. I want to stop/kill only 2 connections from out of 10( request can be from any app server in cluster).
I can do this by shutdown application servers , but don't want to do this, becuase it is in production.
Thanks,
Ramesh |
|
Back to top |
|
 |
PaulClarke |
Posted: Wed Feb 11, 2015 2:58 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Ok, I'm going to try one more time....and I'll try to be as clear as possible....then I think I'll give up and let someone else have a go
Are all your client coming from the same IP address?
Why do you want to stop these channels ?
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
rameshchukka |
Posted: Wed Feb 11, 2015 3:07 pm Post subject: |
|
|
Novice
Joined: 11 Feb 2015 Posts: 11
|
Cleint IP's are different.
I have 4 app servers in WPC and 4 app servers are in NPC. Suddenly due to netwrok issue WPC datacenter is not able to accss by end user, but app servers in WPC datacenter are UP and running, it connected MQ, we can see server connections channels instances.
Since WPC datacenter not able to access we bring-up NPC datacenter. so end user will send messages thorugh NPC datcenter, but response messages are consuming by WPC app server since the connections are established wih MQ, We need to stop this.
So I need to stop/kill the conenctions from WPC app servers to MQ.
Thanks,
Ramesh |
|
Back to top |
|
 |
PaulClarke |
Posted: Wed Feb 11, 2015 3:16 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
So, if the IP addresses are all unique, tell me again what is wrong with the command
STOP CHANNEL(xxx) CONNAME(ipaddress)
? _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
rameshchukka |
Posted: Wed Feb 11, 2015 3:51 pm Post subject: |
|
|
Novice
Joined: 11 Feb 2015 Posts: 11
|
|
Back to top |
|
 |
hughson |
Posted: Fri Feb 13, 2015 8:02 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Dear Ramesh,
I can see you are new to this forum. I can also see that the correct answer was given as reply 1 to your post. This forum is filled with many MQ experts who answer questions on here in a voluntary manner. Please make sure you carefully read their answers so as not to frustrate them by ignoring what they have told you, we wish to ensure they continue to answer all these questions.
You will find them all the more willing to answer your future questions if you treat them respectfully.
Best Regards
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
rameshchukka |
Posted: Thu Feb 19, 2015 11:51 am Post subject: |
|
|
Novice
Joined: 11 Feb 2015 Posts: 11
|
Hi Morag,
Apologies for the same. By overlook I missed the right information from the first reply.
Paul Thanks for your patience.
Regards,
Ramesh |
|
Back to top |
|
 |
tczielke |
Posted: Thu Feb 19, 2015 12:40 pm Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
hughson wrote: |
This forum is filled with many MQ experts |
Just an observation. I have noticed by most people's profile information that gets put with their posts (myself included), that it is not very obvious who the experts are, especially those with deep level expertise in MQ Development. You should read any reply carefully, but it would probably also be helpful to know the level of expertise of the person you are interacting with. It might be helpful if a poster's tag line listed their level of expertise with MQ. Or maybe that is more personal than people want to get. Anyway, I have updated my tag line that gets left with my post to include my experience with MQ. _________________ Working with MQ since 2010. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 19, 2015 12:51 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
First, Anyone can post here.
Second, you can look at the number of posts. Old-timers often have more experience. Some posters with lower post counts are IBMers or recent retirees from IBM.
As with any post site, you should verify what you learn here, and not bet your career on the opinions of strangers _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|