EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  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  <19971998  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: Rebooting an IOC
From: "Jeff Hill" <[email protected]>
To: <[email protected]>, <[email protected]>
Cc: <[email protected]>
Date: Fri, 28 Mar 1997 09:27:47 -0700
Hello all,

> From: [email protected]
> To: [email protected]
> Cc: [email protected]
> Subject: Rebooting an IOC
> Date: Wednesday, March 26, 1997 2:39 PM
> 
> I'd like to add a "reboot" button for each IOC on one of my 
> lower-level, system EPICS displays.  My first thought was to have
> the button initiate processing of a subroutine record that simply 
> calls reboot().  But I'd like the reboot to happen when the IOC
> is "quiet", in particular, when there are no files being written
> by the save-restore tasks (the tasks that save user-enterable channels 
> that need to be restored during bootup time for a bumpless reboot).  
> Now, I realize that this is a luxury I don't get when the IOC crashes 
> or when somebody powers the crate down but, happily, these events don't
> happen very often.  

You can register a C function with vxWorks to be called by vxWorks 
before it reboots. This "reboot hook" could be used to postpone the reboot
until 
after the save restore system has been flushed to disk. There are
many examples of this sort of thing in the EPICS drivers (where
interrupts are turned off and devices are otherwise placed in a safe
state prior to rebooting).

At APS they used specialized hardware to provide remote access to the VME
system reset via a terminal server (via a special character sequence
recognized by this hardware).

Jeff

______________________________________________________
Jeffrey O. Hill           Internet     [email protected]
LANL MS H820              Voice        505 665 1831
Los Alamos NM 87545 USA   FAX          505 665 5107


Replies:
Re: Rebooting an IOC Carl Lionberger
Re: Rebooting an IOC Carl Lionberger

Navigate by Date:
Prev: Re: INC and install Andrew Johnson
Next: Re: Rebooting an IOC Bill McDowell
Index: 1994  1995  1996  <19971998  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 
Navigate by Thread:
Prev: RE: Rebooting an IOC Gordon Uchenick
Next: Re: Rebooting an IOC Carl Lionberger
Index: 1994  1995  1996  <19971998  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·