Author: Hoguin, F.
Paper Title Page
TUPV033 Distributed Transactions in CERN’s Accelerator Control System 468
  • F. Hoguin, S. Deghaye, R. Gorbonosov, J. Lauener, P. Mantion
    CERN, Geneva, Switzerland
  Devices in CERN’s accelerator complex are controlled through individual requests, which change settings atomically on single Devices. Individual Devices are therefore controlled transactionally. Operators often need to apply a set of changes which affect multiple devices. This is achieved by sending requests in parallel, in a minimum amount of time. However, if a request fails, the Control system ends up in an undefined state, and recovering is a time-consuming task. Furthermore, the lack of synchronisation in the application of new settings may lead to the degradation of the beam characteristics, because of settings being partially applied. To address these issues, a protocol was developed to support distributed transactions and commit synchronisation in the CERN Control system, which was then implemented in CERN’s real-time frameworks. We describe what this protocol intends to solve and its limitations. We also delve into the real-time framework implementation and how developers can benefit from the 2-phase commit to leverage hardware features such as double buffering, and from the commit synchronisation allowing settings to be changed safely while the accelerator is operational.  
poster icon Poster TUPV033 [0.869 MB]  
DOI • reference for this paper ※  
About • Received ※ 09 October 2021       Revised ※ 18 October 2021       Accepted ※ 20 November 2021       Issue date ※ 22 January 2022
Cite • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)