c2mon scada deployment on cern cloud infrastructure · 2018-02-12 · icalepcs 2017 conclusions •...

14
C2MON SCADA deployment on CERN Cloud Infrastructure Brice Copy, Matthias Bräger, Felix Ehm, Alexandre Lossent, Eleni Mandilara ICALEPCS 12 October 2017 ICALEPCS 2017

Upload: others

Post on 12-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

C2MON SCADA deployment on CERN Cloud InfrastructureBrice Copy, Matthias Bräger, Felix Ehm, Alexandre Lossent, Eleni Mandilara

ICALEPCS 12 October 2017

ICALEPCS 2017

Page 2: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

Outline• CERN Control and Monitoring platform (C2MON)• Why deploy a SCADA platform in the cloud ?• Cloud and containers at CERN• What to look out for when moving to container-based deployments

2ICALEPCS 2017

Page 3: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

CERN Control and Monitoring platform (C2MON)

ICALEPCS 2017 3

Views showing the access status to the LHC tunnel and a CERN water Monitoring station (SPS Accelerator ).

Page 4: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

C2MON Design

ICALEPCS 2017 4

Data acquisition

Scalable messaging (ActiveMQ)

Client layer (Web UI, RogueWave JViews)

Page 5: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

Moving C2MON to the cloud

ICALEPCS 2017

Page 6: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

ICALEPCS 2017

Cloud and containersIn the last four years, the cloud has changed drastically :• Heavyweight virtual machines now host small containers.• Containers are grouped into small private networks.• All interaction points are self-documented (services, storage,

ports).• Continuous integration is part and parcel with deployment.

6

Page 7: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

ICALEPCS 2017

Intro to the CERN cloud

7

OpenStack

Openstack Magnum

Docker Swarm Kubernetes

Red Hat OpenShift

Kubernetes HAProxy

Page 8: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

ICALEPCS 2017

Container

Network Ports

Storage

Configuration

Service dependencies

Containers and interfaces

8

Page 9: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

ICALEPCS 2017

Containers for C2MONBeing cloud-ready is not a given :• Location, location, location• Configuration and secrets• Storage claims• Outgoing connectivity• Dependencies on other containers

9

Page 10: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

ICALEPCS 2017

C2MON container

10

C2MON Container

Network Ports

Storage

Configuration

Service dependencies

• Fixed ports• No HA HTTP support

• Env variables only• No cloud configuration support

• Requires multicast support

• Expects decent I/O• World writeable flush folders

Page 11: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

ICALEPCS 2017

C2MON on the Cloud

11

OpenStack

OpenShift

Page 12: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

ICALEPCS 2017

Conclusions• Containers promise a run-anywhere, scalable platform

independent experience :• Yes but mostly if you start from zero.• Knowing what to look out for before you get started :

• It may be worth upgrading part of your technology stack rather than spend time containerizing it.

• It will depend significantly on your target cloud platform.

12

Page 13: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •
Page 14: C2MON SCADA Deployment on CERN Cloud Infrastructure · 2018-02-12 · ICALEPCS 2017 Conclusions • Containers promise a run-anywhere, scalable platform independent experience : •

Contents licensing• Slides 5 and Docker logo under Creative Commons licensing• Other diagrams under CERN Copyright 2017