Coder Social home page Coder Social logo

comerade / devicemanagerdemo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vvaks0/devicemanagerdemo

0.0 2.0 0.0 2.52 MB

The Device Manager Demo is designed to demonstrate a fully functioning modern Data/IoT application. It is a Lambda architecture built using the Hortonworks Data Platform and Hortonworks Data Flow. The demo shows how a Telecom can manage customer device outages using predictive maintenance and a connected workforce.

Java 78.94% CSS 2.36% Shell 18.70%

devicemanagerdemo's Introduction

DeviceManagerDemo

The Device Manager Demo is designed to demonstrate a fully functioning modern Data/IoT application. It is a Lambda architecture built using the Hortonworks Data Platform and Hortonworks Data Flow. The demo shows how a Telecom can manage customer device outages using predictive maintenance and a connected workforce.

Install DeviceManagerDemo

Download and Import Hortonworks Sandbox 2.4 for Virtual Box.

Should work with VMWare but has not been tested.

Modify local hosts file so that sandbox.hortonworks.com resolves to 127.0.0.1 (This is important and may break the simulator and UI)

Configure Virtual Box Port Forward

8082 โ€“ HDF_HTTP_Ingest

8090 - MapUI

8091 - Cometd

9090 โ€“ HDF_Studio

Start Sandbox, SSH to Sandbox (ssh [email protected] -p 2222)

Wait for Sandbox to fully boot up, all service need to finish starting

Change Ambari password to "admin" (ambari-admin-password-reset)

(!!!!!!!!!!!!!AMBARI PASSWORD MUST BE SET TO "admin" (no quotes)!!!!!!)

cd /root (use the /root directory to begin the install)

git clone https://github.com/vakshorton/DeviceManagerDemo.git

(make sure that git cloned to /root/DeviceManagerDemo)

cd DeviceManagerDemo

./install.sh

Install script reboot once complete. This is required to refresh session configuration.

Wait for Sandbox to fully reboot

Log back in via SSH (ssh [email protected] -p 2222)

Start Demo

The script to start demo services should be located in the /root/DeviceManagerDemo directory

./startDemoServices.sh

Slider will download the servlet (UI) docker containers from the docker hub so it may take a few minutes for the application server to start

Bring up the UI in a Browser: http://sandbox.hortonworks.com:8090/MapUI/DeviceMap

Start Simulation:

The Simulator should be located in the DeviceManagerDemo directory

java -jar DeviceSimulator-0.0.1-SNAPSHOT-jar-with-dependencies.jar Technician 1000 Simulation

java -jar DeviceSimulator-0.0.1-SNAPSHOT-jar-with-dependencies.jar STB 1000 Simulation

USAGE:

java -jar simulator.jar arg1=Simulator-Type{BioReactor|FiltrationSystem} arg2=EntityId{1000} arg3={Simulation|Training}

Example:

java -jar DeviceSimulator-0.0.1-SNAPSHOT-jar-with-dependencies.jar Technician 1000 Simulation

java -jar DeviceSimulator-0.0.1-SNAPSHOT-jar-with-dependencies.jar STB 1000 Simulation

MAP UI

Alt text

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.