R. Keitel Epics Collaboration Meeting, SLAC, 27-Apr-2005 RDB Use at TRIUMF/ISAC
State of the ISAC Radioactive Beam Facility half way ØISAC-I routine operation (1.5 MeV/u) ØISAC-II start installation (SC linac – two phases >> 6.5 Mev/u) no change in controls man-power (6 EPICS) tools, tools, tools, …
EPICS Environment at ISAC EPICS EPICS (softIOC, gateway) vxWorks 5.5 (MV162, 486-PC104, Pentium-VME) Capfast Edd/dm >>> Edm Trar archiver Striptool, alh, … Perl IOCs Ø20 >>30 ( ISAC) Ø10 (other systems) 80k EPICS records
EPICS Environment (2) DevelopmentSolaris Production file serversSolaris User display serversLinux Operator consolesLinux User consolesWindows, Linux (X-servers) RDB serverLinux Web serverLinux
Web Servers Database Servers Development Computers RDB - Basic Ideas Collaborating tools Loose coupling Minimize mission-critical items Production File Servers
RDB + Tools RDB “devices” Web Application Perl Tools EPICS configuration files
Relational Database (PostgreSQL) Device classes ØCapfast ØI/O ports ØMacros Device instances ØHardware addresses ØMacros ØInterlocks Hardware info ØPLC drops Ø VME crates IOC info ØBoot area etc.
WebApp integrates RDB+Tools generate top-level Capfast schematics (device instantiation) generate dm device control panels ØInterlock display Øhyperlinks to other device control panels verify interlock implementation against specification build configuration scripts (CAN-bus, setpoint restore,..) generate html-documentation (VME channels) manage IOC configuration and roll-back
SUN (development) IOC SUN (production) boot Firewall Test Area Boot Area: - previous3 - previous2 - previous1 - current Bootconfigure Tool Development Area Untested code IOC configuration / rollback
SUN (production) Test Area Boot Area: - previous3 - previous2 - previous1 - current Bootconfigure Tool Bootconfigure Tool (Perl – integrated in WebApp) roll back update boot area
WebApp integrates RDB+Tools generate Capfast schematics (evice instantiation) generate dm device control panels ØInterlock display Øhyperlinks to other device control panels verify interlock implementation against specification build configuration scripts (CAN-bus, setpoint restore,..) generate html-documentation (VME channels) manage IOC configuration and roll-back Interaction with other databases (QA, operations).db crawler (off-line – no RDB) adl file crawler (no RDB)
What’s next (missing) Configuration scripts? Request files? Cables etc. Device locations IRMIS? Integrate with module asset RDB