Author |
Message
|
kalam475 |
Posted: Sat Oct 22, 2016 12:18 am Post subject: Multi Instance Queue manager lost message |
|
|
Acolyte
Joined: 16 Jan 2015 Posts: 63
|
Hi,
I have been learning the multi instance queue manager and i set up the environment and everything is working fine switching is also happening smoothly but there is a problem.
To test it with client like application i have created a 3rd queue manager(not multi instance) from there i created a sender channel in which gave two server ip's both active and standby.
When I send message to test from remote queue manager from 3rd queue manager it is reaching the active queue manager and then i switch to stand by and make it active my reciver channel is not started immediately in standby. It will start only after i put my message in remote queue and the problem is that first message is getting lost and subsequent messages are reaching the queue manager.
I know i am missing some configuration but can't put my finger on it. I am fairly new to this please help |
|
Back to top |
|
 |
exerk |
Posted: Sat Oct 22, 2016 12:52 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Why would you expect the non-MI queue manager's SDR channel to start automatically when the active instance 'fails', if there are no messages on the XMITQ waiting to go?
How are you 'failing' the active instance? Have you ensured the test message sent to the previously active instance was set to be persistent? _________________ 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 |
|
 |
kalam475 |
Posted: Sat Oct 22, 2016 3:01 am Post subject: |
|
|
Acolyte
Joined: 16 Jan 2015 Posts: 63
|
Thanks for reply..
what i was really trying to check is if any client application is be able to auto connect to standby once the active goes down. since i dont have any client application to check i was trying to use non-MI queue manager.
so in my non-MI sender channel CONNAME i have defined two IP's l92.168.22(1414),192.168.2.23(1414)
once the switching is done my reciver in standy (which is active by now) is inactive. It is active only when there is a message waiting in XMITQ in non-MI which is fare.
but when i put first message on XMITQ the reciver is getting active but my message getting lost. From second message onwards it's working fine.
No I haven't made messages persistant.
Hope i answered your questions. |
|
Back to top |
|
 |
smdavies99 |
Posted: Sat Oct 22, 2016 3:42 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
kalam475 wrote: |
No I haven't made messages persistant.
|
Why not try it all again with persistent messages. Then go and read up about the differences between persistent and non persistent messages.
Most of us work in environments where we can't lose messages so guess what type of persistency we use? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
exerk |
Posted: Sat Oct 22, 2016 5:06 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
kalam475 wrote: |
...what i was really trying to check is if any client application is be able to auto connect to standby once the active goes down. since i dont have any client application to check i was trying to use non-MI queue manager. |
So why not try THIS? _________________ 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 |
|
 |
|