230 likes | 394 Views
Generic Resource Framework for Cloud Systems. Summary. Resource abstraction – representing resources in a unified way; generic management without knowledge of the underlying resource access protocol; extensibility; modeling with regards to Cloud requirements
E N D
Generic Resource Framework for Cloud Systems Generic Resource Framework for Cloud Systems
Summary • Resource abstraction – representing resources in a unified way; generic management without knowledge of the underlying resource access protocol; extensibility; modeling with regards to Cloud requirements • SOA – OSGi approach; lightweight service architecture; high dynamics • Distribution topology – Cluster to Cluster management; One Management Cluster per datacenter Generic Resource Framework for Cloud Systems
Cloud Systems Physics • Typically consist of one or more Datacenters physically spread in strategic geographical locations Generic Resource Framework for Cloud Systems
Distributed Topology Generic Resource Framework for Cloud Systems
Roles • Managed Datacenter Nodes, Devices and Logical Units– hardware/virtual resources, service applications, configurations, tenant users, maintenance procedures, etc. • Management Server (MS) Cluster– handles directly the management of resources: maintains resource information, enables monitoring, schedules management operations, performs filtering • Remote Access Servers (RAS)– consolidate results from MS Clusters and provide administrator access (via GUI or Web Browser) to management and monitoring functionality Generic Resource Framework for Cloud Systems
Resource abstraction – the Control Unit • State Variables – name-value pairs defining the Control Unit state. • Control Unit Actions – the operations available upon the resource. Constructors! and Destructors • Control Unit Metadata – describing the Interface - State Variables and Actions • Control Unit Type – a class of resources having the same Interface and respectively – metadata. There may be many instances of the same type (having the same interface), which are in different state (different values of the state variables) • Control Unit ID – identifier in the scope of the Control Unit Type Type: My Application Type: User ID: foo State Variables: Status:running SecureMode:enabled Actions: stop() start() setSecureMode(boolean) ID: john.smith State Variables: username:john.smith email:john.smith@gmail.com roles:view apps, change configs Actions: setEmail(String) addRole(String) removeRole(String) Generic Resource Framework for Cloud Systems
Control Unit Hierarchies • Resources are naturally grouped in relations => We define Control Unit Hierarchies – parent and sub Control Units • Host Control Units – roots of hierarchies • Components Control Units – belong to certain Resource Host • Control Unit Identification - 4 elements: (host type, host id, control unit type, control unit id) Generic Resource Framework for Cloud Systems
The OSGi Platform OSGi – Open Service Gateway Initiative Java Application Platform: • Application lifecycle: OSGi Bundles can be started, stopped, installed, uninstalled • Service Registry: cooperation model, service orientation • Specification standard: interoperability Generic Resource Framework for Cloud Systems
System Architecture Generic Resource Framework for Cloud Systems
Use Case: Retrieving Control Unit State The same is for invoke action Generic Resource Framework for Cloud Systems
System Architecture – optional OSGi on Datacenter Node Applicable for PAAS and SAASNot applicable forIAAS Generic Resource Framework for Cloud Systems
Use Case: Extensibility - adding new resource management feature Cloud Company developers have Implemented Agent-based Control Unit representation of a new type of resource. Generic Resource Framework for Cloud Systems
Use Case: Extensibility - adding new resource management feature Generic Resource Framework for Cloud Systems
Use Case: Extensibility - adding new resource management feature Generic Resource Framework for Cloud Systems
Use Case: Extensibility - adding new resource management feature Generic Resource Framework for Cloud Systems
Use Case: Extensibility - adding new resource management feature Generic Resource Framework for Cloud Systems
Use Case: Extensibility - adding new resource management feature Generic Resource Framework for Cloud Systems
Use Case: Extensibility - adding new resource management feature Generic Resource Framework for Cloud Systems
Use Case: Extensibility - adding new resource management feature Generic Resource Framework for Cloud Systems
Events Handling Two known approaches: • Publish/subscribe – publishers send events without knowledge about the listeners. (convenience for the publishers) • Subscribe/publish – events are fired in response to a subscriptions (influences efficiency) • Our approach: • Admin applications subscribe into the System – subscription filters are spanned to all physical locations (MS Hosts and Control Unit Agents) • Control Unit Providers fire all state change events into the System • The System decides whether notifications should be delivered Generic Resource Framework for Cloud Systems
Related Work and Analysis • Grid Monitoring Architecture • SOA – Web Services, OGSA, Globus • Resource Abstraction - schema-based and object based - WSRF and OCCI Generic Resource Framework for Cloud Systems
Future Work • Persistent storing of resource data; search filters • User Management and Access Control • Rule-based Automations Shifting responsibility from providers to the system Receive 10 events that CPU > 90% Install new application instance to share the load Generic Resource Framework for Cloud Systems
Thanks for your attention Generic Resource Framework for Cloud Systems