...
- . Create the $IOC_DATA directory for your cpu and iocs as follows:
- cd $IOC_DATA
- mkdir iocInfo archive restore autosave autosave-req yaml
- Create the $EPICS_IOCS cpu and ioc boot directories
- cd $EPICS_IOCS
- mkdir cpu-<area>-<subsystem-prefix><2-digit#>
- mkdir sioc-<area>-<subsystem-prefix><2-digit#>
- Modify your application to add the cpu boot scripts. If your IOC runs on a Shared Platform cpu then modify the SharedPlatform IOC Application :
- add cpuBoot/<faciilty>/<cpu node>/st.cmd
- add any dhcp.config or ethercat xml scripts
- tag and push shared the SharedPlatform tag to production using cram.
- Setup DHCP Server
- 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";
}
}
...