Solutions
Digital Factory Demo

Offline Installation Digital Factory Demo

13min

Files and References

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

Setup

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

  1. Upload the images to Applications > Images. You will have to upload the MSSQL image via FTP. To be able to upload images using FTP, follow Manage FTP and System Service, Add an FTP User, and Manage FTP Users. You can use an FTP solution such as FileZilla.

To upload the images, follow Applications > Images > “+” > Upload > Select Docker Image, then add the images

Document image


The FTP Service can be found here:

Document image


Once all seven images are uploaded, the result will look as shown below in Applications > Images:

Document image


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

  1. Run the below command below in Applications > Containers. Allow a couple of minutes for the containers to fully run. Replace
docker run -it -d --rm -v /var/run/docker.sock:/var/run/docker.sock -e HOST_IP="<IP_ADDRESS_OF_LE>" -e OFFLINE_INSTALL=true litmus/demo_install

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


Activate Digital Twin Models

Go to Digital Twins > Instances and turn on all the digital twin instances one by one.

Document image


Activate Integrations Connections

Activate the following Integrations:

  • Insert Scheduled Work Order
  • Insert Downtime History
  • Insert Anomaly History
  • Insert Scrap History
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)