If the IOCs are basically running the same executable, the under <app>/
iocBoot create multiple boot directories; each st.cmd 'customizes' the
IOC but all references to common .db, .dbd, etc are identical.
On 25 Sep 2009, at 7:27 PM, Jason Tiller wrote:
Hi, Patrick, :)
On Fri, 25 Sep 2009, Patrick Thomas wrote:
What should I do if I have multiple iocs under the same top
directory, and they all use a common .db file? Is there a similar Db
directory to put them in that is not specific to one application?
I, too, am a very new EPICSonian. When I encountered this problem, I
learned that trying to maintain multiple copies became unwieldy very
quickly, especially with four or five controls weenies trying to use
it simultaneously.
My solution was to write a module that holds the shared DB files.
Then include your new module in all of the IOCs that need it. If
they're just DB files (not templates), then you can place
DB_INSTALLS += $(YOUR_MODULE)/db/your_db_file.db
in your Db/Makefile. This will copy the module's .db into your 'db'
directory.
---Jason
- References:
- db folder Patrick Thomas
- Re: db folder Andrew Johnson
- Re: db folder Patrick Thomas
- RE: db folder Mark Rivers
- Re: db folder Patrick Thomas
- Re: db folder Jason Tiller
- Navigate by Date:
- Prev:
Re: db folder Tim Mooney
- Next:
Re: alarm handler on base 3-14-11 Dirk Zimoch
- 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: db folder Jason Tiller
- Next:
Re: db folder Tim Mooney
- 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
|