Difference between revisions of "EIS Docker Container Base"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
 
= Introduction =
 
= Introduction =
 
 
  
 
= Specification =
 
= Specification =
 
 
  
 
= Release Note =
 
= Release Note =
 
 
  
 
= EIS SW Service =
 
= EIS SW Service =
Line 41: Line 35:
  
  
= How to Guide =
 
  
  
 +
= How to Guide =
  
 
== Delopy EIS Image to USB or HDD Disk ==
 
== Delopy EIS Image to USB or HDD Disk ==
Line 76: Line 70:
  
  
 +
 +
==  ==
  
 
== Development ==
 
== Development ==
 +
 +
=== WSN Simulator ===
 +
 +
Start and enter the WSN Simulator Docker Container bash 
 +
<pre>$cd ~/Advantech /docker
 +
 +
$./deploy.sh wsn-sim.sh</pre>
 +
 +
You can design and edit your wsn type and senhub information. You can refer [[IoTGateway/Net_HAL_Simulator|IoTGateway/Net HAL Simulator]]&nbsp;for detail information.
 +
 +
Start running the wsn-simulator. It will simulate WSN connectivity and senhub and send data to mqtt bus.
 +
<pre>#./wisesim</pre>
 +
 +
Exit the container service
 +
<pre>#exit</pre>
 +
 +
 +
 +
=== WSN Development Environment ===
 +
 +
Start and enter the&nbsp;WSN Development Docker Container bash&nbsp;
 +
<pre>$cd ~/Advantech /docker
 +
 +
$./deploy.sh wsn-dev.sh</pre>

Revision as of 06:33, 20 February 2017

Introduction

Specification

Release Note

EIS SW Service

Docker Container Services

api-gw

dust-link

mqtt-bus

hdd-pmq

node-red

wsn nodes

hdd-pmq node

Management

Webmin webadmin

Kitematic

Cloud-Solution

WISE-PaaS WISE-Agent

How to Guide

Delopy EIS Image to USB or HDD Disk

To check USB or HDD Disk name

sudo fdisk -l 

Deploy the image to USB flash drive . Note: The deploy process takes about 15 minutes.

sudo dd if=./EIS_V2.0.2_Ubuntu-14.04_3.19_20170220.img of=/dev/sdx bs=4M; sync

Boot for USB or HDD Disk

  1. Insert the USB Flash / HDD Drive into the ARK-2121L
  2. Boot up to the BIOS menu of your ARK-2121L by pressing ESC on the keyboard as it boots up.
  3. Change the boot device to be the USB/HDD flash drive, then press F4 to save and exit
  4. System should boot up using the USB Flash Drive.
  5. Log in as user: adv  password: adv
  6. The EIS Version 2 is ready to use.

Re-size EIS File System

#sudo fdisk /dev/sdb
 d -> 2      : delete partition 2
 n -> p -> 2 : 
 w           : write result
#reboot 
#resize2fs /dev/sdb2

Check and Upgrade the EIS Docker Service to latest version 

cd ~/Advantech/docker

./deploy.sh update


Development

WSN Simulator

Start and enter the WSN Simulator Docker Container bash 

$cd ~/Advantech /docker

$./deploy.sh wsn-sim.sh

You can design and edit your wsn type and senhub information. You can refer IoTGateway/Net HAL Simulator for detail information.

Start running the wsn-simulator. It will simulate WSN connectivity and senhub and send data to mqtt bus.

#./wisesim

Exit the container service

#exit


WSN Development Environment

Start and enter the WSN Development Docker Container bash 

$cd ~/Advantech /docker

$./deploy.sh wsn-dev.sh