Cloud-Aneka - WordPress.com

advertisement
Outline
• Introduction
– Cloud Computing
• Aneka
– Features
– Architecture
– Programming Models
• Aneka Node Management
1
Introduction
2
Cloud Computing a Buzz Word
Billing
Storage
Utility
Computing
Web 2.0
Uhm, I am not quite
clear…Yet another
buzzword..?
3
How Cloud Computing Emerged
What if I could
dynamically
choose the number
of servers and pay
Uhm..
for only the time
Good but I
I need them?
Hey, thiscan’t keep
idea isup with the
cool let’s demand
make a
website
What to do?
Buy more servers?
Animoto.com
What if the demand
shrinks?
Animoto.com
Me too!
Me too!
Me too!
Animoto.com
I would like
to make a
video with
my pictures
Hey I
want a
movie
too!
Mom, dad, friends
4
Cloud Computing
• About the Cloud
Cloud
The “Cloud” is the default
symbol of the internet in
diagrams.
Computing
The broader term of “Computing”
encompasses:
- Computation
- Coordination logic
- Storage
Cloud Computing is about moving computing from
the single desktop pc/data centers to the internet.
5
Cloud Computing
• More formally….
– Fox et al. (Berkeley)
Cloud Computing refers to both the applications delivered as services over
the Internet and the hardware and systems software in the datacenters that
provide those services. The services themselves have long been referred to
as Software as a Service (SaaS), so we use that term. The datacenter
hardware and software is what we will call a Cloud.
– Buyya et al.
A Cloud is a type of parallel and distributed system consisting of a collection
of interconnected and virtualized computers that are dynamically provisioned
and presented as one or more unified computing resources based on
service-level agreements established through negotiation between the
service provider and consumers.
For more definitions ,
http://cloudcomputing.sys-con.com/node/612375
6
Web 2.0 Interface
Programming API
Scripting & Programming
Languages
Google AppEngine
Platform as a Service
Microsoft Azure
Manjrasoft Aneka
Infrastructure as a Service
Virtualization
Private Cloud
VM Management & Deployment
Amazon S3, EC2
Public Cloud
OpenNebula, Eucalyptus
Mosso
Data Centers
Other
Grids/Clouds
Clusters
Storage
7
Accounting
Admission Control
Software as a Service
SLA Negotiation
Salesforce.com
QoS Metering
Google Apps (Gmail, Docs,…)
Pricing and Billing
Anatomy of a Cloud
Embracing the Cloud
• Benefits
– Infinite compute resource available on demand
• Hardware virtualization
– Accessibility anytime and anywhere
• Internet (web based) access
– Elimination of the upfront commitment of users
• Reduced costs due to dynamic hardware provisioning
• Pay per use basis (and also other models)
• No need to plan for peak load in advance
– Easy management
• Software versioning and upgrading
8
Embracing the Cloud
• Migration Risks
– Privacy
• Who access your data?
– Security
• How much you trust your provider?
• What about recovery, tracing, and data integrity?
– Political and legal issues
• Who owns the data?
• Who uses your personal data?
Will it be
fitting
for me?
– Government
• Where is your data?
– Amazon Availability Zones
9
Aneka
10
Cloud middleware
Open Source Private Cloud Middleware
 Joyent /Reasonably Smart
 Eucalyptus
 Globus Nimbus
 Reservoir
 OpenNebula
