Cloud computing for internet emulator. Professor Muthucumaru Maheswaran Team Members Mia Hochar Simon Foucher David El Achkar David El Achkar Marc Atie.

Slides:



Advertisements
Similar presentations
This course is designed for system managers/administrators to better understand the SAAZ Desktop and Server Management components Students will learn.
Advertisements

Chap 2 System Structures.
Copyright 2007, Information Builders. Slide 1 Workload Distribution for the Enterprise Mark Nesson, Vashti Ragoonath June, 2008.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
ShortTalk - XMPP messaging in a peer to peer manner Instructed by: Edward Bortnikov Supervisor: Dr. Ilana David Developed.
One.box Distributed home service interface. Core Components Pop3 client Router Storage Pop3 Server.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Wireless LAN Topology Visualiser Project Supervisor: Dr Arkady Zaslavsky Project Team Members: Jignesh Rambhia Robert Mark Bram Tejas Magia.
CompuNet Grid Computing Milena Natanov Keren Kotlovsky Project Supervisor: Zvika Berkovich Lab Chief Engineer: Dr. Ilana David Spring, /
Lesson 20 – OTHER WINDOWS 2000 SERVER SERVICES. DHCP server DNS RAS and RRAS Internet Information Server Cluster services Windows terminal services OVERVIEW.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
Course 6425A Module 2: Configuring Domain Name Service for Active Directory® Domain Services Presentation: 50 minutes Lab: 45 minutes This module helps.
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
SMS Gateway OZEKI NG Document version: v Adding SMS functionality to SysAid.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Course 6421A Module 7: Installing, Configuring, and Troubleshooting the Network Policy Server Role Service Presentation: 60 minutes Lab: 60 minutes Module.
Centralized SIM Server for iGATE/VoIPBOX GSM FX / UMTS systems
Object Oriented Databases by Adam Stevenson. Object Databases Became commercially popular in mid 1990’s Became commercially popular in mid 1990’s You.
IT 210 The Internet & World Wide Web introduction.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.

 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
Customized cloud platform for computing on your terms !
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Computing on the Cloud Jason Detchevery March 4 th 2009.
So, Jung-ki Distributed Computing System LAB School of Computer Science and Engineering Seoul National University Implementation of Package Management.
Module 7: Fundamentals of Administering Windows Server 2008.
Winrunner Usage - Best Practices S.A.Christopher.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Cloud computing for internet emulator. Professor Muthucumaru Maheswaran Team Members Mia Hochar Simon Foucher David El Achkar David El Achkar Marc Atie.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
Module 2: Installing and Maintaining ISA Server. Overview Installing ISA Server 2004 Choosing ISA Server Clients Installing and Configuring Firewall Clients.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
1 Welcome to CSC 301 Web Programming Charles Frank.
PVSSProxy The first piece of the MACS procedure framework (ProShell) Angela Brett.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
REMOTE LOGIN. TEAM MEMBERS AMULYA GURURAJ 1MS07IS006 AMULYA GURURAJ 1MS07IS006 BHARGAVI C.S 1MS07IS013 BHARGAVI C.S 1MS07IS013 MEGHANA N. 1MS07IS050 MEGHANA.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Module 13: Monitoring Resources and Performance. Overview Using Task Manager to Monitor System Performance Using Performance and Maintenance Tools to.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
Module 9 Planning and Implementing Monitoring and Maintenance.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
ECHO A System Monitoring and Management Tool Yitao Duan and Dawey Huang.
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
Open source IP Address Management Software Review
WARCS (Wide Area Remote Control for SPring-8)‏ A. Yamashita and Y.Furukawa SPring-8, Japan Control System Cyber-Security Workshop (CS)2/HEP Oct
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
VMware ESX and ESXi Module 3.
Business System Development
PLM, Document and Workflow Management
Lead SQL BankofAmerica Blog: SQLHarry.com
XMPP messaging in a peer to peer manner Instructed by:
LCGAA nightlies infrastructure
PHP / MySQL Introduction
DUCKS – Distributed User-mode Chirp-Knowledgeable Server
Lecture 1: Multi-tier Architecture Overview
Cloud computing mechanisms
Lecture9: Embedded Network Operating System: cisco IOS
Production Manager Tools (New Architecture)
Web Application Development Using PHP
Lecture9: Embedded Network Operating System: cisco IOS
Ubuntu MYSQL Database Server
Presentation transcript:

