Author |
Message
|
gpklos |
Posted: Tue Jan 18, 2005 1:51 pm Post subject: Server Program bringin down queue manager |
|
|
Centurion
Joined: 24 May 2002 Posts: 108
|
I've heard that when you make an MQ program that "binds" to the queue manager versus a client program, that if there is any type of problem with the program that it could take down the queue manager. Has anyone heard anything like this, especially on unix queue managers.
Thanks,
Gary |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jan 18, 2005 2:00 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Not quite true Gary.
What you don't want to make is a specific bindings connection (trusted) used for performance gain that is running your process inside the qmgr program (read up on manual).
The standard bindings is ok on the server. The problem you will get however is that you might not be able to shut the qmgr down while one of the processes using bindings has a connection open.
The qmgr will only really shut down after those processes have been shutdown or killed.
Enjoy  |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Jan 18, 2005 2:19 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
fjb_saper wrote: |
The problem you will get however is that you might not be able to shut the qmgr down while one of the processes using bindings has a connection open. |
Which is why you should always specify the "fail if quiescing" option when you can. |
|
Back to top |
|
 |
gpklos |
Posted: Tue Jan 18, 2005 3:17 pm Post subject: Server Program bringin down queue manager |
|
|
Centurion
Joined: 24 May 2002 Posts: 108
|
Thanks for the replies guys. This has been an issue and our managers didn't want us using "server" programs. They are afraid if we let applications use server programs, then they might not be able to go back to using a client program because if they make coding changes like a two phase commit under bindings mode, then they would have to change the program to run as a client by putting in separate commits for mq and the database, therefore making the program not as "portable".
Gary |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jan 18, 2005 7:50 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The whole point of running in bindings mode on a server is to enable 2 phase commit. It really depends on your application requirements. It there is no need for a 2 phase commit, by all means use a client connection.
However you should always approach the model with a clear head and let the requirements drive the decision not the other way round...
Enjoy  |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Jan 19, 2005 6:11 am Post subject: Re: Server Program bringin down queue manager |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
gpklos wrote: |
This has been an issue and our managers didn't want us using "server" programs. |
I think that you need to explain to your managers the difference between a 'regular binding' and a 'trusted binding'. It sounds like you need to avoid the trusted bindings and you'll be ok. |
|
Back to top |
|
 |
|