Author |
Message
|
aravindbv |
Posted: Tue Oct 13, 2009 7:04 am Post subject: Cluster sender channel ip address |
|
|
Novice
Joined: 07 Dec 2005 Posts: 14
|
I have a cluster with 2 queue managers with each of its own full repository on 2 different machines. Initially the sender channels for both of these Q managers were created with ip address. Recently there was a change in ipaddress for the host.
Now although the channels are updated with host name instead of ip, the updated sender channels are not starting, cluster repository still has the old ip for these sender channel in repository. sender channels shows "Binding" status.
How do i update or changes the old ip in sender channels that is being shown in cluster repositories.
Thanks for ur help |
|
Back to top |
|
 |
exerk |
Posted: Tue Oct 13, 2009 7:16 am Post subject: Re: Cluster sender channel ip address |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
aravindbv wrote: |
...How do i update or changes the old ip in sender channels that is being shown in cluster repositories... |
In accordance with the manual...the link to the Info Centre is at the top of the page. _________________ 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 |
|
 |
aravindbv |
Posted: Tue Oct 13, 2009 8:26 am Post subject: |
|
|
Novice
Joined: 07 Dec 2005 Posts: 14
|
i tried as in infocenter but no luck. basically i need to change ip in below info
Code: |
DIS CLUSQMGR(BRK1QM)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(BRK1QM) ALTDATE(2009-10-05)
ALTTIME(10.43.39) BATCHHB(0)
BATCHINT(0) BATCHSZ(50)
CHANNEL(TO.BRK1QM) CLUSDATE(2009-10-05)
CLUSTER(BRKDCL1) CLUSTIME(10.44.14)
CLWLPRTY(0) CLWLRANK(0)
CLWLWGHT(50) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(51.316.51.99 (1415))
CONVERT(NO) DEFTYPE(CLUSSDRB)
DESCR(Cluster rcvr chl for qmgrs in clstr)
|
when i do alter the channel as below
ALTER CHANNEL(TO.BRK1QM) CHLTYPE(clusrcvr) CONNAME('hostname(1415)') command process without any errors but again if i run DIS CLUSQMGR(BRK1QM) it still shows the old ip
Code: |
DIS CLUSQMGR(BRK1QM)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(BRK1QM) ALTDATE(2009-10-05)
ALTTIME(10.43.39) BATCHHB(0)
BATCHINT(0) BATCHSZ(50)
CHANNEL(TO.BRK1QM) CLUSDATE(2009-10-05)
CLUSTER(BRKDCL1) CLUSTIME(10.44.14)
CLWLPRTY(0) CLWLRANK(0)
CLWLWGHT(50) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(51.316.51.99 (1415))
CONVERT(NO) DEFTYPE(CLUSSDRB)
DESCR(Cluster rcvr chl for qmgrs in clstr)
|
|
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Oct 13, 2009 8:30 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
So, you alter a channel definition, then display clusqmgr to see the change.
What do you see when you do a display chstatus?
What do you see when you display the channel?
Important channel attributes will only change after the channel is stopped, then restarted. _________________ 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 |
|
 |
aravindbv |
Posted: Tue Oct 13, 2009 8:45 am Post subject: |
|
|
Novice
Joined: 07 Dec 2005 Posts: 14
|
I stopped and started sdr/rcvr channels on both the machines.Still the same
channel status : still old ip
Code: |
AMQ8417: Display Channel Status details.
CHANNEL(TO.BRK2QM) CHLTYPE(CLUSSDR)
CONNAME(51.316.51.99(1415)) CURRENT
RQMNAME( ) STATUS(BINDING)
SUBSTATE(NETCONNECT) XMITQ(SYSTEM.CLUSTER.TRANSMIT.QUEUE)
|
channel details : shows updated hostname
Code: |
CHANNEL(TO.BRK2QM) CHLTYPE(CLUSSDR)
ALTDATE(2009-10-13) ALTTIME(11.10.53)
BATCHHB(0) BATCHINT(0)
BATCHSZ(50) CLUSNL( )
CLUSTER(BRKDCL1) CLWLPRTY(0)
CLWLRANK(0) CLWLWGHT(50)
COMPHDR(NONE) COMPMSG(NONE)
CONNAME(hostname(1415)) CONVERT(NO)
DESCR(Cluster sender channel to other repos qmgr)
DISCINT(6000) HBINT(300)
|
cluster q manager details : still with old ip
Code: |
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(BRK2QM) ALTDATE(2009-10-05)
ALTTIME(10.44.13) BATCHHB(0)
BATCHINT(0) BATCHSZ(50)
CHANNEL(TO.BRK2QM) CLUSDATE(2009-10-05)
CLUSTER(BRKDCL1) CLUSTIME(10.44.13)
CLWLPRTY(0) CLWLRANK(0)
CLWLWGHT(50) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(51.316.51.99 (1415))
CONVERT(NO) DEFTYPE(CLUSSDRB)
|
|
|
Back to top |
|
 |
