Offline Installation Digital Factory Demo
12 min
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)
- 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 Services, Add an FTP User and Manage FTP UsersManage 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

The FTP Service can be found here:

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

Install Containers (PLC Simulators, MSSQL Database, Grafana Dashboards)
- 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
- Go to System > Backup/Restore > Template > Upload Template
- Upload the “Template.json” file

Enable Data Store
NOTE: This step might be unnecessary with 3.11.0
- Go to DeviceHub > Devices
- Check the “Enable Data Store” and set to 24 (hours)
- Click on “Update Device”. Do this for all the devices (this is by design)

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


- Note: Make sure you “Deploy” the changes in Flows
- 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.

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

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

Activate Integrations Connections
Activate the following Integrations:
- Insert Scheduled Work Order
- Insert Downtime History
- Insert Anomaly History
- Insert Scrap History

Access Grafana
- Browse to the IP address of the Litmus Edge and add “:3000” to the URL
- Login to Grafana using admin/admin
- Change the password (or skip)