Industrial Control Via Application Containers: Migrating from Bare-Metal to IAAS

Industrial Control Via Application Containers: Migrating from Bare-Metal to IAAS

Industrial Control via Application Containers: Migrating from Bare-Metal to IAAS Florian Hofer, Student Member, IEEE Martin A. Sehr Antonio Iannopollo, Member, IEEE Faculty of Computer Science Corporate Technology EECS Department Free University of Bolzano-Bozen Siemens Corporation University of California Bolzano, Italy Berkeley, CA 94704, USA Berkeley, CA 94720, USA fl[email protected] [email protected] [email protected] Ines Ugalde Alberto Sangiovanni-Vincentelli, Fellow, IEEE Barbara Russo Corporate Technology EECS Department Faculty of Computer Science Siemens Corporation University of California Free University of Bolzano-Bozen Berkeley, CA 94704, USA Berkeley, CA 94720, USA Bolzano, Italy [email protected] [email protected] [email protected] Abstract—We explore the challenges and opportunities of control design full authority over the environment in which shifting industrial control software from dedicated hardware to its software will run, it is not straightforward to determine bare-metal servers or cloud computing platforms using off the under what conditions the software can be executed on cloud shelf technologies. In particular, we demonstrate that executing time-critical applications on cloud platforms is viable based on computing platforms due to resource virtualization. Yet, we a series of dedicated latency tests targeting relevant real-time believe that the principles of Industry 4.0 present a unique configurations. opportunity to explore complementing traditional automation Index Terms—Industrial Control Systems, Real-Time, IAAS, components with a novel control architecture [3]. Containers, Determinism We believe that modern virtualization techniques such as application containerization [3]–[5] are essential for adequate I. INTRODUCTION utilization of cloud computing resources in industrial con- Emerging technologies such as the Internet of Things and trol systems. The use of containerized control applications Cloud Computing are re-shaping the structure and the control would yield the same advantages that traditional containerized of industrial processes in a radical way. These innovations microservices present: light and easily distributable control allow the creation of highly flexible production systems, an applications would be able, for instance, to run on any system essential component of the fourth industrial revolution. Key and, at the same time, be easily maintained and updated [6]. enabling technologies such as distributed sensing, big-data Beyond the migration capabilities and flexibility, containers analysis and cloud storage are taking the central stage in simplify also the parallel execution of control software on developing new industrial control systems. Consequently, Edge devices such as PLCs and, to a lesser extent, on sensing and Computing including cross-platform operation, third party actuating field devices. This results in increased reliability software and mixed criticality applications are increasingly and robustness, while enabling further exploitation of self-* more important. The computation requirements given the properties, including self-awareness and self-comparison [7]. migration of functionality towards the ”edge” imply new system Time-machines (snapshots of the control software and/or of arXiv:1908.04465v1 [cs.DC] 13 Aug 2019 architectures [1], [2]. the machine state), control redundancy (parallel operation of The control of industrial processes, however, has not changed containers and/or of virtual server instances) [7] and online much over the last few decades, and there are reasons for it. system reconfiguration (reprogramming of machine’s control For instance, typical control applications found in industrial algorithms and product specifications with no or reduced processes have to respond to changes in the physical world downtime) [8] are only a few of the Industry 4:0 tools that within predefined time limits. Moving the execution of control will be made accessible. Containers allow applications such tasks from devices physically co-located with the controlled as performance and distributed health monitoring [9], [10] to process to cloud, egde or fog computing platforms requires run on a shared end node, and Digital-Twin [11] to predict dealing with delays that are difficult to predict. Moreover, while malfunction, maintenance intervals and tool lifespan. Lastly, dedicated control hardware and bare-metal solutions let the the application of modern virtualization techniques enables mixed criticality contexts which allow increased efficiency, This research has been partially funded by the Italian Ministry of Research reduction of the operational cost and decrease of production and education under the program PRIN2015 and iCyPhy, under Siemens sponsorship. The authors wish to thank Pasquale Antonante for his help in downtime [12]. the early phases of this project. In this paper, we explore the feasibility of relocating real- time control applications, using off-the-shelf technology, from a follow-up work, Goldschmidt et al. [13], a possible multi- dedicated infrastructure and hardware onto a shared resource purpose architecture was described and tested in a real-world environment, both on a bare-metal host and in the cloud. The use case. The results show worst case latencies in the range contributions of this paper are: of 1ms for a Raspberry PI single-board computer, making • Survey of the state-of-the-art operating systems that the solution viable for cycle times in the range of 100ms to support application containerization, which potentially 1s. The authors state that topics such as memory overhead, allows the enforcement of real-time constraints. containers’ restricted access and problems due to technology • Latency and determinism tests to identify parameters and immaturity are still to be investigated. configurations enabling the execution of control software Tasci et al. [3] address architectural details not discussed on shared virtualized hosts. in [5] and [13]. These additions include the definite run- • Comparison of virtualization instances and latency perfor- time environment and how deterministic communication of mances depending on configuration optimization. containers and field devices may be achieved in a novel • Evaluation of hard real-time task scheduling as application container-based architecture. They proposed a Linux-based containers and demonstration of how, under specific solution as host operating system, including both the single conditions, the same tasks can be run in the cloud. kernel preemption-focused PREEMPT-RT patch and the co- kernel oriented Xenomai. With this patch, the approach exhibits The rest of this paper is structured as follows. Section II ana- better predictability, although it suffers from security concerns lyzes related work, while Section III introduces the background introduced by exposed system files required by Xenomai. For motivating our analysis. We then discuss the methodology and this reason, they suggested limiting its application for safety- design of experiments, and review containerization frameworks critical code execution. They analyzed and discussed inter- in Sections IV and V. We compare candidate host operating process messaging in detail, focusing on the specific properties systems able to run the container engine in Section VI. Finally, needed in real-time applications. Finally, they implemented an we document the tests performed in Section VII. orchestration run-time managing intra-container communication II. RELATED WORK and showed that task times as low as 500µs are possible. The three solutions discussed above share one common Containerizing control applications has been discussed in aspect: emphthey were based on bare-metal configurations. recent literature. Moga et al. [4], for instance, presented the These solutions were a first step for the re-allocation of an concept of containerization of full control applications as a embedded control software onto a dedicated infrastructure. They means to decouple the hardware and software life-cycles of an did consider real-time constraints, but were limited to execution industrial automation system. Due to the performance overhead on physical hardware. The present trend of exploting the in hardware virtualization, the authors state that OS-level flexibility of resource sharing through cloud computing, makes virtualization is a suitable technique to cope with automation it important investigating whether real-time control applications system timing demands. They propose two approaches to may also be ran on a shared virtualized infrastructure, and migrate a control application into containers on top of a patched analyzing their capabilities and limitations. real-time Linux-based operating system: In 2014, Garcia-Vallas et al. [14] analyzed challenges for • A given system is decomposed into subsystems, where a predictable and deterministic cloud computing. Even though set of sub-units performs a localized computation, which their focus is on soft real-time applications, certain aspects and then is actuated through a global decision maker. limits can be applied to any real-time systems. Merging cloud • Devices are defined as a set of processes, where each computing with real-time requirements is a challenging task; process is an isolated standalone solution with a shared the authors state that the guest OS has only limited access to communication stack. Based on this, systems are divided physical hardware and thus suffers from unpredictability

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us