Digital Factory Demo v3.3
11 min
digital factory demo 3 3 installation overview digital factory demo (dfd) 3 3 installs from a single self installing container you load one image and run it; it brings up the full stack inside litmus edge ( simulation servers , mssql , mysql , grafana , template applyer ), and template applyer configures litmus edge automatically devices, tags, flows, digital twins, integrations, and sql connectors there is no separate template file to upload there are two installers online ( demo install ) small download; pulls the stack images from litmusedge azurecr io at run time offline ( demo install offline ) bundles every image; no registry access needed at deploy time a short post install step is still required to enter the database credentials inside the flow nodes (these are not carried by the template) prerequisites litmus edge 3 16 x or later a valid litmus edge license about 5 gb free disk and 3 gb ram headroom docker access on the litmus edge host online install 1\ download from the litmus central portal (digital factory demo solution), download the file marked "online" files for online installation v3 3 zip unzip it to get demo install tar gz 2\ log in to the registry the host needs to pull the stack images docker login litmusedge azurecr io 3\ load and run the installer docker load i demo install tar gz docker run d rm \\ v /var/run/docker sock /var/run/docker sock \\ e edge api token=init \\ e edge url=172 172 0 1 8443 \\ litmus/demo install\ latest edge api token=init auto generates a token on first login allow 3 to 5 minutes for images to pull and the stack to start offline install 1\ download from the central portal, download the file marked "offline" files for offline installation v3 3 zip (about 1 gb) unzip it to get demo install offline tar gz 2\ load and run the installer docker load i demo install offline tar gz docker run rm \\ v /var/run/docker sock /var/run/docker sock \\ e edge api token=init \\ e edge url=172 172 0 1 8443 \\ litmus/demo install offline\ latest the installer loads all bundled images into litmus edge, so no pull happens allow a few minutes for the stack to start post install configuration after the stack is up and the installer has exited, complete these steps in the litmus edge ui 1\ enter database credentials in flows go to flows and open the production, maintenance, and energy monitoring flows in the global code matrix tab, open each database node (the query and insert record nodes) and enter the sql credentials ( sa / demo1234 ) deploy the flows after editing 2\ add the influxdb database user go to datahub > db users and add a user to the internal litmus edge database ( tsdata ) so the influxdb node can write time series data 3\ enable the device data store go to devicehub > devices , enable data store , and set retention to 24 hours click update device for each device access service address credentials grafana http //\<le ip> 3000 admin / admin (change on first login) simulator control center http //\<le ip> 3300 none litmus edge https //\<le ip> 8443 your le login mssql \<le ip> 1433 sa / demo1234 mysql \<le ip> 3306 sa / demo1234 tear down offline docker run rm v /var/run/docker sock /var/run/docker sock \\ e compose command=down litmus/demo install offline\ latest