Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Send email to Ken Brobeck requesting:
    1. create controls infrastructure for a new IOC on facility production server, which includes the following:
      1.  Add boot directory: $IOC_DATA/<ioc>  directory
      2.  Add data directories: $IOC_DATA/<ioc>/<autosave,autosave-req,restore,iocInfo,archive> 
    2. directories 
      1. directories 
      2.  Add automatic boot scripts:
        1. add boot script on server defined in table 1:       /etc/inti.d/st.<ioc>
        2. add symbolic link on server defined in table 1:   /etc/rc3.d/SS98st.<ioc> ---->   /etc/init.d/st.<ioc>

                               Table 1
           

          FacilityServer
          LCLSlaci@lcls-daemon1
          LCLS-IIlaci@lcls-daemon1
          FACET-IIflaci@facet-daemon1
          TestFacacctf@testfac-daemon1
    3.  
  2. Proceed to Development Step #3

...

  1. Modify $EPICS_IOCS/screeniocs    Please note that this is a symbolic link to a CVS file.
    1. verify that the file in use has not been modified without being committed.
      1. 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
      2. cvs diff -r HEAD screeniocs
      3. 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.
    2. check out screeniocs from CVS into your work area
      1. cd
      2. cd <work>
        cvs co epics/iocCommon/All/<facility>   , where facility is Dev,Prod,facet,acctest
        1. cd epics/iocCommon/All/<facility>/screeniocs
        2. edit screeniocs
          1. 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}
          2. The "comment" field in  screeeniocs  is optional and must be preceded by a  "#".
          3. add comment in the "Mod:" section of the header
    3. commit your changes of screeniocs to CVS  as follows:
      1.  cvs commit  -m "added cpu and ioc blah" screeniocs
    4. update the screeniocs file in use
      1. cd $EPICS_IOCS/All/<facility>
      2.  rm -f screeniocs
      3. cvs update screeniocs
         

...

  1. Log onto server listed in table 1 above and perform the following commands:
    1. cd /etc/init.d
    2. ./st.<ioc>  <restart,start,stop>
  2. Use iocConsole to start an ioc, which uses the screen program
    1. iocConsole <ioc>  --stayup
  3. Boot ioc from the facility home network display 

 

How-to use screen program:

...