Documentation

  • N/A
  • 2.4
  • 02/24/2021
  • Public Content

Install
Edge Insights for Industrial

During the installation, you will be prompted to enter your product key. This key is in the email you received from the Intel® Registration Center. Contact if you do not have this email message.
The steps below explain how to:
  • Prepare your target system.
  • Copy the package.
  • Complete the installation steps.

Step 1: Prepare the
Target System

Make sure your target system has a fresh installation of
Ubuntu* Linux
that corresponds to the version of
Edge Insights for Industrial
that you downloaded. If you need help installing
Ubuntu* Linux
, follow these steps:
  1. Download to your
    developer workstation
    .
  2. Use an imaging application to create a bootable flash drive.
  3. Power off your
    target system
    , insert the USB drive, and power on the system.
    If the
    target system
    doesn't boot from the USB drive, change the boot priority in the system BIOS.
  4. Follow the prompts to install
    Ubuntu* Linux
    with the default configurations. For detailed instructions, see the .
  5. Power down your
    target system
    and remove the USB drive.
  6. Power up the
    target system
    . You will see
    Ubuntu* Linux
    is successfully installed.
  7. Log on as the root user:
    su root

Step 2: Copy the
Edge Insights for Industrial
.zip File to the
Target System

In this step you copy
Edge Insights for Industrial
to your
target system
.
  1. Copy
    edge_insights_industrial.zip
    from the
    developer workstation
    to the Home directory on your
    target system
    . You can use a USB flash drive to copy the file. The icon looks like this:

Step 3: Extract the
Edge Insights for Industrial
Software

In this step you extract
edge_insights_industrial.zip
. You need to be on the
target system
to complete these steps.
  1. Make sure you have a working Internet connection.
  2. Open a new terminal.
  3. Extract the package:
    unzip edge_insights_industrial.zip
    If you download the file more than once, each download beyond the first is appended by a number.
  4. (Optional) Use the link in the
    readme
    file to open this Get Started Guide on the
    target system
    for an easy way to copy and paste commands.

Step 4 (Optional): Configure your Installation

You can use the
config_install.yml
file to configure the installation behavior of the components in your target system.
You can modify the
config_install.yml
per your requirement using the information below:
  • Edge Insights for Industrial
    • dev_mode:
      This key sets your installation mode. Set the key value as 'True' to enable developer mode and 'False' to enable Production mode.
      • Production mode (Default):
        Security and encryption are enabled. Commonly used for deployment.
      • Development mode:
        Security and encryption are disabled, easing integration and testing of User Defined Applications. Commonly used during evaluation and development.
    • remove_previous_eis:
      Set this key value as 'true' if you want to remove the already existing containers of Edge Insights for Industrial previous installation.
    • default_use_case:
      If you have downloaded the full Video Analytics + Time Series Edge Insights for Industrial package, you can set the type of use case you want to install using this key value as below:
      • video-timeseries:
        Includes modules for video and timeseries, i.e., the full use-case.
      • video:
        Includes only video modules and adds databases for storing images and metadata of analytics results.
      • time-series:
        Includes modules for time-series data ingestion, storage and analytics.

Step 5: Install the
Edge Insights for Industrial
Software

The edgesoftware tool uses the system proxy settings to download and install the modules.
You will now run a script that will download components and install
Edge Insights for Industrial
on your
target system
.
The software installation can take 1 to 3 hours depending on the package you chose. The completion time depends on your
target system
and Internet connection.
  1. Run these commands:
    cd edge_insights_industrial/ chmod 775 edgesoftware ./edgesoftware install
    If you encounter any Docker pull-related issues during the installation process, refer to the Troubleshooting section at the end of this document.
  2. Type the product key at the prompt:
