Skip to content
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.
Shell Java Python Scala CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Cometd
DEVICE_MANAGER_DEMO_CONTROL
DEVICE_MANAGER_DEMO_CONTROL_SAM update Aug 26, 2017
DeviceMonitor update Dec 27, 2016
DeviceMonitorNostradamus
DeviceMonitorNostradamusScala
MapUI
Model
Nifi
SAM/template
SliderConfig
Zeppelin/notebook
screenshot
README.md
configureDataPlaneSync.sh
device-manager-sam-install.sh
device_manager_demo_install.sh
install.sh
redeployApplication.sh
startDemoServices.sh
startSimulation.sh
stopSimulation.sh

README.md

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 root@sandbox.hortonworks.com -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 root@sandbox.hortonworks.com -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

You can’t perform that action at this time.