Академический Документы
Профессиональный Документы
Культура Документы
Reproduced from Figure 1 of The Future of Cloud Computing: Opportunities for European Cloud Computing beyond 2010.
Commercial Efforts & NFRs
From The Future of Cloud Computing: Opportunities for European Cloud Computing beyond 2010
Service & Deployment Models
Software as a Service (SaaS)
Google Apps Zoho Salesforce Microsoft Cloud
CRM Services
Service Models
Platform as a Service (PaaS)
Google App Microsoft Force.com Yahoo
Engine Azure Open Strategy
Deployment Models
Public Private Community Virtual Private
Clouds Clouds Clouds Clouds
Hybrid Clouds
Private Cloud
Source: Five Steps to Enterprise cloud computing, a White paper of Eucalyptus Systems, Inc.
Why Private Cloud? 1/2
Usually, the budget is low, and the project should start as soon as
possible
Growing strongly:
The need for processing large data volumes
The need to conserve power by optimizing server utilization
Private clouds:
Have higher ROI than traditional infrastructure
Are more customizable
Can quickly respond to changes in demands
Support rapid deployment
Have increased security
Focus on an organization’s core business
Have effort required for running them tending downward
Why OSS?
In general:
Lowering the costs (i.e. no licensing headaches!) – the budgets
aren’t growing - but the demands are
Interchangeability & portability (general, avoiding vendor lock-in)
Socio-organizational reasons
Energy efficience
Challenges:
Socio-technical
Technical
Socio-technical Challenges
Socio-technical challenges: mostly political and economic:
Summarized suggestions
Have social psychology in mind as important factor
Consult the professor in charge of money for the project
Implement an open source solution – OpenStack, OpenNebula,
UEC based on Eucalyptus, Joyent SmartOS, ...
Scientific environment: “Supply”
VMware - http://www.vmware.com
Different hypervisors:
ESX – mainline product; commercial license
ESXi – mainline product, free (not OSS); boot from flash cards supported
Server – free (not OSS), installs on Linux & Windows
Workstation/Player – virtualization on user PC’s
Supports .vmdk disk image format
VMware
Hyper-V
Microsoft Hyper-V http://www.microsoft.com/en-us/server-
cloud/windows-server/hyper-v.aspx
Released in 2008, new 2012 release expected in November
Virtualization platform that is integral part of Windows Server
Only for x86-64
Can boot from flash card on servers motherboard
Variants:
Stand-alone product, free, limited to command line interface
As Hyper-V role inside Windows Server
Supports .vhd disk image format
SmartOS
Joyent SmartOS - http://smartos.org
Free, gone Open Source August 2011, descent from
OpenSolars - Illumos
Hypervisor powering Joyent’s SmartDataCenter, can run
private, public and hybrid cloud
Enables HW-level and OS-level virtualization in a single OS
Features: KVM, Zones, DTrace, ZFS
Networking Services 1/3
Providing basic network services (DNS, GW, NAT, ...) is a
good idea
Physical & virtual networks
Physical network:
Implementing private cloud using 2 or 3 networks: WAN,
Cloud public & Cloud private
Firewall: OSS based pfSense - to make the whole environment
independent of the network infrastructure / environment
where it will be “plugged in”
Networking Services 2/3
Virtual networks: (i.e. Nicira, Xsigo)
Independece from network HW
Reproduction of the physical network
Operating model of computing virtualization
Different hypervizor compatibility
Isolation between virtual and physical network, and control
layer
Scalling & performance cloud-like
Programmatic provisioning & control
Networking Services 3/3
Automatic/manual failover/failback
Clusters: active/active, active/passive (quorum)
Private Cloud
Some HA features, but local to every provider
Work in progress:Corosync + Pacemaker
„Corosync“ – Open Source cluster solution
„Pacemaker“ – Open Source HA cluster resource manager
Private Cloud Offerings
Covered:
Eucalyptus (Ubuntu Enterprise Cloud, UEC)
OpenNebula
OpenStack
Eucalyptus
Was bundled with Ubuntu (UEC); now „only“ supported
(Ubuntu is bundling OpenStack from 11.10)
UEC/Eucalyptus is an on-premise private cloud OSS based
platform, sponsored by Eucalyptus Systems
Started as research project in 2007 @ UCSB
Linux based – RHEL, CentOS, Ubuntu
Support for VMware
For scalable private and hybrid clouds
Hybrid clouds achieved by API compatibility with Amazon’s
EC2, S3, and IAM services
New feature since UEC: Eucalyptus HA
All figures taken from http://www.eucalyptus.com
Requirements
All components must be on physical machines (no VMs!)
Processor Intel or AMD with 2 cores of 2 GHz
Min 4 GB RAM
Storage: min 30 GB for each machine, 100-250 GB and more for
SC & NC recommended
Network: min 1 Gbps NICs, bridges configured on NCs
Linux – if Ubuntu, choose LTS (Long Time Support) version
Hypervisors: (Xen, KVM, VMware)
RHEL & CentOS must have Xen
Ubuntu must have KVM
Vmware
SSH connectivity between machines
Components
Equivalent to Amazon’s S3
Bucket based storage system with put/get storage model
WS3 is storing the machine images and snapshots
Persistent simple storage service, storing and serving files
Cluster Controller (CC)
NC NC NC NC NC NC
Networking
Networking modes
offering different level
of security and
flexibility:
Managed
Managed No VLAN
System
Static
High Availability
Redundancy - Eucalyptus HA:
By configuring HA, primary and secondary cloud and cluster
components are introduced
Hot-swappable components: CLC, Walrus, CC, SC, and VB
Must have 3 NICs if fearing network hardware failure
For HA SCs, supported SANs needed
NCs are not redundant
Externally accessible components (cloud level) must have DNS
Round-Robin support
Arbitrator service uses ICMP messages to test reachability
If all arbitrators fails to reach some component, failover is initiated
WebGUI
GUI using HybridFox
OpenNebula
An Open Source project aiming at implementing the
industry standard for building and managing virtualized data
centres and cloud infrastructure (IaaS)
Sponsors:
EU through various programs (via DSA, RESERVOIR, 4CaaSt,
StratusLab, BonFIRE)
National grants
C12G Labs
Microsoft
Xen
KVM/QEMU
VMware
OpenNebula – hardware
Frontend
Hosts
Image Repository
Physical network
OpenNebula - networking
Service Network is recommended to be dedicated
network
VM’s network interface is connected to a bridge in
the host (i.e. a host with two NICs, public and private, should
have two bridges)
Create bridges with the same name in all the hosts
Drivers that may be associated with each host:
Dummy
Fw Fw Ovsw 802 ebtbl VMw
802.1Q KVM Yes Yes Yes Yes No
Ebtables
Xen Yes Yes Yes Yes No
Ovswitch
VMware VMware No No No No Yes
Installation 1/7
Installation steps:
Installing OS
Basic components:
Front end
Host
Datastores
Service Network
VM networks
Installation 3/7
Storage types: shared & non-shared
Non-shared storage:
Simple to configure
Initial start of an VM will be slower as image is copied to the host
Shared storage:
Any host has access to the image repository
Any operation on a VM goes quicker because there is direct access
to the images, no copying needed
In smaller environments or PoCs, implemented on front end
In bigger environments, implemented on NAS/SAN
Installation 4/7
OS installation:
Choose Linux distribution (i.e. Ubuntu)
Choose installation media: .iso or network
Use default installation steps, except evt. for partitioning
Partitioning:
If HW raid exists, it will appear as single disk; if SW raid should be
configured, can be done after creating partitions
Partitions for system, user and swap files
Default user creation (oneadmin)
The same account and group needed on both Front end & host
All the accounts need the same UID and GID (user & group IDs)
Installation 5/7
Front end:
Install OpenNebula software
Requirement:
Needs access to storage (direct or via network)
Needs access to each host
SSH to hosts using SSH keys (without passwords, auto-add to known hosts)
Ruby (≥ v1.8.7)
Hosts:
No OpenNebula software needed
Different hypervisors on different distros inside a cluster possible
Requirements:
Hypervisor
SSH server
Ruby (≥ v1.8.7)
Host should be registered in OpenNebula (onehost)
Installation 6/7
Configuring the OpenNebula components:
Hypervisor: KVM by default (and easiest), but other drivers can be
selected / modified
Host monitoring
Storage: shared filesystem used by default, can be changed
Networking
Users & Groups (admins, regular, public & service users; integration
with LDAP infrastructure possible)
Sunstone (Web GUI with same functionality as CLI)
Accounting & Statistics (info on usage, accounting, graphs)
Zones (oZone server, managing Zones and VDCs)
Hybrid clouds (for peak resource usages)
Public clouds (using public interfaces, EC2 query and OCCI)
Installation 7/7
?
Thank you!