Metadata are special properties that can be unique for each device. Every type of a device available in the system can have its own metadata. Most of these properties are automatically assigned to the appropriate device types as soon as the system is installed. For instance, the IP Address field is created automatically in the system and assigned to the types that physically have an IP address. Examples of this type of devices are Server, Switch, PDU or Router. Some of the metadata are assigned to a single type only. These include the Current Load field which is assigned to the CPU type exclusively, defining the current CPU load. In short, metadata are assigned to device types, but the exact values of these metadata are assigned to a specific device.
In order to assign metadata to a device, you can use the widget available in the device summary view. This view shows the complete list of all metadata that you can set suitable values for. The most important metadata for the server is IP Address - it defines the superior IP address of the device, Hostname - indicates the hostname of the device, Additional IP Addresses - provides the list of additional IP addresses separated by commas, MAC Address - specifies the MAC address of the device, and OS – showing the operating system installed on the device. In addition, you can set values for fields in the SSH Settings group, such as SSH Username and SSH Password. Special metadata types are RAM Size, HDD Size, SSD Size, and CPU Cores. These sorts of metadata can take two values: Value and Real Value. The first is the presentation value for the metadata and may contain text and numbers. The second specifies the numerical value of the metadata which is very important in the process of automatic server matching to the client’s requests.
Metadata values can be freely edited. This can be done in two places:
- Assigned Metadata box in the summary view of the device
- Metadata tab in the device edit view
Some metadata in the system may have an additional value called Real Value. It is used during the next process of Server Provisioning. You can read about provisioning process under Provisioning Flow section.
Metadata values are usually unique across the entire system. If you want to assign a new metadata to the server, select ‘Settings’ from the side menu and then ‘Item Type Fields’. Next, launch the ‘Add Field’ form from the action menu - it will allow you to add and assign a new metadata to a specific device type. Afterwards, all you have to do is assign the corresponding metadata value in the device summary view.