Introduction
If your edge hardware is not available in the ZEDEDA hardware catalog, you can create a custom hardware model from scratch. This process requires discovering the physical adapter layout of your device and entering that information manually into the console. Because the ZEDEDA console does not auto-detect adapter information, you must SSH into a device running EVE-OS (Edge Virtualization Engine) to identify the adapters and their addresses. You then use the hardware model creation form in the Marketplace to define the model. This article uses an Advantech UNO 148 as an example. All hardware models differ, but the process is similar. Creating custom hardware models is available to cluster and CSP (cloud service provider) administrators only.Prerequisites
- You have the cluster admin or CSP admin role in your enterprise. See Manage Roles.
- SSH access to a device running EVE-OS. See Get an SSH-Enabled EVE-OS Image for setup instructions.
- EVE-OS is installed and running on the edge device.
Discover Adapter Information
Before creating the hardware model, SSH into the device to identify its physical adapter layout. EVE-OS provides built-in tools for this discovery.Run spec.sh
Thespec.sh script generates a best-effort list of the adapters detected on the device. Use its output as a starting reference.
- SSH into your edge device using the credentials you configured during setup.
-
Run the following command.
-
Review the
ioMemberListsection of the output. For each adapter entry, record the following values.phylabel: the physical label that identifies the adapter on the device.logicallabel: the logical name used by EVE-OS to identify the adapter.assigngrp: the IOMMU (Input-Output Memory Management Unit) group assignment that controls which adapters are assigned together.ztype: a numeric code identifying the adapter type.
spec.sh output is a best-effort result. Verify it against the commands in the following steps before entering values into the hardware model form.
Validate PCI adapters
Uselspci -k to list all Peripheral Component Interconnect (PCI) devices and their kernel drivers. Cross-reference each PCI device with the corresponding entry in the spec.sh output.
-
Run the following command.
-
For each PCI adapter in the
spec.shoutput, confirm that thePciLongaddress matches what appears in thelspci -koutput. -
Run the following command to verify IOMMU group assignments.
-
Confirm that each adapter’s
assigngrpvalue in thespec.shoutput corresponds to the correct IOMMU group in thefindoutput. If the group is missing or incorrect, record the correct group for use when creating the hardware model.
Validate USB adapters
Uselsusb to list USB devices and verify USB adapter entries from the spec.sh output.
-
Run the following command.
-
Run the following command to see the USB topology.
-
Note which physical USB ports map to which USB controllers. EVE-OS treats multiple physical ports that share a single controller as a single assignable unit. All ports in the group must use the same
assigngrpvalue.
Validate serial (COM) ports
Usedmesg to verify that the serial ports detected by EVE-OS correspond to physical COM ports on the device.
-
Run the following command.
-
Confirm that each serial port (
ttyS0,ttyS1, and so on) in the output matches the I/O port addresses and IRQ values in thespec.shoutput for COM adapters.
Summarize adapter information
Before proceeding, record the following values for each adapter you want to include in the hardware model. You will enter these values into the creation form in the next section.Manage Brands
Hardware models are grouped by brand. If your hardware brand does not already exist in the catalog, create it before creating the model.Create a brand
- In the sidebar, select Marketplace.
- Select Catalog.
- Select the Hardware filter tab.
- Select the Brands sub-tab.
- Select Create Brand.
-
Complete the following fields.
- Select Create.
Edit a brand
Select the brand and update the Title or Description fields. The Name field is read-only after creation.Delete a brand
- In the Brands sub-tab, select the brand you want to delete.
- Select Delete Brand.
- Confirm the deletion.
Create the Hardware Model
With your adapter information recorded and a brand available, create the hardware model in the console.- In the sidebar, select Marketplace.
- Select Catalog.
- Select the Hardware filter tab.
- Select Create Model.
-
Complete the Identity fields.
-
Complete the Classification fields.
- Optionally, enter values for CPUs, Memory GB, and Storage GB under the Resource section.
-
Add I/O adapters. For each adapter recorded in the preceding sections, select Add I/O and complete the following fields.
- Repeat the previous step for each adapter you want to include in the model.
- Select Create to save the hardware model.
Adapters that share an IOMMU group are assigned together as a unit. An application that receives one adapter in the group receives all adapters in that group. Review IOMMU groupings carefully when the physical adapter count in
lspci -k output does not match the entry count in the spec.sh output.Next Steps
Import Hardware Models
Import the new model into an enterprise library.
Manage PCR Templates
Add attestation templates to the model.
Onboard Nodes
Use the hardware model when onboarding edge devices.