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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: PV name changes and epics extensions |
From: | "Rock, Judith E." <[email protected]> |
To: | "Don Dohan" <[email protected]>, "Emmanuel Mayssat" <[email protected]> |
Cc: | epics <[email protected]> |
Date: | Mon, 27 Aug 2007 09:01:40 -0700 |
Hi Emmanuel,
You asked about SLAC - we're using the PV part
of IRMIS at SLAC. Our rdb is Oracle, and we're running the PV
crawler, along with client crawlers for alh, Channel Watcher, Channel Archiver,
and some sequence programs. Please let me know if you'd like more
info.
cheers,
Judy From: [email protected] [mailto:[email protected]] On Behalf Of Don Dohan Sent: Monday, August 27, 2007 8:45 AM To: Emmanuel Mayssat Cc: epics Subject: Re: PV name changes and epics extensions First, IRMIS consists of various parts - PVs, hardware and cabling. This discussion only concerns the IRMIS PV part. Emmanuel Mayssat wrote: You have to install a relational database management system, and then make the appropriate PERL crawlers work (usually this is an NFS issue: providing network access for IRMIS to the .db and.dbd files that the IOC uses to reboot).IRMIS is definitely one of the solution I am looking for. But how difficult is it to implement? It really helps to have a standard ioc build structure, to help the PV crawler find the associated resource files. We use MySQL at APS, SNS and SLAC use Oracle, the Canadian Light Source uses Microsoft Sequel Server, for example. I think that there is also some work on PostGreSQLis IRMIS for Oracle databases only? It depends on the domain. The pv crawler is the most complicated since it is trying to emulate the IOC boot process. In spite of this complexity, we have had valuable contributions/fixes to the PV crawler code.Are simple crawlers easy to program? For PV client crawlers, again it depends on how sophisticated the client handles nested macro substitution, etc A lot of these crawlers have also been written. It will be an interesting challenge for the hardware part of IRMIS to handle the plug-and-play aspects (that you were discussing in another thread). That is another topic. Don is there any other solution out there? Is anybody on this list at SLAC and using IRMIS? I definitely would like to have a short demo in the near future. Thanks, -- Emmanuel On Fri, 2007-08-24 at 14:08 -0500, Don Dohan wrote:Emmanuel This is one of the features of the IRMIS relational database. IRMIS consists of, in part, all of the PVs in your system. A pv crawler (a perl program) detects when an IOC reboots, then scans and expands that IOC's st.cmd file to load the IRMIS database with that IOCs PVs. This scanning is unobtrusive to the IOC. Other crawlers have been written to scan CA clients. At the APS, we crawl for MEDM, ALH, and SDDS clients, and we are testing the SNL crawler written at SLAC. We intend to crawl save/restore files as well (future). For each CA client instance, a list of resolved PVs is generated, and inserted into the IRMIS database. Taking the MEDM client as an example, the crawler resolves the macro substitutions for nested MEDM screens, so that it tells you which .adl file in the chain needs to be fixed if a given PV is removed. Crawlers for other CA clients have been written at other facilities - EDM, DM/2K for example. Don Dohan Emmanuel Mayssat wrote:Another question about software upgrade... Let's say that I change the name of PV in my epics database. Potentially with this change, I could break epics extensions. Medm of course, but also feedback system, PV backup, etc. Is there a way to know which extensions will break if I change a PV name? (may keeping track for each extension of the used PVs in a flat file is the solution, but is there any other, smarter ones?) -- Emmanuel |