Improving SBHS Remote-Triggered Virtual Lab Server and Website

Slides:



Advertisements
Similar presentations
 WAN uses Serial ports  Ethernet Ports:  Straight through  Cross over.
Advertisements

DESIGN AND IMPLEMENTATION OF SOFTWARE COMPONENTS FOR A REMOTE LABORATORY J. Fernandez, J. Crespo, R. Barber, J. Carretero University Carlos III of Madrid.
Unauthorized Reproduction Prohibited SkyPoint Alarm Integration Add-On Using OnGuard Alarms to create events in SkyPoint Also called ‘SkyPoint V0’ CR4400.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Operating Systems.
Overview SAP Basis Functions. SAP Technical Overview Learning Objectives What the Basis system is How does SAP handle a transaction request Differentiating.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
A walkthrough of the SageQuest Mobile Control Online & ESC integration.
Web-based Document Management System By Group 3 Xinyi Dong Matthew Downs Joshua Ferguson Sriram Gopinath Sayan Kole.
Microsoft ® Official Course Module 9 Configuring Applications.
Download & Play E-Learning System PROPOSAL draft1.0.
Configuring the MagicInfo Pro Display
Booting and boot levels
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
Troubleshooting Windows Vista Security Chapter 4.
Module 7: Fundamentals of Administering Windows Server 2008.
R.O.M. System Team: RISC Takers Team Members: Paul Banks, Yorick Robinson, Evan Tu, & Hans Weggeman Louisiana State University – Senior Design October.
Automated Industrial Wind Tunnel Controller By Daniel Monahan and Nick DeTrempe Advised by Dr. Aleksander Malinowski.
Paul Banks, Yorick Robinson, Hans Weggeman, Evan Tu RISC TAKERS.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 6 System Calls OS System.
1 © 2005 Cisco Systems, Inc. All rights reserved. 111 © 2004, Cisco Systems, Inc. All rights reserved. CNIT 221 Security 2 ver.2 Module 8 City College.
Core 3: Communication Systems. Network software includes the Network Operating Software (NOS) and also network based applications such as those running.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Final Presentation Smart-Home Smart-Switch using Arduino
iVMS-5200 Pro V3.3.0 Introduction
Saahithi Chillara Radhika Goyal ECE Fall Senior Design Project.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
Luz GUEVARA - Simon CHOLLET INGRID Database Proposal for Database.
Basic Edge Core switch Training for Summit Communication.
SOFTWARE TESTING TRAINING TOOLS SUPPORT FOR SOFTWARE TESTING Chapter 6 immaculateres 1.
WEB TESTING
After Construction Name: Per #:.
Author: Mr. Richard Crisler
CompSci 230 Software Construction
Architecture Review 10/11/2004
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
Welcome POS Synchronize Concept 08 Sept 2015.
2N IP Intercoms Advanced Settings 2017.
AFM-CPS 2.1.
Best practice Upgrade process
Information Systems and Network Engineering Laboratory II
User Portal Error Messages
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
Operating Systems Lecture 2.
Welcome © GTM Software. Welcome © GTM Software.
Chapter Objectives In this chapter, you will learn:
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
AT Commands Supports AT commands
Pilot Watcher Product Overview V5.3
EVENT LOGGING & CONTENT VERSIONING SYSTEM
Direct Attached Storage and Introduction to SCSI
Chapter 2: System Structures
DevOps – Test Automation for IOTs
Configuring EtherChannels and Switch Troubleshooting
Remote Controlled Smart Socket
Migration to SharePoint 2013
Direct Attached Storage and Introduction to SCSI
FOSSEE Improving SBHS Remote-Triggered Virtual Lab Server And Website Under the guidance of: Prof. D.B Phatak and Mentored by: Mr. Rupak Rokade ASHUTOSH.
Top 5 Issues of Mozilla Firefox Browser in Problem 1: Firefox Not Responding, Slow  Feb 2018 Firefox is not working properly. It is slow to load,
QuickBooks is a high-tech accounting software that is trusted by millions of small and mid-sized business owners across the world. However, despite being.
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Manage your Interest Group
SharePoint Administrative Communications Planning: Dynamic User Notifications for Upgrades, Migrations, Testing, … Presented by Robert Freeman (
Chapter 5: Switch Configuration
Introduction to Apache
Time Gathering Systems Secure Data Collection for IBM System i Server
Operating Systems Lecture 2.
Chapter 11 Supporting Printers and Scanners
Designing IIS Security (IIS – Internet Information Service)
In Today’s Class.. General Kernel Responsibilities Kernel Organization
Presentation transcript:

Improving SBHS Remote-Triggered Virtual Lab Server and Website Under the guidance of Prof. D. B. Phatak & Prof. Kannan M. Moudgalya Mentors: Rupak Rokade and Inderpreet Arora

Team members Software Interns Hardware Interns Debakanta Kar, NIT Rourkela Deep Bhattacharyya, NIT Trichy Sriya Sainath, NIT Rourkela Hardware Interns Ram Srivathsa, NIT Trichy Rupesh Gupta, NIT Trichy

contents Why SBHS Virtual Lab? Objectives SBHS Virtual Lab Walkthrough Bugs Fixed Features Added Admin Features Health Monitoring Maintenance Scripts Proposed Architecture Hardware Testing Challenges Faced Learning Future Scope Links

objectives Admin features Health Monitoring Bug fixing Proposing another architecture with load- sharing and scalability Testing both architectures Other miscellaneous features

why sbhs virtual lab? Small and Portable Remote-triggered Open-sourced The objective of this lab is to help perform experiments in the Instrumentation and Control System labs virtually, and yet have close to real life experience. Features : Small and Portable Remote-triggered Open-sourced

A brief walkthrough for sbhs virtual lab A Single Board Heater System

BUG FIXES The Problem of Zero Temperature : Cause : Loss of connection to SBHS Opening a new Serial Port in between the experiment. Cannot Connect to Server Message in Client App : Cause : Unhandled Exceptions in Server Code.

BUG FIXES In initial slot allocation Improper Board Allocation : Cause : Foreign key mismatch of accounts and boards tables. IndexOutOfRange Exception : Raised while allocating a board to the first user Occurs when trying to allocate boards when none of them are online Cause : Trying access an element from list of Probable boards which is empty.

BUG FIXES Incorrectly sorted Bookings : Cause : Didn’t take slot orders into account. Deleted slots displayed users : Cause : Undelete App causes delete command to act as soft-delete. Empty Experiment Log Download : Cause : Discrepancy in file created and downloaded. Invalid MIDs Displayed : Cause : False Positives resulted while scanning for SBHS in USB ports due to Arduinos connected.

Features added ADMIN FEATURES Temporarily disable boards for users Unless board is already under use Admin can still access the board. Test any online, unused board Monitor logs of on-going experiments

Features added ADMIN FEATURES Update MID allotted to user MIDs in sorted order Auto-complete usernames Auto-refresh board images every 25 seconds Interface to download users data files based on slot date-time

Features added HEALTH MONITORING An hourly testing to check board connectivity and working condition, and mail the admin if any abnormalities are detected, along with possible causes. Scans all connected USB ports for SBHS Test all detected boards with fixed sequence of system inputs and analyse their responses. Mails the admin a list of defective or detached boards Temporarily disables the defective boards Updates the database accordingly In the load-shared architecture, also aggregates data from slave servers

Features added SCRIPTS TO AUTOMATE SERVER MAINTENANCE Semi-automated script to generate rules for webcam connection Extracts information about the camera and links it to a board-ID Allows existing rules to be modified Automatic script on server start-up to initialize all boards and provide necessary permissions to Apache In load-shared architecture, scripts to synchronize the clocks of master and slave systems, and accumulate data from the latter.

Features added OTHER FEATURES Automated Script to set-up server on a new RPi and make it ready to be added as slave system. Separate local file to store system-specific credentials for security purposes. Update Apache configurations to support Apache 2.4(Latest) Unified client code for both implemented architectures

Proposed architecture Requirements : Load Sharing Reliable Scalable Solution Proposed : Master-slave architecture Inherently, Load shared and scalable Use of Raspberry Pis as slave system increases reliability in comparison to USB hubs .

Proposed architecture

Proposed architecture WORKING: The master keeps a mapping of slaves and its corresponding board. The boards are connected directly to the slaves and hence, all their requests are bypassed to the slaves without the master server’s intervention. At the end of each slot, the health monitoring script is run on the slaves, and the master aggregates the data from them as it finishes executing.

SBHS Grounding Problem Shorted the shield pin of USB with ground pin. Failure to do so would mean noise gets impressed upon data signals, causing communication failure and dropping packets. Arduino based Switching Control Developed code for arduino nano which would turn on/off the SBHS devices connected through relay boards. This was successfully tested by sending commands through remote user using python script. Building further on this, logic could be developed to turn off SBHS devices when not in use.

DESIGN LAYOUT OF ATMEGA16 MICROCONTROLLER

Testing Both the architectures were tested for hours with multiple clients running simultaneously. Every new feature added was tested individually during the experiments. The load-sharing architecture turned out to be more reliable than the former one.

Challenges Faced Version compatibility issues: Upgraded project structure from Django 1.6 to Django 1.11(Latest) Removed old dependencies No proper documentation: For Classes and Methods. To setup the existing server from scratch. To recreate bugs.

LEARNING Web Development in MVC based Frameworks(Ex. – Django) Configuring Apache Bash Scripting especially event-triggered scripts. Team Collaboration through git Testing Server in Production mode.

FUTURE SCOPE Labs with micro-controller based device can be converted to similar virtual labs. The basic framework explained earlier can support it with device specific modifications.

LINKS The project’s codes and ReadMe can be viewed in the links below: Former Architecture Load-Shared Architecture (Master) Load-Shared Architecture (Slave) Project Documentation For Developers

THANK YOU