Presentation is loading. Please wait.

Presentation is loading. Please wait.

Virtualization for the LHCb Online system CHEP 2010 - Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)

Similar presentations


Presentation on theme: "Virtualization for the LHCb Online system CHEP 2010 - Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)"— Presentation transcript:

1 Virtualization for the LHCb Online system CHEP 2010 - Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN) enrico.bonaccorsi@cern.chenrico.bonaccorsi@cern.ch Loic Brarda, (CERN) loic.brarda@cern.chloic.brarda@cern.ch Gary Moine, (CERN) gary.moine@cern.chgary.moine@cern.ch Niko Neufeld, (CERN) niko.neufeld@cern.chniko.neufeld@cern.ch Alexander Zvyagin, (CERN) alexander.zvyagin@cern.chalexander.zvyagin@cern.ch

2 Outline LHCb o What is LHCb o Online system & Experiment Control System Virtualization o What we virtualize o The choice of the hypervisor o Hardware used Architecture o General Hyper-V o LHCb Network & Security implementation Performance o Network o Hard disks Quattor integration Issues Enrico Bonaccorsi, Loic Brarda, Gary Moine, Niko Neufeld, Alexander Zvyagin2

3 LHCb & Virtualization Completely isolated network o Data acquisition system o Experiment Control System Objectives o Reduce hardware o Improve manageability o High Reliability (in sense of costs) o Better usage of hardware resources Enrico Bonaccorsi, Loic Brarda, Gary Moine, Niko Neufeld, Alexander Zvyagin 3

4 What do we virtualize? Traditional Virtualization approach: Not Cloud Computing General log in services/ Terminal services o RDP windows remote desktops o SSH gateways o NX linux remote desktops Web services o 1 VM per Website Infrastructure services o DNS o Firewalls o Domain controllers Control PCs o Controlling detector hw, running PVSS(standard LHC SCADA System) o Running both on Linux and Windows o Some of them need special hardware to control the detector SPECS (special dedicated PCI card) CANBUS (USB) Several more Enrico Bonaccorsi, Loic Brarda, Gary Moine, Niko Neufeld, Alexander Zvyagin 4

5 Hypervisor allow multiple operating system to run on a host computer 4 solutions with active community/support behind: o Xen Currently available on Scientific Linux 5 Will be replaced by KVM for Scientific Linux 6 o KVM Necessary Kernel modifications for Scientific Linux 5 o Vmware Suitable, high price o Hyper-V core R2 (free edition) Enrico Bonaccorsi, Loic Brarda, Gary Moine, Niko Neufeld, Alexander Zvyagin 5

6 Hardware & SAN 10 Blade Poweredge M610 o 2 x E5530 @ 2.4GHz (8 real cores + Hyper Threading) o 3 x 8 GB = 24GB RAM o 2 x 10Gb network interfaces o 2 X 1Gb network interfaces o 2 X 8Gb fiber channel interfaces Storage o 2 X 8Gb Fiber channel switches o 10 Terabytes for Virtual Machines storage exported from 2 array controllers trough 2 independent fiber channel fabrics Network o 2 X 10Gb Ethernet switches o 2 X 1Gb Ethernet switches Limits: o Average of 20 VM per Server = ~200 Virtual Machines Enrico Bonaccorsi, Loic Brarda, Gary Moine, Niko Neufeld, Alexander Zvyagin 6

7 Architecture 7 VMWP – Virtual Machine Worker Process VSP – Virtualization Service Provider VID – Virtualization Infrastructure Driver

8 Network architecture & Security Special care was devoted to Enrico Bonaccorsi, Loic Brarda, Gary Moine, Niko Neufeld, Alexander Zvyagin 8

9 Virtual Machines performances Network (from VMs to real server inside LHCb Network) o Throughput: ~900Megabit/second o Latency: ~0.2 ms Disk o (512 B blocks – our disk controller always read in 4k blocks) o Reading: ~45MegaByte/sec o Writing: ~35MegaByte/sec 9

10 Virtual machines & Linux cluster management (Quattor) Server installation managed by Quattor using network boot/PXE Boot from network: o not supported by para-virtualized network interfaces o supported by emulated network interfaces (very slow) Solution: o Do not install o Use cloning of virtual hard disks (virtual machine template) o Custom post boot script adjust main config file according to the PTR DNS record of the IP acquired by DHCP o Let quattor configure the linux virtual machine New virtual machines ready to be used in less than 10 minutes Enrico Bonaccorsi, Loic Brarda, Gary Moine, Niko Neufeld, Alexander Zvyagin 10

11 Issues General issues o Time, ntpd -> ntpdate o PCI cards -> N/A o Usb -> Usb over IP o Software licenses: hardware dependent(PVSS) Hyper-V issues o Ethernet -> multicast n/a, jumbo frames n/a Hardware issues o Intel 5500 Series / hyper-v Core / ACPI o Cluster filesystem sector size = 512B Enrico Bonaccorsi, Loic Brarda, Gary Moine, Niko Neufeld, Alexander Zvyagin 11

12 Summary and outlook Virtualization of LHCb ECS o Aim at reduce hardware o Special attention to security o Many issues tackled and solved (or work around) Next phase: o USB/IP o iSCSI o Virtualize almost every control pc o Intrusion prevention system Enrico Bonaccorsi, Loic Brarda, Gary Moine, Niko Neufeld, Alexander Zvyagin 12

13 Backup slides 13

14 Virtualization CPU overhead We run over virtual machines based on KVM what we call the «moore test» Moore: software for trigger decision Running directly on the real machine we measured: ~10% overhead 14

15 Sharing of VLAN Massive using of 802.1q VLAN exported to real servers using a dedicated trunked 10Gb link 15 Blade 1Blade 2Blade 10 VM1 Vlan 20 VM1 Vlan 20 VM3 Vlan 20 VM3 Vlan 20 VM2 Vlan 16 VM2 Vlan 16 VM8 Vlan 16 VM6 Vlan 32 VM6 Vlan 32 10Gb link 802.1q


Download ppt "Virtualization for the LHCb Online system CHEP 2010 - Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)"

Similar presentations


Ads by Google