Author |
Message
|
bkiran2020 |
Posted: Tue May 23, 2017 10:01 am Post subject: Reset RCVR channel |
|
|
 Master
Joined: 20 Jan 2011 Posts: 243 Location: US
|
In which case, we will be resetting RCVR channel |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue May 23, 2017 10:18 am Post subject: Re: Reset RCVR channel |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
bkiran2020 wrote: |
In which case, we will be resetting RCVR channel |
Was this a question?
The RESET CHANNEL script command is used to (re)set the sequence wrap value should it be out of sync with the SENDER channel end. I've seen this mostly when someone at the RCVR end of the channel deletes and redefines the channel. _________________ 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 |
|
 |
bkiran2020 |
Posted: Tue May 23, 2017 10:27 am Post subject: Re: Reset RCVR channel |
|
|
 Master
Joined: 20 Jan 2011 Posts: 243 Location: US
|
bruce2359 wrote: |
bkiran2020 wrote: |
In which case, we will be resetting RCVR channel |
Was this a question?
The RESET CHANNEL script command is used to (re)set the sequence wrap value should it be out of sync with the SENDER channel end. I've seen this mostly when someone at the RCVR end of the channel deletes and redefines the channel. |
In one DR activity, I was asked to reset the RCVR channel. I never reset the RCVR channel. Just want to know why we need to reset RCVR channel. |
|
Back to top |
|
 |
Vitor |
Posted: Tue May 23, 2017 10:35 am Post subject: Re: Reset RCVR channel |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bkiran2020 wrote: |
Just want to know why we need to reset RCVR channel. |
For the reasons given by my associate. If you're asking why you were asked to reset the RCVR channel as part of your DR activity, ask the person who asked you to do it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue May 23, 2017 6:36 pm Post subject: Re: Reset RCVR channel |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
bkiran2020 wrote: |
In one DR activity, I was asked to reset the RCVR channel. I never reset the RCVR channel. Just want to know why we need to reset RCVR channel. |
If you flipped to DR you likely replace the prod qmgr with a DR qmgr with the same name. However the channel seq numbers are unlikely to be the same. The correct seq numbers will be found in the logs. This is most probably why you were asked to reset the seq number.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
PaulClarke |
Posted: Tue May 23, 2017 8:36 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Generally speaking you should only ever need to RESET the Sending end of the channel. The Sending channel will inform the receiving side of the sequence number to expect when it next starts up.
You can RESET a receiver but it should be avoided if you possibly can. The only time you should do it is if you have no access to the sending side. However, be aware that there is a race condition which is why it is not advised. When you RESET a receiver the new sequence number is applied to the next receiver instance that starts up. So, if you are using generic receivers or a cluster environment you need to somehow ensure that it is the correct channel pairing that is next to start.
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
|