Cloud computing for internet emulator

Professor Muthucumaru Maheswaran Team Members Mia Hochar Simon Foucher David El Achkar David El Achkar Marc Atie Marc Atie GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Professor Muthucumaru Maheswaran Mia Hochar Simon Foucher David El Achkar David El Achkar Marc Atie Marc Atie D. Database Recomendations C. GINI Alterations Design Dilemma A. Evolution of GINI B. Dispatcher Objectives GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie E. Scheduler F. Conclusion

1. What is GINI? 2. GINI’s Features 3. Improvements Overview GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

GINI Defined What is GINI? Toolkit for creating virtual micro Internets Create midsize networks Process creates virtual instances of network elements Purpose: Teaching and learning tool Suitable to many levels of knowledge Future applications GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

GINI Snapshot GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Features Simple to use GUI Fully open-source system Standard compliant router Ability to implement additional protocols or new network elements GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Improvements Overview GINI on a Cloud © March ClientWorker Front EndBack End David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Improvements Overview GINI on a Cloud © March ClientWorker Front EndBack End David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Improvements Overview GINI on a Cloud © March Front EndDispatcher Database Scheduler Back End ServerWorkersClient David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Drawbacks Complicated Installation process GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Drawbacks OS Compatibility issues GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

GINI Components: ImprovementsBasics Database Scheduler Dispatcher gRouter GiniLinux uSwitch WGINI gLoader gBuilder GINI’s Components gBuilder gLoader gRouter GiniLinux uSwitch WGINI GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

1. Overview 2. Dispatcher Request 3. Connection Creation 4. Dispatcher Logging GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Overview Request/Reply Front EndDispatcher Database I need a worker Worker’s DNS Lowest CPU Usage GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Dispatcher Request Request/Reply Dispatcher DNSIPuptime Lab Lab Lab ……… Return worker DNS extractWorkerFromDB() GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Connection Creation Connection Established GINI on a Cloud © March Front EndBack End SSH Tunnel David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Dispatcher Logging Recording Connection Dispatcher Database 1.Send: Client IP Worker DNS 2.Connection Recorded: time stamp GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

1. Design Paradigm 2. Connection to Server 3. Design Dilemma GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Design Paradigm Transparent to user Component add-on rather than alteration GINI remains independent Only altered the Configuration file GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Design Paradigm Use of flexible communication library: twisted GINI already in Python Flexible Available source code Stable High-level functions GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Current Access to Remote Server GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Connection to Server 23 GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Connection to server 24 GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie Front EndBack End SSH Tunnel

Addition to GINI GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Addition to GINI GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Gateway to the cloud GINI on a Cloud © November 0927

Sequence of Events 1. Send dummy variable Front EndDispatcher Database NoWorker 28 GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

1. Send dummy variable Sequence of Events 2. Dispatcher searches for a worker Front EndDispatcher Database 29 GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie Best Worker?

1. Send dummy variable 2. Dispatcher searches for a worker 3. Returns worker or dummy variable Sequence of Events Front EndDispatcher Database 30 GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie Worker’s DNS name

Result: Unaltered GINI 31 GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Connection to server 32 Connection remains unaltered User needs no knowledge of Back End location Front EndBack End SSH Tunnel GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Purpose of Dummy Variable Need to establish TCP communication Recycled as an error flag Could be used to convey info in future upgrade GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Flexibility Non-fixed data types being passed Currently a string: IP, DNS or anything else 34 GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Drawback Temporary TCP connection: Port expiration at timeout Most Clients don’t have DNS 35 GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Design Dilemma 36 Maintain permanent client-dispatcher connection Resources consuming Might not bring any tangible benefits Requires alterations to gServer and core Config Requires 3 communication events (instead of 1) Drop the connection after delivering the goods Lightweight component No extra resources used Impossible (or difficult) to retrieve clients GINI on a Cloud © March 2010 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

