• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
 

Implementing Dynamic Process Migration mechanism for WSO2 Stratos

on

  • 349 views

Implementing Dynamic Process

Implementing Dynamic Process
Migration mechanism for WSO2 Stratos

Statistics

Views

Total Views
349
Views on SlideShare
349
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Implementing Dynamic Process Migration mechanism for WSO2 Stratos Implementing Dynamic Process Migration mechanism for WSO2 Stratos Presentation Transcript

    • Implementing Dynamic ProcessMigration mechanism for WSO2 StratosDharshana Kasun Warusavitharana128233ADepartment of Computer science and EngineeringUniversity of Moratuwa.dkasunw@gmail.comSupervisorsMr. Afkham AzeezDirector Of Architecture, WSO2 inc.azeez@wso2.comSrinath Perera, Ph.D.Senior Software Architect, WSO2 Inc.srinath@wso2.com
    • Problem Identification● What is WSO2 Stratos○ Is a PaaS offers WSO2 platform as A service.● What is Dynamic Process Migration● Why Stratos needs Dynamic process migration○ Dynamic load distribution.○ Fair distribution of load.○ Avoid nodes being idle.○ Increase fault resilience.Dharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera
    • Dynamic Process Migration ScenarioDynamic Process migration do● process of transferring an active processand restoring the process from the point itleft off● Become dynamic while it is not visible to theusers.● Achieved Tuning the Load BalancerWe can achieveDharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera● Load balancing● Dynamic loaddistribution● Fault tolerance● Reliability● Concurrency● Availability
    • Relevant Literature● Dynamic Process Migration● Selecting Algorithm● Load Balancing● Load indexing● Process migration checkpointing andindexingDharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera
    • Dynamic Process MigrationThe research paper [5][6] provides a good overall picture ofthe process migration in linux environmentWhat applicable to me● Detail items to be considered (List of goals to be achieved).● Process checkpointing and load calculation.● A practical implementation of the Dynamic Process Migration ( Yahoo).What Deviates from my requirement● Im not working with linux kernel level threads.● My requirement is to form a replicated node identical process running insame state.● By monitoring states and the resources used by original process.Dharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera
    • Selecting AlgorithmThe Paper [11] describes about available types of processmigration mechanisms mainly focusing on operatingsystems● Types of Process migration algorithms.● Their NatureThe Paper [10] describes about how the migration cost tobe calculate● What are the states of the process needs toconsider.● What is the state the algorithm should attend tomigrateDharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera
    • Load BalancingLoad Balancing with process migration shouldcover many aspects● The paper[11] shows the role of the load balancer.● What are the operations should handle.● Key aspects we can follow.●There is separate Tenant aware load balance available on[1] which contains many aspects but needs to improve tocater the scenario.Dharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera
    • Migration Cost CalculationThe Paper [10] describes about how the migration cost tobe calculate● What are the states of the process needs to consider.● What is the state the algorithm should attend to migrateThe migration is separated into three phases● Data collection● Data transmission● Data restorationDharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera
    • CheckpointingCheckpointing is a necessary step in monitoringmigrating process and taking fault tolerance precautions.● A scenarios discussing on the paper [4] where loadcan make idle node to a failure.● And how to solve the issue using Checkpointing &Rollback Recovery (CRR) and Process Migration onpaper[10].the paper [13] Checkpointing can be implemented atthree levels• Kernel-level Checkpointing• User-level Checkpointing• Application-level CheckpointingDharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera
    • Proposed MethodologyProcess Monitor – Doindexing , Scheduling andmonitoring the internalprocess and update loadbalance and process monitor.Migration Monitor- Calculatethe migration cost and notifydecision engine.Load Balance – Do loadbalancing encapsulating themigration.Dharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera
    • Reference :[1] “WSO2 Tenant Aware Load balancer | WSO2 Oxygen Tank.” [Online]. Available:http://wso2.org/library/articles/2012/05/tenant-aware-load-balancer?utm_medium=twitterutm_source=twitterfeed. [Accessed: 13-Jan-2013].[2] P. Fremantle, S. Perera, A. Azeez, S. Jayasoma, S. Rubasinghe, R. Linton, S.Weerawarana, and S. Abeysinghe, “Carbon: towards a server building frameworkfor SOA platform,” in Proceedings of the 5th International Workshop on Middlewarefor Service Oriented Computing, 2010, pp. 7–12.[3] “Azeez’s Notes: WSO2 Stratos - Deployment Architecture.” [Online]. Available:http://blog.afkham.org/2010/06/wso2-stratos-deployment-architecture.html.[Accessed: 13-Jan- 2013].[4] Afkham Azeez, Srinath Perera, Sanjiva Weerawarana, Paul Fremantle,Selvaratnam Uthaiyashankar, Samisa Abesinghe, “WSO2 Stratos: An ApplicationStack to Support Cloud Computing.”[5] N. Vasudevan and P. Venkatesh, “Design and Implementation of a ProcessMigration System for the Linux Environment,” in 3rd International Conference onNeural, Parallel and Scientific Computations, 2006.[6] J. M. Smith, “A survey of process migration mechanisms,” ACM SIGOPSOperating Systems Review, vol. 22, no. 3, pp. 28–40, 1988.
    • [7] D. S. Milojivcić, F. Douglis, Y. Paindaveine, R. Wheeler, and S. Zhou,“Process migration,” ACM Computing Surveys (CSUR), vol. 32, no. 3, pp. 241–299, 2000.[8] C. S. Rao, M. Naidu, K. Subbaiah, and N. R. Reddy, “Process migration innetwork of linux systems,” Int. J. Comput. Sci. Network Security, vol. 7, pp.213–219, 2007.[9] Ellard T. Roush and Roy H. Cambell, “Fast dynamic process migration,” inDistributed Computing Systems, 1996.[10 C. Du, X. H. Sun, and M. Wu, “Dynamic scheduling with process migration,”in Cluster Computing and the Grid, 2007. CCGRID 2007. Seventh IEEEInternational Symposium on,2007, pp. 92–99.[11] R. Lawrence, “A survey of process migration mechanisms,” Dept. of CS,Univ. of Manitoba, May, vol. 29, 1998.[12] V. Shah and V. Kapadia, “Load Balancing by Process Migration inDistributed Operating System,” International Journal of Soft Computing, vol. 2.[13] C. S. Rao, M. Naidu, K. Subbaiah, and N. R. Reddy, “Process migration innetwork of linux systems,” Int. J. Comput. Sci. Network Security, vol. 7, pp.213–219, 2007.[14] R. F. Yeshayahu Artsy, “Designing a process migration facility: TheCharlotte experience.”
    • Questions?Thank YouDharshana Warusavitharana 128233AImplementing Dynamic Process Migration mechanism for WSO2 StratosMr Afkham Azeez and Dr Srinath Perera