Professional Documents
Culture Documents
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
•The Infrastructure layer is the base
layer and comprises of all the
hardware resources upon which IT is
built upon. These include computing
resources, storage resources, network
resources, and so on.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Apache Cloudstack :
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
• CloudStack supports hypervisor
hosts running VMware ESXi with
XenServer/XCP, KVM, Hyper-V,
and/or vSphere.
• CloudStack manages storage for
templates, snapshots and ISO
images (secondary storage) as
well as cloud servers running on
the hypervisor (primary storage).
• Also from the data link layer (L2)
DHCP, NAT, firewall, Load
balancer,VPN etc.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Difference between Apache CloudStack and OpenStack:
OpenStack CloudStack
Hypervisor Open Stack provides support for Xen and KVM, Supports multiple hypervisors which include
with limited support for VMware ESX, Citrix Citrix EServer, Oracle VM, VMware, KVM and
Xen server and Microsoft Hyper-V. It does not vSphere.As of the current release CloudStack
support bare-metal servers and Oracle VM supports: BareMetal (via IPMI)
Deployment A certain level of proficiency is required to get The installation of CloudStack is quite
OpenStack up and running since it is deployed streamlined. Very smooth deployment as there is
through specific important incubator projects. only one VM server running all the CloudStack
Management servers. Entire thing can be put into
one physical host
Community OpenStack has large community support. It is the Since CloudStack is relatively new, it is not
most mature stack-based cloud control model.. backed as much from the industry. However, this
is likely to change in the future given the
excellent user flexibity that it provides.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Notable Users of CloudStack:
• 1. Apple
• 2. Dell
• 3. Juniper networks
• 4. SAP
• 5. Verizon
• 6. Tata
• 7. Nokia
• 8. InMobi
• 9. Citrix Systems
• 10. Huawei
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
What can Apache CloudStack do?
Rich Management User It is a fully AJAX based solution compatible with most of the latest internet browsers and can also be easily integrated with your existing portal.
Interface
Powerful API Easily build, integrate, and use applications built on top of the CloudStack API. The CloudStack API is well-documented and extensible.
Secure Single Sign On Aggregate and integrate your existing applications with our management user interface via our secure single sign-on for a better user experience.
Multi-role Support Three distinct account roles for user interface and API access are supported out-of-the-box:
• Admin: can manage both the virtual and physical resources of the cloud
• Domain-Admin: can manage only the virtual resources owned by the accounts within their domain
• User: can manage their own virtual resources
Secure Cloud Deployments Ensures that all memory, CPU, network, and storage resources are both available and isolated from one user account to another within the cloud.
Hypervisor Agnostic CloudStack provides you with the flexibility to allow you to integrate with the major hypervisors in the market today including VMware, KVM, Citrix XenServer, and
Citrix Xen Cloud Platform.
Easy Template Creation The CloudStack User Interface allows you to easily create pre-defined templates for efficient virtual machine deployments. Templates can be created by attaching a
Process guest OS ISO to a blank VM or directly from existing VMs in the cloud.
Block Storage Volumes CloudStack supports the creation of block storage volumes of arbitrary size on both network attached storage (NAS) or local disk that can be attached and detached to
and from your virtual machine.
Wide Range Guest VM OS Depending on the configured hypervisor, CloudStack supports a wide range of guest operating system including Windows®, Linux®, and various versions of BSD®.
Support
Projects Allow users to collaborate and share resources within a defined group or "project". When a user creates an a project all usage under the project is attributed to the
account who becomes the project owner.
Network As a Service Admin can compose network offerings with different network behaviors.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Management Server Overview
The management server:
• Provides the web interface for both the adminstrator and end user.
• Provides the API interfaces for both the CloudStack API as well as the EC2
interface.
• Manages the assignment of guest VMs to a specific compute resource
• Manages the assignment of public and private IP addresses.
• Allocates storage during the VM instantiation process.
• Manages snapshots, disk images (templates), and ISO images.
• Provides a single point of configuration for your cloud.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Cloud Infrastructure Overview
Resources within the cloud are managed as follows:
• Regions: A collection of one or more geographically proximate zones managed by one or
more management servers.
• Zones: A zone consists of one or more pods and secondary storage.
• Pods: A pod is usually a rack, or row of racks that includes a layer-2 switch and one or more
clusters.
• Clusters: A cluster consists of one or more homogenous hosts and primary storage.
• Host: A single compute node within a cluster; often a hypervisor.
• Primary Storage: A storage resource typically provided to a single cluster for the actual
running of instance disk images.
• Secondary Storage: A zone-wide resource which stores disk templates, ISO images, and
snapshots.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Networking Overview
CloudStack offers many types of networking, but they typically fall into one
of two scenarios:
• Advanced: This typically uses layer-2 isolation such as VLANs, though this
category also includes SDN technologies such as Nicira NVP.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Regions:-
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Zones:-
A zone is the second largest organizational unit within a
CloudStack deployment. A zone typically corresponds to a
single datacenter, although it is permissible to have multiple
zones in a datacenter. The benefit of organizing infrastructure
into zones is to provide physical isolation and redundancy.
A zone consists of:
• One or more pods. Each pod contains one or more clusters
of hosts and one or more primary storage servers.
• A zone may contain one or more primary storage servers,
which are shared by all the pods in the zone.
• Secondary storage, which is shared by all the pods in the
zone.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
A zone is hypervisor specific—
a zone will only consist of hosts with
the same hypervisor only.
Hosts with different hypervisors are
added to different zones.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Pods:-
• A pod often represents a single rack.
• Hosts in the same pod are in the same
subnet.
• A pod is the third-largest organizational unit
within a CloudStack deployment.
• Pods are contained within zones.
• Each zone can contain one or more pods.
• A pod consists of one or more clusters of
hosts and one or more primary storage
servers.
• Pods are not visible to the end user.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Clusters
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Hosts
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Primary Storage
• Primary storage is associated with a cluster, and it stores virtual disks for all the VMs
running on hosts in that cluster.
• On KVM and VMware, you can provision primary storage on a per-zone basis.
• One can add multiple primary storage servers to a cluster or zone. At least one is required.
• It is typically located close to the hosts for increased performance.
• It is useful to set up zone-wide primary storage when you want to avoid extra data copy
operations.
• With cluster-based primary storage, data in the primary storage is directly available only to
VMs within that cluster.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Secondary Storage:-
• Templates — OS images that can be used to boot VMs and can include additional configuration
information, such as installed applications
• ISO images — disc images containing data or bootable media for operating systems
• Disk volume snapshots — saved copies of VM data which can be used for data recovery or to
create new templates
The items in secondary storage are available to all hosts in the scope of the secondary storage, which
may be defined as per zone or per region.
To make items in secondary storage available to all hosts throughout the cloud, you can add object
storage in addition to the zone-based NFS Secondary Staging Store. Everything is available
everywhere.
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Physical Networks
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
Apache Cloudstack Internal Architecture :
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University
The overall architecture picture nicely shows the multitude of Cloud actions to be taken in any
system (the 3 arrows to the left are where external interfaces can 'hook' into the system) :
The 'openness' of CloudStack is built on guaranteed operational compatibility to :
• when it comes to storage : any technology (local disks, iSCSI, FiberChannel, NFS, Swift)\
• for computing services : any hypervisor (VMWare, XenServer, Oracle VM, KVM, Bare
Metal)
• for networking : network types, isolation, firewall protection, Load balancer and VPN.
Basically the setup is a hierarchy of a domain (customer, business, reseller) with subdomains
where each subdomain has 'accounts', the basic unit of isolation. Resources can be limited at
both domain or account levels. One host runs a hypervisor (VM manager) and the hosts with a
common hypervisor constitute a 'cluster' having access to shared primary storage. Several
clusters constitute a Pod (a rack with an L2 switch), several Pods create a Zone (accessing
shared secondary storage), while finally several zones create a cloud, in which firewalls and
load balancers separate private from public clouds.
www.lpu.in
www.lpu.in Lovely
Lovely
Professional
Professional
University
University
www.lpu.in
www.lpu.in Lovely
LovelyProfessional
Professional
University
University