70 likes | 195 Vues
This report outlines advancements in the Channel Watcher and Bumpless Reboot systems utilized by SLAC's EPICS framework, detailing their historical context and current challenges. The proposed staged implementation includes transitioning to UNIX with enhancements, enabling Oracle database integration, and providing a web interface for better statistics management. Key improvements focus on logging, channel management, and restore operation efficiencies to mitigate issues such as corrupted savesets and incomplete database boots. This initiative aims to optimize IOC operations significantly.
E N D
Channel Watcher Bumpless Reboot Replacement Related Web Page: http://www.slac.stanford.edu/grp/cd/soft/epics/extensions/ChannelWatcher/ChannelWatcher.html EPICS Collaboration Meeting Dec 3&4, 2001
Bumpless Reboot at SLAC • Back in 1996 I started with Carl Lionberger’s save_restore.c and merged with Tim Mooney's and Bob Dalesio's versions. • With only a few upgrades this has served SLAC well, but wasn’t ideal. EPICS Collaboration Meeting Dec 3&4, 2001
Current Bumpless Reboot text editor restore on IOC save on IOC Restore Savesets Channel List Files EPICS Collaboration Meeting Dec 3&4, 2001
Bumpless Reboot’s Shortcomings • File writing via NFS from IOC. We’ve seen some failure modes during disk i/o which caused savesets to become corrupted. • IOC power loss can cause incomplete savesets • Loss of saved values when IOC booted with incomplete database • Writes entire saveset when any channel changes • Difficult to add or remove a channel during operation • Difficult to add new features to tasks running on IOCs EPICS Collaboration Meeting Dec 3&4, 2001
Channel Watcher channelvalues Channel Watcher Oracle requests for savesets channel lists restore on IOC channel values /log GUI cmlog Server EPICS Collaboration Meeting Dec 3&4, 2001
Staged Implementation • Stage 1: Simple move to UNIX with enhancements (in production by end of 2001) • Stage 2: Convert Restore Savesets to caGet/caPut file format. • Stage 3: Web interface for statistics • Stage 4: Wildcarding using regular expressions • Stage 5: Channel Lists and Restore Savesets in Oracle Database • Stage 6: Restore from Oracle Database EPICS Collaboration Meeting Dec 3&4, 2001
Stage 1 Enhancements • /nowrite option for logging only. • Don't write unknown values to Restore File for when Channel Watcher can't connect to IOC • Allow other Channel List File filenames inside the Channel List File • Web documentation • Add a channel alias name which will be supplied as a comment next to the channel name on the Channel List File. • Allow Restore Savesets to be in a different directory • Throttle logging of channel changes • Create a health summary PV and additional cmlog messages when this PV goes into alarm state. • Don't tie Channel Watcher to a specific file system such as afs or nfs. EPICS Collaboration Meeting Dec 3&4, 2001