1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 <2009> 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 <2009> 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Remote IOC reboot [was: EPICS for implementation of Remote Procedure Call] |
From: | Ralph Lange <[email protected]> |
To: | Emmanuel Mayssat <[email protected]> |
Cc: | [email protected] |
Date: | Thu, 16 Apr 2009 10:57:58 +0200 |
Hi Emmanuel,as Stephanie points out, a simple sub record allows for CA based reset on most IOC platforms. (No special device support necessary.)
Remember, though, there are cases when this will or might not work: IOC hangs (so the IOC doesn't work), IOC gets CPU saturated (so that CA doesn't work), IOC gets memory saturated (so that CA doesn't allow new connections). In those cases, you will probably have to get to the console of the IOC and do whatever necessary (e.g. type ^X). Workaround: it is relatively easy to create a shell script that connects to the console and echoes a ^X to it, so you can still create a GUI button that calls the shell script that connects to the console and reboots the IOC. Less elegant than CA to a sub record, still more efficient than walking over.
Also, for VME based systems, there are situations that need a VME reset rather than just a reboot of the CPU. Some VME crates (e.g. those by Wiener) are remotely controllable, so that the whole VME crate can be switched on/off or reset remotely (plus a bucket load of other functionality). For other (aka less expensive) crates some labs have developed VME cards that can be remotely accessed and are able to pull the VME reset line (plus more functionality). That is not free: A separate card always uses an extra slot.
Cheers, Ralph On 15.04.2009 20:42 Allison, Stephanie wrote:
Hi Emmanuel, There are some device support packages that provide for rebooting/restarting an IOC via record. For instance, devIocStats: http://www.slac.stanford.edu/comp/unix/package/epics/site/devIocStats/provides a sub record that calls epicsExit for soft iocs, reboot for vxWorks iocs, and bsp_reset/rtemsReboot for RTEMS iocs.Stephanie Allison-----Original Message-----From: [email protected] [mailto:[email protected]] On Behalf Of Emmanuel MayssatSent: Wednesday, April 15, 2009 11:26 AM To: [email protected] Cc: Mahajan Kirti; [email protected]Subject: Remote IOC reboot Was(EPICS for implementation of Remote Procedurecall)S,Could you describe your interface (from a user/operator perspective) toyour IOC reboot interface? I may actually be interested with that. In short I want to know: Can you reboot/control a remote IOC with the push of a GUI button? -- Emmanuel