Más contenido relacionado
La actualidad más candente (20)
Similar a Tim Cramer, Eucaday (20)
Más de Greg DeKoenigsberg (6)
Tim Cramer, Eucaday
- 1. Eucalyptus 3
and beyond!
Tim Cramer
VP, Engineering
April 25, 2012
© 2012 Eucalyptus Systems, Inc.
- 2. Eucalyptus Multi-tiered
Service Architecture
Service
User Requests
Delivery
User Transactions
Inventory Inventory Inventory
and and and
Scheduling Scheduling Scheduling
Actualization Actualization Actualization Actualization Actualization
© 2012 Eucalyptus Systems, Inc.
2
- 3. Eucalyptus Components
• Cloud Controller (CLC)
– User request processing (except for Walrus), Credentials
management, VM (instance) state management
• Walrus (S3)
– S3 user request processing, Append-only, Put/Get object storage
• Cluster Controller (CC)
– VM inventory, Network provisioning/security group implementation
• Storage Controller (SC)
– Block level, network attached storage (SAN and Linux)
• Node Controller (NC)
– Hypervisor interface and control, VM launch/decommissioning
• VMWare Broker
– Gateway between CC and ESX and/or vSphere for VMWare
© 2012 Eucalyptus Systems, Inc.
3
- 4. Component Architecture
Service
User Requests
Delivery
CLC Walrus
CC SC CC SC CC SC
NC/VMWareB NC/VMWareB NC/VMWareB NC/VMWareB
NC/VMWareB
© 2012 Eucalyptus Systems, Inc.
4
- 5. Eucalyptus Generations
• Eucalyptus 1.X (June 08 through Sep. 10)
– University code
• Eucalyptus 2.X (June 10 through Feb. 11)
– Commercial focus, early production
• Eucalyptus 3.X (present - )
– Production operational improvements
– Full commercial feature set (almost)
• Few, if any features deprecated
– BitTorrent?
© 2012 Eucalyptus Systems, Inc.
5
- 6. New Eucalyptus 3.0 Features
• High-availability (HA) of the Eucalyptus Service
– Hot fail-over and repair for all components except NC
• AWS Identity and Access Management (IAM) API plus
extensions for private clouds
– Quotas and metering
• Eucalyptus Block Storage (EBS) improvements
– AWS Volume-backed instance API (persistent instances)
“bootable”
– NetApp and JBOD support added to existing Dell Equallogic
• Full support for Windows images
– Seven different versions, AWS compatible authentication,
ephemeral disk
• Accounting/Usage reporting
© 2012 Eucalyptus Systems, Inc.
6
- 7. Eucalyptus 3.0 Platform Improvements
• Revamped image caching in the NC
– Faster instance starts using copy-on-write
• Refactored VMWare broker
– Faster and more robust image preparation, support for vSphere 4.X,
improved scale, more extensive deployment topologies
• Extended Linux distro support
– RHEL 5 and RHEL 6, packages for Canonical LTS (Ubuntu 10.04)
• Re-designed administrative webUI
• Improved command-line admin tools
• Re-designed packaging, upgrade and dependency management
• Re-designed installation mechanism (package repositories)
© 2012 Eucalyptus Systems, Inc.
7
- 8. Eucalyptus in The Wild
• Eucalyptus 2.0 Deployments
– Games, mobile infrastructure, media, telecom
• Tons of feedback
– Not all of it angry
• Top 3
– Platform HA -> VM connectivity and request service
– Quotas, accounting, reporting
– Windows (fast image creation and start)
© 2012 Eucalyptus Systems, Inc.
8
- 9. High Availability
• Eliminate single point of failure
– Host failure
– Network connectivity failure (including network partitions)
• Tolerate as many multiple failure cases as possible
• Avoid data loss at all costs
– Fail stop is better than data loss
• Availability of the services that Eucalyptus offers
– Eucalyptus requests
– VM connectivity and storage
– Not VM HA -> application level
© 2012 Eucalyptus Systems, Inc.
9
- 10. HA Web Service Architecture
• All Eucalyptus components are implemented as Web
Services
– CLC, Walrus, SC, VMWare Broker– Java
– CC and NC - C
• CC and NC are each implemented in separate Axis2c
service container
• CLC, Walrus, SC, and VMWare Broker share a web
service stack and JVM when co-located
© 2012 Eucalyptus Systems, Inc.
10
- 11. PoC Configuration
VM VM
SC SC
Wb Wb
Walr Walr
CLC us
CLC us
Web Service Web Service
DB management DB management
CC CC
Linux Linux
NC NC NC NC NC
© 2012 Eucalyptus Systems, Inc.
11
Linux Linux Linux Linux Linux
- 12. Multi-component Failure
VM VM
SC SC
Wb Wb
Walr Walr
CLC us
CLC us
Web Service Web Service
DB management DB management
CC CC
Linux Linux
NC NC NC NC NC
© 2012 Eucalyptus Systems, Inc.
12
Linux Linux Linux Linux Linux
- 13. Production
CLC CLC SC SC CC CC
Wal Wal VMb VMb
NC NC NC NC NC
Linux Linux Linux Linux Linux
© 2012 Eucalyptus Systems, Inc.
13
- 14. Group Membership and
Heartbeat
• HA is from the perspective of the “master” CLC
• Jgroups determines which machines are “up”
• Heartbeat determines which services are available within
the “up” group
• Back-up CLC monitors the “up” group to determine if it
contains a master
– If not, it becomes the master
• Master and Back-up DBs kept synced
– Resync when failed CLC is restored
© 2012 Eucalyptus Systems, Inc.
14
- 15. IAM, Quotas, and Reporting
• IAM is AWS “Identity and Access Management”
– Accounts and users, and groups of users
– JSON based policies defines calls that users and groups can
execute
– Also possible to attach policies to resources S3 (buckets for
now)
• Eucalyptus extends the IAM predicates with inequalities
– Implements quotas as tests against IAM policies
• Resource usage information exportable in a variety of
formats and through GUI
© 2012 Eucalyptus Systems, Inc.
15
- 16. For Example
eucalyptus dev support sales
{
"Version":"2012-02-12",
"Statement":[{
"Sid":"2",
quota "Effect":“Limit",
EC2 image permission "Action":"ec2:RunInstances",
"Resource":"*",
"Condition":{
S3 bucket ACL "NumericLessThanEquals":{
"ec2:quota-vminstancenumber":
quota "256"
}
}
}]
}
© 2012 Eucalyptus Systems, Inc.
16
- 18. Quality
• Continuous integration and testing during development
• Automated Quality Test Harness
– PXE booting clouds
• GUI Testing
• Networking modes + features tests + distros + hypervisors
+ deployment topologies
– Approximately 400 combinations
• HA Testing
– Graceful failover, Machine reboot, Network loss
• Scalability testing
• Publically accessible Beta Clouds
• Security Audits
• Coverity / Memory profiling
© 2012 Eucalyptus Systems, Inc.
18
- 19. Eucalyptus 3.1
• Open Source of 3.0
• New platform support
– VMWare 5, Ubuntu 12.04 (Precise), CentOS 6
• Continued platform support
– RHEL 5/6, CentOS 5, Ubuntu 10.04 (Lucid), VMWare 4.1
• New method of working
– In the open
• FastStart
• EuStore
• Documentation improvements
– PDF, HTML, Open sourced, ease of input
– Best Practice guides, Getting Started Guide
© 2012 Eucalyptus Systems, Inc.
19
- 21. What does the future hold….
• Eucalyptus 3.2 (Q4)
– Feature release
– Possibilities
• ELB, Cloudwatch, Autoscaling, Instance Tags, EMC SAN,
Management Console, Ease of use improvements
• Eucalyptus 4 in 2013 and Eucalyptus 5 in 2014
– Application features -> services and API
– Operational features -> ease of use, maintenance,
performance
• Please help! – tell us what Eucalyptus needs and when it
needs it
© 2012 Eucalyptus Systems, Inc.
21
- 22. Thanks!
Questions?
tjcramer@eucalyptus.com
© 2012 Eucalyptus Systems, Inc.
22