...
- Send email to Ken Brobeck requesting:
- create controls infrastructure for a new IOC on facility production server, which includes the following:
- Add boot directory: $IOC_DATA/<ioc> directory
- Add data directories: $IOC_DATA/<ioc>/<autosave,autosave-req,restore,iocInfo,archive>
directories - directories
- Add automatic boot scripts:
- add boot script on server defined in table 1: /etc/inti.d/st.<ioc>
add symbolic link on server defined in table 1: /etc/rc3.d/SS98st.<ioc> ----> /etc/init.d/st.<ioc>
Table 1
Facility | Server |
---|
LCLS | laci@lcls-daemon1 |
LCLS-II | laci@lcls-daemon1 |
FACET-II | flaci@facet-daemon1 |
TestFac | acctf@testfac-daemon1 |
- Proceed to Development Step #3
...
- Modify $EPICS_IOCS/screeniocs – Please note that this is a symbolic link to a CVS file.
- verify that the file in use has not been modified without being committed.
- cd $EPICS_IOCS/All/<facility> (the symbolic links in $EPICS_IOC_TOP/facility, points to this file)<facility> , where facility is Dev,Prod,facet,acctest
- cvs diff -r HEAD screeniocs
- if there are issues, then send email to whoever made the change or to controls-software that you are about to update this file and uncommitted edits will be lost, so please commit your changes to CVS. If you don't get a response, you can either add the changes to CVS in addition to yours or just add yours.
- check out screeniocs from CVS into your work area
- cd
- cd <work>
cvs co epics/iocCommon/All/<facility> , where facility is Dev,Prod,facet,acctest - cd epics/iocCommon/All/<facility>/screeniocs
- edit screeniocs
- add line for <ioc>. For server refer to table 1 above.
format: sioc-<area>-<subsystem prefix><2-digit #> <executable w/full absoluete path> sioc <server> [#comment}
- The "comment" field in screeeniocs is optional and must be preceded by a "#".
- add comment in the "Mod:" section of the header
- commit your changes of screeniocs to CVS as follows:
- cvs commit -m "added cpu and ioc blah" screeniocs
- update the screeniocs file in use
- cd $EPICS_IOCS/All/<facility>
- rm -f screeniocs
- cvs update screeniocs
...
- Log onto server listed in table 1 above and perform the following commands:
- cd /etc/init.d
- ./st.<ioc> <restart,start,stop>
- Use iocConsole to start an ioc, which uses the screen program
- iocConsole <ioc> --stayup
- Boot ioc from the facility home network display
How-to use screen program:
...