Versions Compared

Key

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

...

  1. .  Create the $IOC_DATA directory for your cpu and iocs as follows:
    1. cd $IOC_DATA
    2. mkdir  iocInfo archive restore autosave autosave-req yaml
  2.  Create the $EPICS_IOCS cpu and ioc boot directories
      1. cd $EPICS_IOCS
      2. mkdir cpu-<area>-<subsystem-prefix><2-digit#>  
      3. mkdir  sioc-<area>-<subsystem-prefix><2-digit#>
      4. Modify your application to add the cpu boot scripts.  If your IOC runs on a Shared Platform cpu then modify the SharedPlatform IOC Application  :
        1. add  cpuBoot/<faciilty>/<cpu node>/st.cmd
        2. add any dhcp.config or ethercat xml scripts
        3. tag and push shared the SharedPlatform  tag to production  using cram.
  3. Setup DHCP Server
    1. Add cpu to the DHCP configuration file under the group for linuxRT CPU diskless boot.  The DHCP Configuration file is at $TFTPBOOT/dhcpd.conf

Development; 

host cpu-b024-pm01 {                        
                          hardware ethernet 74:FE:48:16:3D:D5;
                          fixed-address   134.79.217.162;
                          option host-name "cpu-b024-pm01"
                          if ( substring( option vendor-class-identifier, 0, 5 ) = "udhcp" ) {
                           filename         "/afs/slac.stanford.edu/g/lcls/epics/iocCommon/cpu-b024-pm01/startup.cmd";
                           option root-path "afsnfs:/afs/slac.stanford.edu:/afs/slac.stanford.edu";
                          }
                }

...