JACoW is a publisher in Geneva, Switzerland that publishes the proceedings of accelerator conferences held around the world by an international collaboration of editors.
TY - CONF AU - Hoguin, F. AU - Deghaye, S. AU - Gorbonosov, R. AU - Lauener, J. AU - Mantion, P. ED - Furukawa, Kazuro ED - Yan, Yingbing ED - Leng, Yongbin ED - Chen, Zhichu ED - Schaa, Volker R.W. TI - Distributed Transactions in CERN’s Accelerator Control System J2 - Proc. of ICALEPCS2021, Shanghai, China, 14-22 October 2021 CY - Shanghai, China T2 - International Conference on Accelerator and Large Experimental Physics Control Systems T3 - 18 LA - english AB - 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. PB - JACoW Publishing CP - Geneva, Switzerland SP - 468 EP - 472 KW - MMI KW - controls KW - hardware KW - distributed KW - real-time DA - 2022/03 PY - 2022 SN - 2226-0358 SN - 978-3-95450-221-9 DO - doi:10.18429/JACoW-ICALEPCS2021-TUPV033 UR - https://jacow.org/icalepcs2021/papers/tupv033.pdf ER -