Content
Aneka Cloud Application platform
Framework overview
Anatomy of aneka container
Building aneka clouds
Infrastructure organization,
- Logical organization
- Private cloud deployment mode
- Public cloud deployment mode
- Hybrid cloud deployment mode
Cloud programming and Management – Aneka SDK
- Application Models and Service Model
Management Tools
- Infrastrucre
- Platform
- Application Management
Framework Overview
Overview:-
Aneka is a software for developing cloud computing applications.
It allows harnessing of disparate computing resources and managing them into a unique virtual domain –
the aneka cloud in which applications are executed
According to the cloud middleware product that can be deployed on a heterogeneous set of resources.
- A network of comptuers
- A multicore server, datacenters
- Virtual cloud infrastructure or a mixture of all these
One of Aneka’s key advantage itx extensible set of APIs associated with different type of programming
models such as Task, Thread, and MapReduce.
Used for developing distributed applications, integrating new capabilities into the cloud.
Supporting different types of cloud deployment models, :- private, public and hybrid
Aneka container which is installed on each node and constitute the basic building block of the
middleware.
The container features three different classes of services:- Fabric Service, Foundation Service, Execution
Services.
These take care of infrastructure management, supporting services for the Aneka cloud, and application
management and execution respectively.
These services are made available to developers and administrators by means of the application
management and development layer, which includes:-
- Interfaces and APIs for developing cloud applications and
- Management tools and interfaces for controlling Aneka clouds.
https://www.manjrasoft.com/aneka_architecture.html
Aneka implements a service-oriented architecture (SOA) and services are the fundamental components
of an Aneka Cloud.
Services operate at container level and except for the PAL, they provide developers, users, and
administrators with all features offered by the framework.
Services also constitute the extension and customization point of Aneka Clouds.
FRAMEWORK OVERVIEW:-
1. The infrastructure allows for the integration of new services or replacement of the existing ones
with a different implementation.
2. The framework includes the following
a. Basic services for infrastructure and node management
b. Application execution
c. Accounting and
d. System monitoring
Existing services can be extended and new features can be added to the cloud by Dynamically plugging
new ones into the container.
Aneka Services Involve:-
- Elasticity and scaling
- Runtime Management
- Resource management
- Application management
- User management
- Qos/SLA management and Billing
ANATOMY OF THE ANEKA CONTAINER :-
The services installed in the Aneka container can be classified into three major categories:-
- Fabric Services
- Foundation Services
- Application Services
The services stack resides on top of the platform abstraction layer(PAL) representing the interfaces to the
underlying operating system and hardware.
ANATOMY OF THE ANEKA CONTAINER
From the ground up: the platform abstraction layer ( physical infrastructure)
The core infrastructure of the system is based on the .NET technology and allows the Aneka container to
be portable over different platforms and OS.
Any platform featuring an ECMA-334 and ECMS-335 compatible environment can host and run an
instance of the Aneka container.
The Common language infrastructure(CLI) , which is the specification introduced in the ECMA-334
standard. Defines a common runtime environment ( for executing programs) but does not provide any
interface.
The platform Abstraction layer(PAL) addresses this heterogeneity and provides the container with a
uniform interface for accessing the relevant hardware and operating system information.
The PAL is responsible for detecting the supported hosting environment (detection engine)
The PAL provides the following features:-
Uniform and platform independent implementation interface for accessing the hosting platform.
Uniform access to extended and addition properties of the hosting platform.
Uniform and platform independent access to remote nodes.
Uniform and platform independent management interfaces
The PAL is a small layer of software that comprise a detection engine, which automatically configures the
container at boot time.
The Collectible data that are exposed by the PAL are the following :-
- Number of cores, frequency and CPU usage
- Memory size and usage
- Aggregage available disk space
- Network addresses and devices attached the node.
FABRIC SERVICES:-
Fabric services define the lowest level of the software stack representing the Aneka container.
They provide access to the resource provisioning subsystem and to the monitoring facilities
implementing in Aneka.
Resource provisioning services
Monitoring services
Profiling and Monitoring :-
- Profiling and monitoring services are mostly exposed through the
o Heartbeat
o Monitoring and Reporting Services
- Hearbeat:- The heartbeat services periodically collects the dynamic performance
information about the node and publishes this information to the membership service int th
aneka cloud.
- A specific component , called Node resolver, is in charge of collecting these data and making
them available to the heartbeat service.
- Reporting and monitoring services. The reporting service manages the store for monitored
data and makes them accessible to other services or external applications for analysis
purposes.
Fabric Services
Currently serveal built-in services provide information through this channel.
- The membership catalogue
- The execution services
- The storage serv ice
- The resource provision service
ReSource Managmenet
--------------------------------
- Resource management is another fundamental feature of Aneka clouds. It comprises several
tasks: resource membership, resource reservation and resource provisioning.
- Aneka provides a collection of services that are in charge of managing resources. They are
the index services(or Membership Catalogue), Reservation service, and Resource
provisioning service.
- The Membership Catalogue
- Is Aneka’s fundamental component for resource management
- It keeps track of the basic node information for all the nodes that are connected or
disconnected.
- Indexing and categorizing resource are fundamental to resource management.
- Dynamic resource provisioning
- Allow the integration and management of virtual resources leased from Iaas provideser into
the Aneak cloud.
- This service changes the structure of the Aneka cloud by allowing it to scale up and down
according to different needs.
- Resource provisioning is a feature designed to support QoS requirements driven execution of
applications.
Foundation Services
--------------------------
- Foundation Services are related to the logical management of the distributed system built
on top of the infrastructure and provide supporting services for the execution of distributed
applications.
- These services Cover:-
o Storage management for applications
o Accounting , billing and resource pricing
o Resource reservation
Storage Management :-
---------------------------------
- File/Data transfer management is an important aspect of any distributed system, even in
computing clouds(data persisted and moved in the format of files)
- Aneka offers two different facilities for storage management centralized file storage and
Distributed file system.
- A centralized file storage user for the execution of compute intensive applications
(application require powerful processors and do not have high demands in terms of storage.
Used to store small files that are easily transferred from one node to another applicable for a
centralized storage node or a pool of storage nodes.
- To support different protocols , the system introduces file channel components a file channel
controller and a file channel handler.
- The file channel controller constitutes the server component of the channel, where files are
stored and made available: the file channel handler represents the client component which
is used by user applications or other components of the system to upload, download or
browse files.
- File channel abstraction is the ability to chain two different channels to move files by using
different protocols.
- Distributed file system- for the execution of data intensive applications( applications are
characterized by large data files( gigabytes or terabytes) and the processing power required
by tasks does not constitute a performance bottleneck)
-
Accounting Billing and Resource Pricing
--------------------------------------------------------
- Accounting services keep track of the status of applications. The collected information
provides a detailed breakdown of the distributed infrastructure usage and is vital for the
proper management or resources.
- Billing is another important features of accounting. Aneka is a multitenant cloud
programming platform. Aneka Billing Service provides detailed information about each
user’s usage of resources, with the associated costs. Each resource can be priced differently
according to the set of services that are available.
Difference B/W Accounting Service and Reporting Service
---------------------------------------
Accounting keeps track of the information that is related to application execution, such as the
distribution of jobs among the available resources, the timing of each job, and the associated cost.
Resource Reservation
-----------------------------
- Resource reservation supports the execution of distributed applications and allows for
reserving resources for exclusive use by specific applications.
Resource reservation is built out of two different kinds of services:-
1. Resource reservation. It keeps track of all the reserved times, slots in the Aneka Cloud
and provides a unified view of the system.
2. Allocation service. It is installed on each node that features execution services and
manages the database of information regarding the allocated slots on the local node.
At the moment the framework supports three different implementation
1. Basic reservation 2. Libra reservation 3. Relay Reservation
Application Services
-------------------------
- Application services manage the execution of applications and constitute a layer that
differentiates according to the specific programming model used for developing distributed
applications on top of Aneka.
- It is possible to identify two major types of activities that are common across all the
supported models, scheduling and execution.
Scheduling:-
- Scheduling services are in charge of planning the execution of distributed applications on top
of Aneka and governing the application of jobs composing an application to nodes.
Common tasks that are performed by the scheduling component are the following :-
- Job to node mapping
- Rescheduling of failed jobs
- Job status monitoring
- Application status monitoring
Execution:-
- Execution services control the execution of single jobs that compose applications.
- They are in charge of setting up the rutime environment hosting the executioin of jobs.
Currently there are several supported models:-
1. Task Model
2. Thread Model
3. MapReduce Model
4. Parameter Sweep Model
Infrastructure Overview:-
- Infrastructure based organization of Aneka cloud is the given in the following figure, the
working mechanism of this model:-
- The logical organization of Aneka Clouds can be very diverse. Since it strongly depends on
the configuration selected for each of the container instances belonging to the cloud.
-
Private cloud deployment mode:-
-----------------------------------------------
Aneka cloud Deployment Models
- All the general cloud deployment models like private cloud deployment mode. Public cloud
deployment mode and Hybrid cloud deployment mode are applicable to Aneka clouds also.
Private cloud deployment mode
- A private deployment mode is mostly constituted by local physical resources and
infrastructure management software providing access to a local pool of nodes, which might
be virtualized.
- Figure shows a common deployment for a private Aneka Cloud.
Public Cloud Deployment Mode:-
--------------------------------------------------
Public cloud deployment mode features the installation of Aneka master and worker nodes over a
completely virtualized infrastructure that is hosted on the infrastructure of one or more resource
providers such as Amazon EC2 or GoGrid.