1 / 13

SNS RDB Requirements, wish list, status

SNS RDB Requirements, wish list, status. A little history Oracle RDB used exclusively by accelerator physics group JERI tool developed, Mostly a table based browser and MPS configuration tool MPS uses RDB for all configuration, EPICS db’s, st.cmd, etc.

hewitt
Télécharger la présentation

SNS RDB Requirements, wish list, status

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SNS RDB Requirements, wish list, status A little history Oracle RDB used exclusively by accelerator physics group JERI tool developed, Mostly a table based browser and MPS configuration tool MPS uses RDB for all configuration, EPICS db’s, st.cmd, etc. Great visions at first but controls had a slow start. Strong reluctance in Controls group to use Oracle Excel spreadsheets Access Perl Scripts Cut and paste etc…. Biggest complaint has been the user interface but never any useful feedback

  2. Requirements • Auto Discovery of IOC Configurations • Quick access to data (< 10 seconds?) Same as EDM, Archiver requirements. • Web Based Reports • Generation of standard configuration files (alh, arReq, etc.) • RDB support of CVS or equivalent • MPS – Configuration Control • Configuration tracking, notification, <iocname>.mps, etc. • Naming Convention (Sys_SS:Dev_Inst:Signal) configuration control, (jail reports) • Archiver Report (What PV’s are not being archived?) Operations • PV clients, who’s affected? deleting / renaming PV’s • CA updates to RDB and vice versa (Serial numbers, etc)

  3. SNS Crawler Discovers PV’s in running IOC’s • Crawler developed because it was impossible to get IOC engineers to import the data. • Populate RDB with PV’s running on IOC’s • Backwards from original plans to generate db files • RDB -> .substitutions -> xx.db -> crawler -> RDB ????????? • Associates PV’s with Templates and substitutions • Associates PV’s with Db file name, location, etc. • Problems • Many standards used to load IOC’s, painful to keep coding all “standards”! • Naming convention (Good and bad, enforces rules but no data until they conform) • Bad devices types, adding them for now, CF IOC’s are operational

  4. To-do list - Populates Hardware Software info • Hardware information • Interrupt vector, request level • Base address • Board # • Channel configuration • Firmware bit files, versions • Hardware ID’s, now RDB can get Serial number through CA • Software information • Loaded libraries, versions, and dbd’s • Save-restore paths, files • Channel Access Security file loaded on boot up • Sequence code in use, seq Macro’s • PV over rides (or defaults), dbpf “PV_NAME” “value” • IOC local variables (SPRINTF’s) • Task priorities • Bottom line, Everything needed to configure an IOC should be in the RDB, a central data storage area.

  5. Configuration Control - Reports • MPS Mode Masking, Configuration files, Channel assignments • During commissioning versions can (DO) change often. • Driver Version Report (Incompatible software version report, SNS Utility Driver and some hardware, ) • Template Version Report • Firmware Version Report • Inventory Reports • As a minimum, what IOC’s are using XXX Hardware • By Serial number if hardware provides • Boot-up directories, Production verses Shadow

  6. JERI - IOC Configuration - Present • MPS (For EPICS versions 3.13.9 thru 3.14.7) • Generates MPS Configuration Files • MPS XXX.db and xxx.substitutions files using configurable templates • Startup Script snippet • Archive request files • Power Supplies (test reports generated, not in production) • Generate .substitutions file • Alarm limits (B-Fields from Accelerator physics model, or “Golden” tune) • Magnet mapping files. Cycling procedures (in use) • Archive request files (in use) • Power supply calibration data • DRVH,L based on Operational parameters, Manufacturer specs. Magnet Specs, and magnet mapping data • ADEL, MDEL based on manufacturer specs, Physics specs • (The last hurdle is getting equipment ID’s in Oracle so we added fake ones)

  7. JERI – BLM Configuration (Desired) • BLM Configuration (MPS Configuration Control) • BLM – AFE Channel assignment (assigns the following) • ADC channel Assignments • DAC channel Assignments • Digital IOC channels • MPS Channel Assignment • DAC Default trip point (MPS trip thresh hold) • DAC trip point DRVH,L • Ion Chamber Calibrations • High Voltage set point

  8. IOC View Show’s all cards in IOC Common records $Share SW versions Hardware driver versions Architecture Specific

  9. PV by IOC view • IOC • db file • PV List • template file • PV List • Template info • substitutions info

  10. PS Controller View Editable choice fields to select power supply, reconfigure a PSI, or change operations limits

  11. Magnet View Magnet info Manufacturer Model Max I Magnetic Length Magnet Mapping File Magnet Cycling File

  12. General RDB Views • Configuration views • IOC • Hardware • Driver / Version • Template • Future versions would allow reconfiguration from these views • PV (Irmis) • Power Hierarchy

  13. Wish List • 1 - Generic EPICS IOC viewer (similar to PS view) • IOC – card type – channel – sensor • 1 - Inventory Control. Update RDB with serial numbers of hardware after a reboot. • 2 - Generic .substitutions file generator (I.e. spreadsheet) • 2 - Alarm Limits (New facility, most limits are guessed or don’t exist, use manufacturer specifications for defaults) • 3 - CAS Configuration tool, viewer ? (data is already mined) • 3 - Configuration Control (For global systems and common software) • Change multiple cdCommands to change driver versions • Changing RELEASE would change all iocs under that “top” area • View all applications using XXX.template, change versions selectively • RDB knows everything in st.cmd, why not generate st.cmd’s and populate EPICS data from RDB??

More Related