1. Contents 2. Dispatcher Database Relationship 3. Design choices 4. Recommendations GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

DB keeps history of 10 last CPU usages for every worker Initial Design Database Storage: workers Table WorkersUsageHistory W134% … W249% … W357% … ……… Database GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Database Storage: workers Table Uptime is the average load on the system processor workerIDdnsNameuptime 1lab lab lab ……… Database GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie Implementation

Database Storage: clients Table DB keeps track of all the connections and their start time Database GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie ClientConnected toTime Stamp : : :56 ……… Initial Design

Database Storage: clients Table Time stamp is calculated in minutes starting midnight Database GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie clientIDworkerNameIP addresstimeStamp 1Lab Lab Lab ………… Implementation

Database - Dispatcher GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie Database Dispatcher workerIDdnsNameuptime 1lab lab lab getFreeWorker() 1 Lab Sort workers table by uptime 2

Database - Dispatcher GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie Database Dispatcher clientIDworkerNameIP addresstimeStamp 1lab lab lab lab Connection between client and lab2-39 4

Client Log GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie Call to the function displayClientsLog()

Design Choices Database implemented in SQL Used MySQLdb: wrapper around MySQL Compatible with Python API Database stored on the SOCS MySQL server Free, available and provided by McGill Database Name: 2010GINIdb Machine Name: mysql.cs.mcgill.ca Database can be reset at anytime GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Managing Client Connections Killing a connection Polling (time out): Dispatcher periodically polls client No response: dispatcher terminates connection Manual Client shuts down connection Sends message to dispatcher Too complex to implement: Needs modification to the core GINI code GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Managing Client Connections Database functions provided: getTimedOutClients() updateClientTime() removeClientByID() removeClientByIP() GINI on a Cloud © November 0947 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

1. Purpose 2. Design Choices 3. Methodology 4. Sample Output 5. Recommendations GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Purpose Manage workers and their connections Examine CPU usage Ensure all workers are accessible GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Design choices GINI on a Cloud © March Paramiko Module for Python Implements secure SSH protocol Uptime Load average for past 1, 5, and 15 minutes No need to store each worker’s history David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Methodology GINI on a Cloud © March Retrieve workers list from database Get CPU usage of workers SSH connection to each worker Get “uptime” information Update database entry Sleep for one minute, then start again David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Database Update GINI on a Cloud © March Database Scheduler lab2-42 New uptime workerIDdnsNameuptime 1lab lab ……… 4 Request Workers List 1 lab2-42, lab2-39, … 2 lab2-39 New uptime 0.12 David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Sample Output GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Dynamic Update GINI on a Cloud © March Scheduler Worker $ gAddWorker<> $ gRemoveWorker<> David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Dynamic Update Two Bash scripts on server: addWorker.sh removeWorker.sh Boot configuration and shut down sequence need to be updated. $ /removeworker.sh $ /addworker.sh GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Workers Computers in the Krieble lab All machines could be shut down simultaneously No available workers Worker could be disconnected Workers Log could be used to find new worker Initiate new connection automatically GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Configuration Change passwords: SSH access to SOCS server Database access to SOCS MySql server GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

1. Summary 2. Advantages GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Summary Initiating a connection ClientDispatcher Database Worker 1. Client contacts dispatcher 3. Dispatcher sends IP address of worker to the client 2. Dispatcher queries database for worker, updates database accordingly 4. Client connects to worker through SSH tunnel GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Advantages No need to install back end Easier installation (less packages) Saves user trouble of software maintenance / update Cross-platform compatibility Back end can only run on Linux Front end supported by Linux and Windows GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Advantages Mobility Back end runs on remote server Users can run GINI from wherever they are Resource usage Managed, automated distribution of computing resources among users Easy to monitor and to add more workers GINI on a Cloud © March David El Achkar, Simon Foucher, Mia Hochar, Marc Atie

Questions? GINI on a Cloud © March