RDB Use at TRIUMF/ISAC
-
Upload
ferdinand-dotson -
Category
Documents
-
view
35 -
download
0
description
Transcript of RDB Use at TRIUMF/ISAC
R. KeitelEpics 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 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
EPICS Environment (2)
Development Solaris
Production file servers Solaris
User display servers Linux
Operator consoles Linux
User consoles Windows, Linux (X-servers)
RDB server Linux
Web server Linux
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)
IOCIOC
SUN (production)
bootFirewall
Test Area Boot Area:
- previous3
- previous2
- previous1
- current
BootconfigureTool
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 backupdate
boot area
1
2
3
4
1
2
3
4
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