Author |
Message
|
venky |
Posted: Mon May 24, 2004 5:50 am Post subject: Stopping Execution group. |
|
|
 Master
Joined: 08 Jul 2003 Posts: 205
|
Hello All,
Is there any command to stop only one execution group from the command line. I want to make it a automated process, I have to bring the execution group down for a period of time daily.
pls help,
Thanks,
Venky
-- |
|
Back to top |
|
 |
JT |
Posted: Mon May 24, 2004 6:50 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Not that I'm aware of. There's nothing in the documentation that points to a command. To the best of my knowledge the only way to do this is through the toolkit.
If you like living dangerously, you could create a script that locates the PID of the DataFlowEngine and subsequently kills it. Not sure of the ramifications for bringing down a DFE in this manner. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 24, 2004 7:01 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
JT wrote: |
Not sure of the ramifications for bringing down a DFE in this manner. |
It rolls back any transactions - hopefully - and then restarts the DFE.
So this doesn't really "stop" the execution group. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JT |
Posted: Mon May 24, 2004 7:06 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Jeff,
I don't know what mechanism/setting provides the automatic restart of a DFE, but in our v5.0.2/Solaris 2.8 environment, when we "kill -9 PID", the DFE does not restart automatically. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 24, 2004 7:15 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It should be the bipservice process that does the restart? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
venky |
Posted: Mon May 24, 2004 7:26 am Post subject: |
|
|
 Master
Joined: 08 Jul 2003 Posts: 205
|
yep, killing the DFE, immediately restarts it.
Thanks,
Venky
-- |
|
Back to top |
|
 |
kirani |
Posted: Mon May 24, 2004 10:36 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
That's correct. bipservice continiously monitors these processes and then starts a new instance of DFE immediately after it sees that one of them has been terminated.
Some of the WMQI monitoring tool, like Candle's Omegamon XE for WMQI or MQ Software's Broker monitoring tool will allow you to start or stop EG using some script. Under the cover what it does is, it will send out a system command (XML message) to stop the EG.
If you know the format of them message then you can do it yourself. But it'll be risky to do that in Production type of environment.
FYI. IF you search this form you will find the XML structure for that command. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|