Presentation is loading. Please wait.

Presentation is loading. Please wait.

ICS Software Development Environment Blaž Zupanc and Leandro Fernandez www.europeanspallationsource.se 31 August 2015.

Similar presentations


Presentation on theme: "ICS Software Development Environment Blaž Zupanc and Leandro Fernandez www.europeanspallationsource.se 31 August 2015."— Presentation transcript:

1 ICS Software Development Environment Blaž Zupanc and Leandro Fernandez www.europeanspallationsource.se 31 August 2015

2 Agenda Introduction and Overview (Leandro) Current Status (Blaž) Demo and how start using the development environment (Blaž) Next steps (Leandro) Questions (All) 2

3 Introduction and Overview Blaž Zupanc and Leandro Fernandez www.europeanspallationsource.se 31 August 2015

4 Why?

5 The need 5 “I want to use OpenXAL” Greg “Where do I get the ESS version of CS- Studio?” Ursa “How do I develop EPICS?” Torsten “How can I run IPython Notebook?” Emanuele “Which version of CS-Studio should I use?” Anders “What should we give to France to develop EPICS?” Daniel

6 “We want to provide an environment where any user can find the right tools to develop software for the ESS Controls Systems. An environment easy to use and flexible enough to work on different conditions.” Blaz and Leandro – 31 st August 2015. Lund, Sweden. 6 The solution

7 How?

8 Pack the software 8 We need to pack our software

9 Deliver 9 All software and configuration must be delivered in the same way We need an ICS standard for software delivery

10 Reproducible and portable 10 No more: “It works on my machine but not in production” We need to run the environment on different organitations

11 We want to version our environment 11 We need to know what is exactly inside We want to define all our software infrastructure as a code We want to perform rollbacks

12 Ease updates 12 Environment should be easy to update We want to keep control of updates

13 Run different versions 13 We want to give the possibility of running different versions of the environment in parallel And also the possibility to start the development from a fresh start if something gets corrupted

14 Centralize data 14 We want to keep critical information centralized Incorporate data early in the central databases will facilitate future integration

15 What do we provide?

16 @ESS 16 NFS EPICS (EEE) Server EPICS base EPICS modules IOCs ELDK Development Environment CS-Studio OpenXAL EPICS development tools IPython Notebook LDAP IOC Factory

17 About the technology 17 Vagrant is a tool to deliver development environments in the form of virtual machines. We use Vagrant as a layer on top of VirtualBox. Using Vagrant commands we you will be able to: Start, stop, resume and destroy a VM (vagrant up) Update the software installed in the VM (vagrant provision) We use Ansible to automate the deployment and configuration of all our software infrastructure. Installation and configuration is written in playbooks and version controlled.

18 Development Environment CS-Studio OpenXAL EPICS development tools IPython Notebook @In-kind facility 18 NFS synchronized IOC Factory EPICS (EEE) Server EPICS modules IOCs EPICS (EEE) Server EPICS modules IOCs ELDK

19 About the technology 19 OwnCloud will allow us to replicate filesystems across the network and keep them synchronized. We will be able to work even in case of network failure, as we keep different copies of the filesystem.

20 About updates

21 Update is possible 21 Description of the Development Environment in Git Everything on Bitbucket Versions of dev. Env define a tested collection of tools 1.0.01.1.0 New widgets for CS-Studio Add Matplotlib to IPython update

22 About data

23 Keep your data on your host 23

24 Shared Folders – Shared Filesystem Project 24 Data Storage Backup Shared with ESS community

25 Current Status Blaž Zupanc www.europeanspallationsource.se 31 August 2015

26 Owncloud, NFS server NFS server Playbooks: Sync EEE from the Owncloud server A sync daemon runs in background Make it mountable Owncloud server Playbooks: Mount EEE from ics-boot-01 Share it through owncloud in read-only (one way sync)

27 β Development machine We provide a VM: – CentOS 7.1 desktop environment – EEE: mounted from the NFS server using autoFS – LDAP integration – CS-studio – openXAL – Ipython notebook (http://localhost:7878, forwarded also to your host machine)http://localhost:7878, 27 Demo

28 Next Steps Blaž Zupanc and Leandro Fernandez www.europeanspallationsource.se 31 August 2015

29 Milestones 31 st August 2015. Presentation of the development environment. 7 th September 2015. First release for ESS. 14 th September 2015. First release for in-kind contributors 29

30 Questions www.europeanspallationsource.se 31 August 2015


Download ppt "ICS Software Development Environment Blaž Zupanc and Leandro Fernandez www.europeanspallationsource.se 31 August 2015."

Similar presentations


Ads by Google