Openstack Cactus Survey

  • 552 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
552
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. OpenStack 陳彥宏 EricCloud Computing HQ, Wistron +886-2-6612-2980 Eric_yh_chen@wistron.com
  • 2. • Projected by Rackspace Cloud and NASA at July, 2010• Open source with Apache License• Next release “Diablo” expected in Q3 2011• Written in Python
  • 3. • Ubuntu Cloud: OpenStack Wins, Eucalyptus Loses @ 2011/02 – Available in Ubuntu Natty(11.04) via apt-get – Default cloud solution in Ubuntu Oneiric(11.10) October release
  • 4. • Compute (Nova), Object Storage (Swift), and Image Service (Glance)• http://www.openstack.org/projects/
  • 5. Compute – Nova
  • 6. • Receive xml requests• Support EC2 API• Support Openstack API – ReSTful HTTP service. – Supports both the JSON and XML data serialization formats.• Support OCCI – Deferred
  • 7. • Responsible for managing virtual machines• Loads a Service object which exposes the public methods on ComputeManager via Remote Procedure Call (RPC)• Functionality – http://docs.openstack.org/cactus/openstack- compute/admin/content/understanding-the- compute-service-architecture.html
  • 8. • Managing attachable block storage devices, just like Elastic Block Storage (EBS)• iSCSI solution that employs the use of Logical Volume Manager (LVM) for Linux, not SAN solution• Loads a Service object which exposes the public methods on VolumeManager via RPC.• http://docs.openstack.org/cactus/openstack-compute/admin/content/understanding-the-compute-service-architecture.html
  • 9. • Managing floating and fixed IPs, DHCP, bridging and VLANs• Service object which exposes the public methods on one of the subclasses of NetworkManager• http://docs.openstack.org/cactus/openstac k-compute/admin/content/understanding- the-compute-service-architecture.html
  • 10. • Hyper-V 2008• KVM (Default)• LXC• QEMU• UML• VMWare ESX/ESXi 4.1• Xen
  • 11. • S3 Image Service (Default)• Local Image Service• Glance Service
  • 12. • Connection type – Linux bridge networking• Network type – Flat • Given public IP addresses. – Flat DHCP • Given public IP addresses. – VLAN (Default) • Creates a VLAN and bridge for each project. • Need Switch that supports VLAN tagging (IEEE 802.1Q). • Cloudpipe is a method for connecting end users to their project instances in VLAN networking mode
  • 13. • Fixed IPs – Assigned to an instance on creation and stay the same until the instance is explicitly terminated – Normally is private ip in VLAN• Floating IPs – Dynamically associated with an instance – Public ip, similar to Amazon’s elastic Ips
  • 14. • Single Node (Single Adapter)
  • 15. • Multiple nodes (Single Adapter)
  • 16. • Multiple nodes (Multiple Adapter)
  • 17. • RFC-1918 IP space• public IP via NAT• no default inbound Internet access without public NAT• limited (project-admin controllable) outbound Internet access• limited (project-admin controllable) access to other project segments• all connectivity to instance and cloud API is via VPN into the project segment
  • 18. • Number of volumes which may be created• Total size of all volumes within a project as measured in GB• Number of instances which may be launched• Number of processor cores which may be allocated• Publicly accessible IP addresses Not Test
  • 19. • Database – Any SQLAlchemy-compatible database • Default: MySQL• Authentication and Authorization – Database (Default) – LDAP – other SAML Policy Controller• Deployment – Puppet• Admin API – Euca2ools – Nova-manage command line
  • 20. Image – Glance
  • 21. HTTP/REST
  • 22.  Composed by API server and Registry server Backend stores  OpenStack Object Storage  FileSystem  Amazon S3  HTTP• Database – Any SQLAlchemy-compatible database • Default: SQLite
  • 23. • raw• vmdk (common disk format)• vhd (vmware、Xen 、Virtualbox)• vdi (VirtualBox)• qcow2 (Qemu/KVM)• iso• ovf• aki 、ari 、ami (Amazon)
  • 24. Diablo
  • 25. • https://blueprints.launchpad.net/nova/diabl o• Network – http://wiki.openstack.org/Quantum
  • 26. • https://blueprints.launchpad.net/glance/dia blo
  • 27. • https://blueprints.launchpad.net/swift/diabl o
  • 28. Live Demo
  • 29. Client 1 Server 1 Server 2Functionality Client All component Nova-computeNo of NICs Eth0 – Public Eth0 – public Eth0 – public Eth1 – private Eth1 – privateIP Eth0 : 172.16.33.7 Eth0: 172.16.33.6 Eth1 : 192.168.3.1 Eth1: 192.168.3.2
  • 30. Not Test
  • 31. • Create a Nova administrator• Create a project• Create network
  • 32. Backup Slide
  • 33. • VLAN Demo – http://wiki.openstack.org/VlanNetworkSetup
  • 34. • Simple file-based storage system for images• Support most of the S3 API• Can be replaced by glance• Must be same node with nova-compute
  • 35.  REST API Using the euca2ools command-line