Author |
Message
|
Chandra Mohan |
Posted: Thu Mar 20, 2014 2:27 am Post subject: WMQ Start Up Script |
|
|
 Acolyte
Joined: 26 Jul 2006 Posts: 53
|
HI Guys,
I am planning to write a start & stop script and going to consider following points:
TO End QMGR i will validate following conditions to say QMGR is stop.
- All process shud stop associated with QMGR.
- QMGR release IPC resources ( Its not necessary to validate, still).
Please share your opinion and sugeestion to make script perfect to implement. _________________ Chandra Mohan |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Mar 20, 2014 4:03 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
How will this script differ from the supplied endmqm control command? _________________ 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 |
|
 |
Tibor |
Posted: Thu Mar 20, 2014 5:55 am Post subject: Re: WMQ Start Up Script |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Chandra Mohan wrote: |
QMGR release IPC resources ( Its not necessary to validate, still). |
I have not seen this problem since v6. |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Mar 20, 2014 5:56 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Start with this and this scripts. If you always construct your Qmgr as if it was going to be HA, then it is easier to make it an HA Qmgr after the fact. It also gives you better isolation. |
|
Back to top |
|
 |
Chandra Mohan |
Posted: Thu Mar 20, 2014 8:11 pm Post subject: |
|
|
 Acolyte
Joined: 26 Jul 2006 Posts: 53
|
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Mar 20, 2014 8:53 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I've seen Tools like rfhutil can leave handles/processes running around that stop a Queue Manager from restarting after a stop.
Granted that this is windows only but the same behavior might apply on other OS's.
I guess that this is what the poster was referring to. _________________ 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 |
|
 |
fjb_saper |
Posted: Fri Mar 21, 2014 10:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
In fact any process that holds a queue open without having set option fail if quiesce... !  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|