See the Edge Insights for Industrial based Reference Implementation (RI) tutorial requirements in the table below.
S. No
RI Tutorial
Applicable Use Case
Requirement
1
Defect Detection Demo
Video Analytics
or
Video Analytics and Time series
Download the installer package through the
Download
option by choosing one of the use cases (see Applicable Use Case column) in the Edge Software Hub.
2
Textile Defect Classifier
Video Analytics
or
Video Analytics and Time series
Download the installer package through the
Customize & Download
option by choosing one of the use cases (see Applicable Use Case column) in the Edge Software Hub and additionally selecting the Textile Defect Classifier RI.
Based on components selected and system configuration, you might be prompted for additional actions if you have not configured the
config_install.yml
file correctly.
When the installation is complete, you see the message
Installation of package complete
and the installation status for each module.
To confirm your installation was successful and for a quick look at how it works, use the Introduction to the Command Line Interface.
Steps for Manual Installation of Manageability Module
Manageability is downloaded by default, but not auto-installed.
  • Go to edge_insights_industrial/Edge_Insights_for_Industrial_2.4/manageability/
  • Run cmd:
unzip manageability.zip
  • Refer to the steps at manageability/README.md for manual installation of manageability component.
Steps for Manual Installation of Orchestrator Module
Orchestrator is available via custom download, but not auto-installed.
  • Go to edge_insights_industrial/Edge_Insights_for_Industrial_2.4/orchestrator/
  • Run cmd:
    unzip orchestrator.zip
  • Refer to the steps at orchestrator/README.mdo to install CSL Manager, CSL server and CSL client.
  • Refer to the steps at edge_insights_industrial/Edge_Insights_for_Industrial_2.4/IEdgeInsights/build/csl/README.md to configure and run Edge Insights on CSL orchestrator. Additionally, you can refer to the user guide available at edge_insights_industrial/Edge_Insights_for_Industrial_2.4/Docs for orchestrator installation to configure and run edge insights.
Steps for Manual Installation of Training and Learning Suite Module and TLSRemoteAgent Configuration
Training and Learning Suite is available via custom download, but not auto-installed
  • Go to edge_insights_industrial/Edge_Insights_for_Industrial_2.4/Training_and_Learning_Suite
  • Run cmd:
unzip tls.zip
  • Refer to the steps at tls/README.md for TLS server installation.
  • Refer to edge_insights_industrial/Edge_Insights_for_Industrial_2.4/IEdgeInsights/TLSRemoteAgent/README.md. for configuration of TLSRemoteAgent service.

Troubleshooting

  • Make sure you have an active internet connection during the full installation. If you lose Internet connectivity at any time, the installation might fail.
  • Make sure you are using a fresh
    Ubuntu* Linux
    installation. Earlier software, especially Docker* and Docker Compose*, can cause issues.
  • If the `eii installer` component fails to install after running
    ./edgesoftware install
    command, check the running containers list using
    docker ps
    command and check the logs of the failing containers to find out why they are failing. Mostly services like InfluxDBConnector, Grafana, Imagestore, etc., fail if the port is already used by other process on the host m/c as EII uses docker `host` network. Please make sure to free up that port and re-run
    ./edgesoftware install
    command or follow steps below:
    • Go to edge_insights_industrial/Edge_Insights_for_Industrial_2.4/IEdgeInsights/build.
    • Run
      sudo sg docker -c docker-compose up -d
      command to relaunch services.
Restart Mode
The following services may be in  
restart mode 
after successful installation. Please refer to the respective README.md files to troubleshoot: 
  • Visualizer: 
    edge_insights_industrial/Edge_Insights_for_Industrial_2.4/IEdgeInsights/Visualizer/README.md 
  • FactoryControlApp: 
    edge_insights_industrial/Edge_Insights_for_Industrial_2.4/ IEdgeInsights/FactoryControlApp/README.md 
  • RestDataExport: 
    edge_insights_industrial/Edge_Insights_for_Industrial_2.4/ IEdgeInsights/RestDataExport/README.md 
  • TLSRemoteAgent: 
    edge_insights_industrial/Edge_Insights_for_Industrial_2.4/ IEdgeInsights/TLSRemoteAgent/README.md 
Docker Image Pull Issue:
This issue can be because of the latest pull rate limitations introduced by Docker hub.
  • Please check this Docker site to help determine the exact pull limit that’s applicable on the system where you are trying to pull the publicly available Docker hub images, such as Docker, Python, etc.
This limit is only applicable for the 6-hour window.
  • If you see this issue with an anonymous user (pull limit of 100),i.e., without Docker login, you can create an account and try to do the build after running cmd:
    docker login -u <username> -p <password>
    . The alternative is to use a paid subscription.
If you're unable to resolve your issues, go to the .

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.