120 likes | 287 Views
RDB Use at TRIUMF/ISAC. R. Keitel Epics Collaboration Meeting, SLAC, 27-Apr-2005. 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)
E N D
RDB Use at TRIUMF/ISAC R. Keitel Epics Collaboration Meeting, SLAC, 27-Apr-2005
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 3.13.10 • EPICS 3.14.7 (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
RDB - Basic Ideas • Collaborating tools • Loose coupling • Minimize mission-critical items Web Servers Database Servers Development Computers Production File Servers
RDB + Tools Web Application RDB “devices” 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
IOC configuration / rollback SUN (development) SUN (production) Untested code Development Area Test Area Boot Area: - previous3 - previous2 Bootconfigure Tool - previous1 - current Firewall boot IOC
Bootconfigure Tool (Perl – integrated in WebApp) SUN (production) Boot Area: update boot area roll back - previous3 Test Area 3 1 - previous2 4 2 2 - previous1 3 1 Bootconfigure Tool 4 - current
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) WebApp integrates RDB+Tools
What’s next (missing) • Configuration scripts? • Request files? • Cables etc. • Device locations IRMIS? • Integrate with module asset RDB