George Lestaris - Ioannis Charalampidis
CernVM Online and Cloud Gateway
a uniform interface for
CernVM contextualization and deployment
- D. Berzano, J. Blomer, P
. Buncic, G. Ganis and R. Meusel
PH-SFT / CERN
CernVM Online and Cloud Gateway a uniform interface for CernVM - - PowerPoint PPT Presentation
CernVM Online and Cloud Gateway a uniform interface for CernVM contextualization and deployment George Lestaris - Ioannis Charalampidis D. Berzano, J. Blomer, P . Buncic, G. Ganis and R. Meusel PH-SFT / CERN Background CernVM: a virtual
a uniform interface for
. Buncic, G. Ganis and R. Meusel
PH-SFT / CERN
/ 30 CernVM Online / Cloud Gateway: interface for contextualization and deployment
CernVM: a virtual appliance that serves as a portable environment for developing and running LHC data analysis
supporting various image types and hypervisors
generation CernVM: http://chep2013.org/contrib/ 213
2
/ 30
Virtual machine contextualization: is the process of configuring a VM instance for the needs
plugins - INI file sections
3 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
This work has to main goals:
VMs easier
configure local virtual machines by providing easier alternatives
4 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
5
CernVM Online / Cloud Gateway: interface for contextualization and deployment
cernvm-online.cern.ch Can connect with CERN authentication or create a local account
/ 30
Web application: used to define, store and share contexts
can only be cloned
context content with user defined passphrase
passwords, keys, etc..
6 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Marketplace: share contexts for common use cases Deployment: user can deploy VMs locally with the CernVM WebAPI
using VirtualBox hypervisor (is installed by the plugin if not available)
CERN (http://crowdcrafting.org/app/cernvm/)
Pairing: contextualization of already running CernVM instances with console access
7 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30 8
Paired VMs Publish to marketplace Deploy VM locally
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
9
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30 10
User can pair/clone contexts made by others Search for contexts
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
11
list of paired instances
1) Obtain PIN from CernVM
2) Apply PIN
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
12
1) Select configuration 2) Confirm 3) Enjoy
WebAPI plugin is available for Chrome, Firefox and IE. beta
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
13
WebAPI spawns a VM using user’s local PC resources Pairing is contextualizing an existing VM
Both can be used to avoid having to contextualize manually user’s VM with the web appliance.
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
14
beta cern.ch/cernvm-cloud Contact us for a beta tester account
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
a distributed system that provides a single interface to use multiple and different clouds:
OpenNebula, ...
15 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Uses cloud available cloud resources to deploy virtual clusters. Virtual cluster is a set of VMs able to communicate with each other:
1.the context of the VMs that will implement it, 2.the VM configuration (flavor, CernVM version)
service
can be scaled up and down
16 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
17 CernVM Online / Cloud Gateway: interface for contextualization and deployment
Condor master Condor worker Condor worker Condor worker Condor worker
fixed service scalable service Master will start first Workers will start after master and their context will contain master’s IP address There are cases with more than one fixed services: proxy server, VO box, etc
/ 30
iAgent Framework: implemented in Perl, it provides ways to develop agents that can expose their functionality through XMPP . XMPP: communication protocol. Has useful features as:
from the gateway agents
18 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
19
Gateway server Cloud agent
AWS
Cloud agent
CERN OpenStack
Cloud agent
CERN OpenStack
XMPP
Gateway server Gateway server Gateway agent
State DB
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Gateway server: API endpoint and web interface
clusters (http://cern.ch/cernvm-cloud/Wiki/Documentation.html)
Gateway agent: processes the user requests and forwards them to cloud agents though XMPP .
20 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Associated with a single cloud access credentials
groups for cloud gateway can use his cloud instance
specific
that “speaks” its API
21 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
Current model: cloud credentials are stored in the cloud agents ✓cloud agent can run in a machine managed by the
✓sensitive credentials are not communicated to the central server
key-pair
22 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
23
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30 24
Service definition Context selection Cluster services
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
25
Select cluster to deploy from the stored cluster definitions in CernVM Online
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
26 CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
27
Scaling up services Per-instance information VM management
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
28
VM VM VM VM VM VM VM VM VM VM VM
Experimental
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
29
requests to scale it up, it expands to another cloud
replicated to the new cloud
VMs will be able to communicate with fixed services as they will always be in the local network of the same cloud
Experimental
CernVM Online / Cloud Gateway: interface for contextualization and deployment
/ 30
CernVM Online: production
VM CernVM Cloud: beta
different clouds
30 CernVM Online / Cloud Gateway: interface for contextualization and deployment