exerk |
Posted: Tue Oct 13, 2009 9:04 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Search, this very topic was covered here very recently  _________________ 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 |
|
 |
aravindbv |
Posted: Tue Oct 13, 2009 10:44 am Post subject: |
|
|
Novice
Joined: 07 Dec 2005 Posts: 14
|
i found similar post
Quote: |
cluster sender - can't seem to change conname |
but does not have the solution for the issue. If u are sure u know the post with solution, appreciate if u can point me to it.
Thanks |
|
Back to top |
|
 |
Sam Uppu |
Posted: Tue Oct 13, 2009 11:27 am Post subject: |
|
|
 Yatiri
Joined: 11 Nov 2008 Posts: 610
|
1. Suspend the qmgr from cluster.
2. Stop the listener
3. Stop the clussdr & clusrcvr channels
4. Alter the channels with whatever changes you need.
5. Start the listener & channels.
6. Resume to join the cluster.
Make sure that the ports are opened between the two hosts...do a telnet <opposite host> <opposite port> and it should show "connected". Make sure the listeners are running when you do the telnet.
Hope this helps.
Thanks. |
|
Back to top |
|
 |
aravindbv |
Posted: Tue Oct 13, 2009 11:47 am Post subject: |
|
|
Novice
Joined: 07 Dec 2005 Posts: 14
|
i did exactly as said suspend, endmql,stop,alter,start lis/ch,resume but the conname in autodefined sender channels is still the old ip. its not getting updated with new hostname thats there in sender channels.
auto defined Receiver channels have the right hostname in them |
|
Back to top |
|
 |
Sam Uppu |
Posted: Tue Oct 13, 2009 12:07 pm Post subject: |
|
|
 Yatiri
Joined: 11 Nov 2008 Posts: 610
|
aravindbv wrote: |
i did exactly as said suspend, endmql,stop,alter,start lis/ch,resume but the conname in autodefined sender channels is still the old ip. its not getting updated with new hostname thats there in sender channels.
auto defined Receiver channels have the right hostname in them |
Did you make sure the channels are stopped?. When you stopped the channels, did you do a DIS CHS(TO.*) and see. Make sure that the channels are stopped and then alter the channels.
Thanks. |
|
Back to top |
|
 |
aravindbv |
Posted: Tue Oct 13, 2009 12:16 pm Post subject: |
|
|
Novice
Joined: 07 Dec 2005 Posts: 14
|
|
Back to top |
|
 |
Sam Uppu |
Posted: Tue Oct 13, 2009 12:47 pm Post subject: |
|
|
 Yatiri
Joined: 11 Nov 2008 Posts: 610
|
Take a look at this link
Thanks. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Oct 13, 2009 1:29 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
This has been discussed many times here; and is well-documented in the WMQ Clusters manual.
Briefly, you need to remove a (defective) cluster definition from the cluster as part of this.
1. stop the channel.
2. remove the channel def from the cluster (this tells other qmgrs in the cluster to discard previous instances of the definition) ALTER CHL ( channelname ) ... CLUSTER( )
3. correct the channel def - ALTER CHL(channelname) ... CONNAME(whatever)
4. add the definition back into the cluster - ALTER CHL(channelname) ... CLUSTER(clustername)
5. Start the channel.
You do not need to stop/start listeners.
You do not need to remove the qmgr from the cluster. _________________ 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 |
|
 |
aravindbv |
Posted: Tue Oct 13, 2009 3:24 pm Post subject: |
|
|
Novice
Joined: 07 Dec 2005 Posts: 14
|
thanks all for ur valuable time. Issue is resolved. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Oct 13, 2009 3:42 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
How was the issue resolved? _________________ 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 |
|
 |
|