EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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: How to achive a huge number of PVs in Archive Appliance
From: Tynan Ford via Tech-talk <tech-talk at aps.anl.gov>
To: William Kirstaedter <kirstaedter at fhi-berlin.mpg.de>
Cc: tech-talk at aps.anl.gov
Date: Mon, 6 May 2024 09:21:56 -0400
Hi William,

Yes, that is correct. If you only have one appliance instance then you can set it as the default archiver with "aa.default_alias" and then you don't need to include the "archiver" info tag in your IOC databases.

In addition to the "<method>@<sampletime>" option for the "archive" info tag, you can also use the policy name string if you use that feature of the appliance. There also is a new feature specified with the aa.auto_pause setting where you can automatically pause archiving of a PV if the pvStatus in CF changes to "Inactive"

Tynan

On Mon, May 6, 2024 at 7:38 AM William Kirstaedter via Tech-talk <tech-talk at aps.anl.gov> wrote:

Hi,

I'm currently evaluating if and how we could make use of the channelfinders' archiver postprocessor.

Since there is no documentation on it (yet), I'd like to know if I assume correctly that:

- an info tag with name "archive" (or as configured in the cf) can specify how to archive a PV: "<method>@<sampletime>" where method can be either scan or monitor.
- an info tag with name "archiver" (or as configured in the cf) can specify which archiver appliance to use. it must match an alias in aa.urls in the cf application properties.

are there more secrets to it ?

thanks,

William Kirstaedter
PP&B Computer Support Group
Fritz-Haber-Institut Berlin
Am 22.01.24 um 17:13 schrieb Sky Brewer via Tech-talk:

Hi Loïc,

 

You can use the rest api to submit PVs to be archived. We maintain a python library that can read files listing PVs and submit them to be archived at https://gitlab.esss.lu.se/ics-software/py-epicsarchiver

 

Excitingly, you can also use ChannelFinder (from v4.7.2) to submit PVs to be archived. Setting a configuration of:

 


################ Archiver Appliance Configuration Processor #################
aa.urls={'default': 'http://localhost:17665'}
aa.default_alias=default
aa.enabled=true
aa.pva=false
aa.archive_property_name=archive
aa.archiver_property_name=archiver

 

 

Any PV with an info tag of “archive” to “default”, or even [email protected] will be sent to the default archiver with the default policy or using Monitor at 10Hz.

 

Hope that helps.

 

Sky

 


References:
RE: How to achive a huge number of PVs in Archive Appliance Sky Brewer via Tech-talk
Re: How to achive a huge number of PVs in Archive Appliance William Kirstaedter via Tech-talk

Navigate by Date:
Prev: Re: How to achive a huge number of PVs in Archive Appliance William Kirstaedter via Tech-talk
Next: EPICS Installation Woes Jonathan Hai via Tech-talk
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
Navigate by Thread:
Prev: Re: How to achive a huge number of PVs in Archive Appliance William Kirstaedter via Tech-talk
Next: User Identification Issue in Phoebus Rija Mobin via Tech-talk
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
ANJ, 11 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·