Solutions
Digital Factory Demo

Online Installation Digital Factory Demo

12min

Files and References

Download the docker-compose image and the Litmus Edge Template File from Central Portal marked with the "ONLINE" Flag.

Setup

Upload Containers (PLC Simulators, MSSQL Database, Grafana Dashboards)

  1. Upload “litmus_demo_install.tar” file under Applications > Images > “+” > Upload > Select Docker Image
  2. Choose the “litmus_demo_install.tar” file and Import
Document image


Result should look as follows:

Document image


Install Containers (PLC Simulators, MSSQL Database, Grafana Dashboards)

  1. Go to Application > Containers > Run
  2. Enter this command:
docker run -it -d --rm -v /var/run/docker.sock:/var/run/docker.sock -e HOST_IP= "litmus/demo_install" litmus/demo_install
  1. Click “Run”
  2. Wait several minutes (3-4) while the containers start to load and run
  3. Refresh the browser
  4. You should see the following with 15 containers running:
Document image


Upload Template

  1. Go to System > Backup/Restore > Template > Upload Template
  2. Upload the “Template.json” file
Document image


Enable Data Store

NOTE: This step might be unnecessary with 3.11.0

  1. Go to DeviceHub > Devices
  2. Check the “Enable Data Store” and set to 24 (hours)
  3. Click on “Update Device”. Do this for all the devices (this is by design)
Document image


Authenticate Database Access

  1. Go to Flows > 1. production
  2. Choose “Global Code Matrix” tab and double click the “Insert Record” node
  3. Click on the pencil icon
  4. Add the Username and Password (shown below)
  5. Click Update
  6. This username and password will need to be performed in the following nodes:
    1. Flows Manager > 3. Startup and Maintenance > "Clear Old Records" tab > MSSQL-PLUS node
    2. Flows Manager > 4. Energy Monitoring, CBM and CDM > "Scheduled Work Order" tab > MSSQL-PLUS node
    3. Flows Manager > 4. Energy Monitoring, CBM and CDM > "Condition Based Monitoring (CBM)" tab > MySQL_CBM node
Document image

Document image

  • Note: Make sure you “Deploy” the changes in Flows
  1. Lastly, you will need to add a user to the internal LE database tsdata. To add the user, go to DataHub > DB Users and press the "+" button.
Document image

  1. Add the user created in step above to the Flows Manager > 4. Energy Monitoring, CBM and CDM > InfluxDB node.
Document image


Access Grafana

  1. Browse to the IP address of the Litmus Edge and add “:3000” to the URL
  2. Login to Grafana using admin/admin
  3. Change the password (or skip)
Document image