11
Many of the grid & cloud products only
Support Open Source– what can we use
on Microsoft based systems
??
Any thing new !!
12
ANEKA
13
What is Aneka?
• Platform for deploying Clouds developing
applications.
• Service Oriented Architecture (SOA).
• Provides a runtime environment and set of
APIs.
• Choice for flexible, extensible .NET
enterprise Cloud application and
deployment.
14
Who provides an Aneka?
• Manjrasoft
• Named as manjrasoft due to the river called Manjira
• CloudSim – Simulation Sofware
• Aneka is the first Product.
• Dr. Rajkumar Buyya
CEO – Manjrasoft Pty Ltd
Director, GRIDS Laboratory, University of
Melbourne, Australia
15
Why Aneka?
– Aneka (Sanskrit): many, in many ways, many in one…
– This means:
•
•
•
•
•
Multiple programming/deployment models
Multiple scheduling strategies
Multiple authentication models
Multiple persistence backends
Multiple platform and OSs
Designed to be a configurable middleware with the aim of
supporting an open ended set of abstractions for distributed
computing and deployment scenarios
16
Why Aneka?
• Aneka & Clouds
Software as a Service
Platform as a Service
Private Cloud
Public Cloud
Aneka
Infrastructure as a Service
Aneka fits into the cloud architecture at the platform layer. This means that it
provides a programming based interface for developing distributed application
and a virtual execution environment in which the applications developed
17
according to the published APIs can run.
Features
• Current Applications
– Scientific
• Distributed evolutionary computation
• Proteine structure prediction
– Commercial
•
•
•
•
Engineering: Go Front (China): Train models rendering
Media and games: platform for on-line gaming
Financial: risk analysis
Office automation: Excel integration
– Educational
• Image filtering
• Image rendering
• Distributed systems teaching
18
Aneka Architecture
• System Overview
Aneka enterprise Cloud
Aneka
Container
work units
Executor
Executor
Manager
Executor
internet
work units
Scheduler
internet
Workers
Manager(s)
Executor
Manager
Client
Applications
19
Aneka Architecture…
• Work Unit
– It defines the granularity of the model (or) the smallest
computational unit that is directly handled by the
Aneka infrastructure.
– Within Aneka, a collection of related work units define
an application.
• Scheduler
– organizing the execution of work units composing the
applications
– dispatching them to different nodes, getting back the
results, and providing them to the end user.
20
Aneka Architecture…
• The Executor
– responsible for actually executing one or more
work units while the Manager is the client
component which interacts with the Aneka
system to start an application and collects the
results.
21
Programming Models
• Development
– Aneka is Platform as a Service cloud
middleware
– This means:
• It exposes an API for development
• It provides access to the cloud at programming
level
– More precisely…
• It provides different programming models on one
platform
22
Programming Models
• Models are
–
–
–
–
Task Programming Model
Thread Programming Model
MapReduce Programming Model
Custom model
23
Programming Model Contd..,
Task Programming Model
• collection of one or more tasks, where each task
represents an independent unit of execution
• suitable for grid/cloud enabling of legacy
applications
Thread Programming Model
• a collection of one or more independent threads
• model fits better for architecting and implementing
new applications, algorithms on clouds
24
Programming Model Contd..,
• MapReduce Programming Model
• to model the MapReduce concept
• to processing of large data intensive applications
• Custom
• Develop an application which uses one or all of
these models
• Create a new model with ANEKA.
25
Private Cloud Setup Using Aneka
26
Aneka Network Configuration
27
System Requirements
• Hardware Requirements:
– 1G RAM, 40 MB disk space
• Software Requirements:
– Microsoft Windows XP Professional Edition SP 2
– Microsoft .NET framework 2.0+
– Microsoft SQL Server 9.0.x / SQL Server Express
9.0.x / MySQL Server 5.1.3.0 (Optional, if database
support is required)
– IIS 5.0+ (optional, if the role based security web
service is required)
28
Installation of Mater Node
• Specify the Name of the Cloud
• Used for future node references
•
Name
29
Node Selection
Select Type is used to selects either Master or Slave Node
30
After the Installation,
Start a Aneka
By Service Mode / Console Mode
31
Aneka Enterprise Cloud
Management Studio
Used to monitor the master and slave nodes
Enter the master URL
Click Connect
32
Windows Credentials
Windows Authentication
Details
33
After Connecting…
Master Node Details
34
Aneka Node Management
Start a Aneka
Select Aneka Management Studio
35
Aneka Node Management
Enter the IP Address of Master Node in the URL
36
Aneka Network Overview
Slave is connected to the Master
37
System Performance Monitor
Used to monitor CPU &
Power Usage and
Availability
38
Accounting Manager
Account Details such as Name ,
Status Completion time ,
Execution time and so on..,
39
What Aneka Expect from User
• Build new applications – Custom Model
• Make use of Aneka in existing applications to
speed up the execution
• Build Commercial relationships
• Discuss investment and Business Opportunities
40
References
• Web pointers
–
–
–
–
–
–
cloud-computing@googlegroups.com
http://twitter.com/cloudcomp_group
http://sites.google.com/site/cloudcomputingwiki/
http://wiki.cloudcommunity.org/
http://en.wikipedia.com/cloud_computing
http://cloudslam09.com/
41
http://cloudskcet.wordpress.com/
Thank You 
42
Download