Skip to main content

Device templates

Lenovo XClarity One makes it easy to quickly setup and maintain your devices by deploying firmware and device settings on your managed devices using templates. Device templates consist of a set of rules and criteria that define the desired configuration for a certain type of device and identifies which managed devices are monitored for compliance. If a device is out of compliance, you can use the templates to update the device to match the desired profile.

You can create a template by clicking the Lifecycle Management tab in the context menu from the Device management view, clicking the Templates context menu, and then clicking the Add icon (Add icon). Follow the steps in the wizard to create the template and assign the template to one or more devices.

Important
A single template can support at most six different firmware collections.

You can view template details, criteria, and assigned devices by clicking the template name in the table.

Template assignment

You can assign a template to one or more servers when you create the template using the Create template wizard. You can also assign a template to a server in the following ways.
  • From the Template page by selecting a template and clicking the Assign icon (Assign template icon).

  • From the Template details page by clicking the Add icon (Add icon) from the devices table.

  • From the Managed devices page by selecting one or more devices and clicking the Assign icon (Assign template icon).

Each device can have only one assigned template or no assigned template. When a server has an assigned template, compliance is based on the rules and criteria that is defined in the template. If a server has no assigned template, compliance is based on the latest available version.

Ensure that the template is applicable to the type of server to which it is assigned. If a template is not applicable, then individual component compliance status might be "Not Assigned” even when the overall device compliance is "Compliant."

Applicability and compliance checks

XClarity One checks the compliance status of devices by comparing the device profile with the rules that are defined by its assigned template. The compliance check is run on a device when:

  • When a template is initially assigned to the device, or when the template assigned is changed.

  • When the assigned template is modified.

  • When the server inventory is changed.

  • When a power action is performed on the device.

  • 24 hours has passed since the last compliance check (for firmware)

  • One week has passed since the last compliance check (for device settings)

Template deployment

Important
Firmware and device settings update functions must be enabled before you can deploy a template to devices. For more information, see Management functions.

While a template deployment is in progress, the target servers are locked. You cannot initiate other management tasks on the target servers until the deployment process is complete.

When servers are not compliant with their assigned template, you can make the devices compliant by deploying the assigned template to those devices. Deploying the template updates non-compliant firmware and device settings to the desired version based on the template rules.

You can deploy a template to one or more servers when you create and assign the template using the Create template wizard. You can also deploy a template to assigned server in the following ways.

  • From the Template manager page by clicking the Add icon (Add icon) from the devices table.

  • From the Things to do pane, click Update from the New non-compliant devices card, and follow the wizard.

  • From the Managed Devices page by clicking Firmware status from the context menu, and then selecting the devices and clicking the Deploy icon (Deploy template icon).

In some cases, prerequisite firmware might be needed to install the intended firmware version. XClarity One automatically installs prerequisite firmware, when available.

Restriction: Currently, you need to deploy the template once for each component of the template. If a template includes updates for firmware and device settings, the first time you deploy the template, XClarity One updates only firmware. You need to deploy a second time to update the device settings.
Attention
  • Some components require the device to be restarted to complete the firmware update, such as unified extensible firmware interface (UEFI), network cards, RAID adapters, and disks. During the update process, the server might be restarted automatically one or more times until the entire process is complete. Ensure that any running workloads have either been stopped or moved to a different server.

  • Performing firmware updates, device settings updates, and power operations on managed devices are disabled by default. Before updating firmware, ensure that you enable this function from the XClarity One portal and from the management hub that manages that target devices. For more information, see Management functions.

During the update process, if one component fails, the management hub continues to apply updates on the remaining components for the device and for other devices in the same job.

Delayed deployment

Some updates require the target devices to be restarted, which could disrupt work on those devices. To minimize the disruption, you can choose to delay the deployment process until after the target device is restarted by selecting Prioritized activation.

When the device needs to be restarted:

  • ThinkSystem V4 servers: The deployment job enters a waiting state and waits for the device to be restarted to continue. After the device is restarted, the job resumes automatically and completes the update.
  • ThinkSystem V1/V2/V3 servers: If target firmware requires a restart, the deployment job enters a waiting state and waits for the device to be restarted to continue. If target firmware does not require a restart, the job completes with a warning, and you are notified to manually restart the device to activate the pending firmware.