Re: Shutting down RTEMS

"[email protected]" <[email protected]>
Newsgroups gmane.comp.sysutils.tivoli.general
Message-ID <CAMzJ2PqDeLTtQPiF6PiGJoskUNtAbANaYAV1M=fiYUbwzo+2_A__21301.3443084948$1365612345$gmane$org@mail.gmail.com>
One interesting thing you can do--*purely* for PD purposes--is add the
following to the end of KBBENV: CMS_SKIP_SITMON=Y.  This stops SITMON from
being started at TEMS initialization.  Then see if the TEMS shutdown
completes in timely fashion.  Also, remove "KSMOMS.KSMOMS" from the KDS_RUN
var within KBBENV.  Or, don't do the above and just configure KBB_RAS1 for
UNIT's 'ko4async' and 'ko4sitma' (ALL) and  see what the trace produces
error-wise and perhaps it's a well known hit.


On Wed, Apr 10, 2013 at 11:24 AM, John Alvord <jalvord-r/[email protected]> wrote:

> SITMON is busy means the TEMS is in a really bad state. ITM uses a sort of
> cooperative multi-tasking with pthreads and if any logic doesn't give up
> control you are stuck. Definitely PMR time unless you can bear to consider
> upgrading to a later level first....
>
> Regards,
>
>
>   *John Alvord* - Ph: 1-720-396-2788    Cell: none
> Customer Support - Tivoli Software - *jalvord-r/[email protected]*<jalvord-r/[email protected]>
> Advisory Engineer - Tivoli Monitoring - ITM infrastructure
> Developer Blog - *Wonderful World of Situations*<https://www.ibm.com/developerworks/mydeveloperworks/blogs/jalvord>
> Follow us on Twitter! *@Tivolisupport* <http://twitter.com/TivoliSupport>and
> *Facebook* <https://www.facebook.com/IBMTivoliSupport>
> Personalize your support needs with the *IBM Support Portal*<http://www.ibm.com/support/electronicsupport/>
> Use *Service Request*<http://www.ibm.com/software/support/servicerequest/quick_start.html>to get assistance!
> For emails regarding a PMR, copy *[email protected]*<[email protected]>
> For secure browser uploads: *https://www.ecurep.ibm.com/app/upload*<https://www.ecurep.ibm.com/app/upload>
> For Customer Support guidance: *IBM Software Support Handbook*<http://www14.software.ibm.com/webapp/set2/sas/f/handbook/home.html>
>  <http://twitter.com/TivoliSupport>
>
>
>
>
> From:        <Robin.Smith-U3F5sf8KFGKCmk9zJvdQaQC/[email protected]>
> To:        <[email protected]>,
> Date:        04/10/2013 08:49 AM
> Subject:        RE: [TME10] Shutting down RTEMS
> Sent by:        [email protected]
> ------------------------------
>
>
>
> Thanks Toben, that's the approach I usually take, check the logfiles, see
> if anything been written and if not kill, then a kill -9...
>
> The standard kill seemed to trigger something so they must have put a trap
> in there somewhere. Might be worth u changing to
>
> itmstops || itmstops || kill $pid || sleep 120 || kill -9 $pid
> Think this rtems was already dead before I tried to shut it down, agents
> were all showing offline
>
> Found this in the ms log
> Tue Apr  9 09:01:21 2013 KDS9150I   The TEMS Sitmon thread is BUSY.
> Process TaskManager::process#1 has been in the BUSY state for longer than
> 900 seconds.
> Then no more entries, until I shut it down - ring any bells with anybody???
>
>
>
>
>
> ------------------------------
> *From:* [email protected] [
> mailto:[email protected] <[email protected]>] *On
> Behalf Of *[email protected]*
> Sent:* 10 April 2013 15:07*
> To:* Discussion list for Tivoli product and Tivoli Ready products.*
> Subject:* Re: [TME10] Shutting down RTEMS
>
> Personally, Robin, I like the "try twice and dice" method.  If it still
> doesn't shut down on the second attempt, soft kill, then hard kill as last
> resort.
>
> # alias itmstops='itmcmd server stop <tems_name>'
> # pid=$(ps -e | grep kdsmain | awk '{print $1}')
> # itmstops || itmstops || kill $pid || kill -9 $pid
>
> There are a couple of minor, rare concerns with killing kdsmain, but stars
> have to align just right and edits/updates to *.DB/*.IDX files have to be
> occurring simultaneously and usually you'll be aware of those.
>
> Toben
>
>
> On Wed, Apr 10, 2013 at 8:54 AM, <*Robin.Smith-U3F5sf8KFGKCmk9zJvdQaQC/[email protected]*<Robin.Smith-U3F5sf8KFGKCmk9zJvdQaQC/[email protected]>>
> wrote:
> itmcmd server stop
>
> No -f option?  Is it better to keep trying to shutdown or kill the
> kdsmain  process if it takes longer than 10 minutes on a RTEMS??
> Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V
> 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626 1500.
>
> Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ.
> Registered in Scotland, number 327000.  Telephone: 020 7626 1500.
>
> Lloyds TSB Scotland plc. Registered Office: Henry Duncan House, 120 George
> Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone:
> 0131 225 4555.
>
> Cheltenham & Gloucester plc. Registered Office: Barnett Way, Gloucester
> GL4 3RL. Registered in England and Wales, number 2299428. Telephone: 01452
> 372372.
>
> Lloyds TSB Bank plc, Lloyds TSB Scotland plc, Bank of Scotland plc and
> Cheltenham & Gloucester plc are authorised and regulated by the Financial
> Services Authority.
>
> Halifax is a division of Bank of Scotland plc. Cheltenham & Gloucester
> Savings is a division of Lloyds TSB Bank plc.
>
> HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in
> Scotland, number 218813.  Telephone: 020 7626 1500.
>
> Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ.
> Registered in Scotland, number 95000. Telephone: 0131 225 4555
>
> This e-mail (including any attachments) is private and confidential and
> may contain privileged material. If you have received this e-mail in error,
> please notify the sender and delete it  (including any attachments)
> immediately. You must not copy, distribute, disclose or use any of the
> information in it or any attachments.
>
> Telephone calls may be monitored or recorded.
>
>
>
> _______________________________________________
> TME10 mailing list*
> **[email protected]* <[email protected]>*
> **Unsubscribe:[email protected]*<Unsubscribe%[email protected]>
>
>
>
>
> --
> "Sometimes I think that's the only right thing to do:
> To dream. to live in the world of dreams.
> But it doesn't last forever--wakefulness always comes to take me back..."
>
>
> Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V
> 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626 1500.
>
> Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ.
> Registered in Scotland, number 327000.  Telephone: 020 7626 1500.
>
> Lloyds TSB Scotland plc. Registered Office: Henry Duncan House, 120 George
> Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone:
> 0131 225 4555.
>
> Cheltenham & Gloucester plc. Registered Office: Barnett Way, Gloucester
> GL4 3RL. Registered in England and Wales, number 2299428. Telephone: 01452
> 372372.
>
> Lloyds TSB Bank plc, Lloyds TSB Scotland plc, Bank of Scotland plc and
> Cheltenham & Gloucester plc are authorised and regulated by the Financial
> Services Authority.
>
> Halifax is a division of Bank of Scotland plc. Cheltenham & Gloucester
> Savings is a division of Lloyds TSB Bank plc.
>
> HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in
> Scotland, number 218813.  Telephone: 020 7626 1500.
>
> Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ.
> Registered in Scotland, number 95000. Telephone: 0131 225 4555
>
> This e-mail (including any attachments) is private and confidential and
> may contain privileged material. If you have received this e-mail in error,
> please notify the sender and delete it  (including any attachments)
> immediately. You must not copy, distribute, disclose or use any of the
> information in it or any attachments.
>
> Telephone calls may be monitored or recorded.
> _______________________________________________
>
> TME10 mailing list
> [email protected]
> Unsubscribe:[email protected]
>
>
> _______________________________________________
> TME10 mailing list
> [email protected]
> Unsubscribe:[email protected]
>
>


-- 
"Sometimes I think that's the only right thing to do:
To dream. to live in the world of dreams.
But it doesn't last forever--wakefulness always comes to take me back..."

_______________________________________________
TME10 mailing list
[email protected]
Unsubscribe:[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.