Quickstart Guide
Installation and Deployments

Zerotouch Installation

12min
note zerotouch installation is available for manufacturing connect edge version 3 16 1 and later zerotouch provisioning allows you to pre define a manufacturing connect edge configuration and use it to deploy edge devices on site with no additional human input this provides an efficient and reliable strategy to install hundreds or thousands of edge devices in production environments zerotouch provisioning in manufacturing connect edge the zerotouch provisioning process automates the deployment, activation, and configuration of multiple manufacturing connect edge devices, including network settings, marketplace applications, and connectivity to manufacturing connect this eliminates the need for any manual configuration, reducing the chance of human error and ensuring consistency across large scale deployments it also enables a seamless experience for on site users, ensuring that devices are fully configured and operational upon first boot the zerotouch installation involves three stages pre configuration to set up usb drive prepare a bootable usb drive with the archive of zerotouch configuration files factory installation install and configure the manufacturing connect edge instance using the usb drive to apply configurations automatically to devices in a production environment post installation boot up verify the setup to ensure that all configurations are automatically applied and the devices are ready to run before you begin to start using zerotouch provisioning, ensure you have the following the edge zerotouch command line interface (cli) tool for generating zerotouch files this tool is required to create the zerotouch configuration archive download it by going to system > support and scrolling to the files section a linux computer running ubuntu 20 04 or higher, with docker installed an internet connection is necessary for signing the zerotouch files a secure and private signing key, which you can request from manufacturing connect customer support this key is required to authenticate and sign the zerotouch configuration files a usb drive formatted in ntfs, ext4, or fat32 this drive will store the installer and configuration files prepare usb installer with zerotouch c onfiguration by following these steps, you can ensure that manufacturing connect edge devices are automatically configured upon boot up without requiring any manual intervention step 1 create zerotouch configuration file to begin, you will need to create a json configuration file this file defines all the elements that will be pre configured during the zerotouch provisioning process this json file includes information such as manufacturing connect activation details, network settings (static ip), and any containerized applications that should run on the edge device when creating the file, keep the following in mind "activation" includes details for activating the device to the manufacturing connect this ensures that the device is fully integrated with lem, which manages licenses and deployments this section includes the mc url , activation code , and an optional certificate the certificate ensures that the connection is secure and authentic see activate an edge device docid 5pzx61w 1kwn6shobesfg for details "staticip" allows manufacturing connect edge devices to configure their network interfaces automatically the edge device will configure the eth1 interface with a static ip and gateway "containers" allows you to specify which containerized applications will be deployed to the device the parameters {{ apikey}} and {{ imagename}} , if defined, will be automatically populated at run time {{ apikey}} will be automatically populated with a rest api token of the manufacturing connect edge this allows your application to access the manufacturing connect edge's rest api {{ imagename}} will be automatically populated with the value defined for name refer to the following sample file { "version" "1 0", "activation" { "url" "https //\[www mc url com]", "code" "xxxxx xxxxx xxxxx xxxxx xxxxx", "cert" " begin certificate miidmzccahugawibagiupg " }, "staticip" { "interface" "eth1", "ip" "10 7 3 105/22" }, "containers" \[ { "name" "redis", "run cmd" "docker run d e \\"webapi\ apikey\\"=\\"{{ apikey}}\\" {{ imagename}}" }, { "name" "mongo", "run cmd" "docker run d e \\"webapi\ apikey\\"=\\"{{ apikey}}\\" {{ imagename}}" } ] } step 2 generate the zerotouch configuration archive after creating the json file with all the necessary configurations, use the edge zerotouch cli tool to generate a zerotouch configuration archive this tool takes the json file as input, verifies its contents, and creates a compressed and signed archive that will be used during the provisioning process command to generate zerotouch archive this command points to the configuration json file (cfg sample json) and uses the signing key to authenticate and sign the archive note you can request the signing key from manufacturing connect customer support /edge zerotouch amd64 linux generate cfg=files/cfg sample json sign key=${signing apikey} sample output of command info\[02 14|23 06 27] using config file cfg=files/cfg sample json info\[02 14|23 06 27] output directory is not specified info\[02 14|23 06 27] using output directory output=/tmp/zerotouch info\[02 14|23 06 40] done! sample output of file and directory structure after the command is executed, the tool creates a signed tar gz archive, which contains all necessary configurations, including static ip settings, mc activation, and container images the final file structure may look like this $ tree /tmp/zerotouch /tmp/zerotouch ├── zerotouch 1 0 0 tar gz step 3 copying zerotouch configuration to the usb drive once the zerotouch configuration file has been generated and signed, the next step is to copy it onto the appropriate folder on the usb drive that will be used for installation copy the file zerotouch 1 0 0 tar gz into the usb drive under the folder zerotouch the usb drive is now ready to be used for installing manufacturing connect edge on a device this configuration includes everything the device needs for setup – activation, network configurations, signing key, and container images – even if the device lacks public internet access install manufacturing connect edge from usb with zerotouch configuration within your production or assembly facility, use the usb drive (prepared above) to install manufacturing connect edge on hundreds or thousands of edge devices the installer will also copy the custom zerotouch configurations from the usb drive into the edge device after installation, the edge device is powered off and ready to be shipped for on site deployment to install manufacturing connect edge from the usb insert the usb drive into the device you want to install manufacturing connect edge power on the device after the device initiates the installer, respond to the questions in the terminal user interface (tui) welcome to operating system installer are you installing over serial (for advanced users)? yes/no enter no , and then press enter the zerotouch preboot message displays press enter for ok select install operating system , and then select ok use the arrow keys to navigate to selections from the select partition and install dialog box, select the correct installation location, navigate to ok , and press enter confirm the selected location and select yes confirm that the selected device will be erased during the formatting process select yes select yes to power off the device the device is now ready to be shipped for deployment on site bootup once the device is deployed to the end user’s site, the final step is to boot the device and verify that the zerotouch configurations are applied correctly power on the device the end user can simply power on the device no additional setup is required at this point, as the configurations have already been pre defined in the zerotouch file manufacturing connect edge will start running the terminal window displays the url that must be used to access the device using the web ui if several urls are displayed, use the first one see access the manufacturing connect edge web ui docid\ o3ekdp0z j7ithaal0mwi for more information note after the first boot, any docker images and associated containers specified in the zerotouch configuration file may take some time to display in the manufacturing connect edge ui