Solutions
Digital Factory Demo
Offline Installation Digital Factory Demo
13min
Download the docker-compose image and the Litmus Edge Template File from Central Portal marked with the "OFFLINE" Flag.
- 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
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
- Go to System > Backup/Restore > Template > Upload Template
- Upload the “Template.json” file
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)
- 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.
Go to Digital Twins > Instances and turn on all the digital twin instances one by one.
Activate the following Integrations:
- Insert Scheduled Work Order
- Insert Downtime History
- Insert Anomaly History
- Insert Scrap History
- 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)