How to update VPD using OneCLI on Lenovo Servers

Updating VPD on Lenovo Servers - OneCLI Guide for Effortless Updates

Updating VPD on Lenovo Servers - OneCLI Guide for Effortless Updates

Description

This article will provide the process to update the VPD (Machine Type - Identifier - Serial Number and UUID) on Lenovo servers using the OneCLI tool. This procedure can be used when the Lenovo XClarity Provisioning Manager does not allow the VPD updates to take place.

Note: When the system board in a Lenovo servers is replaced, if the board is brand new and unused the VPD can be updated using the Lenovo XClarity Provisioning Manager (LXPM) initially and only ONCE.

Supported Lenovo Systems

  • Lenovo ThinkSystem - Click here to display all the supported models: 
  • Lenovo ThinkServer - Click here to display all the supported models: 
  • Lenovo System X - Click here to display all the supported models: 

Operating Systems

Windows, Linux

Description

Application and command syntax:

./OneCli OneCli.exe[command option][connect option]

Note: ./OneCli is for Linux, and OneCli.exe is for Windows.

To run a OneCLI application on a command line, enter the command string and press Enter

You can use the show or set commands for single instance settings. This list provides some examples about VPD item settings:

  • SYSTEM_PROD_DATA.SysInfoProdName
  • SYSTEM_PROD_DATA.SysInfoProdIdentifier
  • SYSTEM_PROD_DATA.SysInfoSerialNum
  • SYSTEM_PROD_DATA.SysInfoUUID

Video

  • Video examples are provided below each procedure for you reference.

Local update procedures:

Complete the following appropriate procedure to update VPD on a Lenovo server using OneCLI for local updates.

  • In Windows

Note: In the following command, the variable XXXXX in the command stands for the serial number. Please replace XXXXX with the corresponding information of the machine. You can refer to the following link for machine type and serial number information: https://support.lenovo.com/us/en/solutions/find-product-name

 
  1. To update the system product names:
    onecli.exe config set SYSTEM_PROD_DATA.SysInfoProdName XXXXXXXXX 
    Example: If the MT-M SN label on the front of the machine has 7X05-RCZ000, issue the following command to set the SysInfoProdName
    onecli.exe config set SYSTEM_PROD_DATA.SysInfoProdName 7X05RCZ000
  2. To update the system product identifier:
    onecli.exe config set SYSTEM_PROD_DATA.SysInfoProdIdentifier "ThinkSystem SRXXX"
    Example: If the machine maketing name is SR650, issue the following command to set the SysInfoProdIdentifier
    onecli.exe config set SYSTEM_PROD_DATA.SysInfoProdIdentifier "ThinkSystem SR650"
  3. To update system serial number:
    onecli.exe config set SYSTEM_PROD_DATA.SysInfoSerialNum XXXXXX
    Example: If the machine serial number on the MT-M label is 123456789, issue the following command to set the SysInfoSerialNum
    onecli.exe config set SYSTEM_PROD_DATA.SysInfoSerialNum 123456789
  4. To update system UUID
    onecli.exe config set SYSTEM_PROD_DATA.SysInfoUUID XXXXXXXXXXXXXXXXXXXXXXXX
    Note: replace the string after the command with the previous UUID if available from previous system board with the serial number of the server, a different serial number of the machine may affect the effect of license.
    Example: If the previous UUID of machine is 43F22B0A994622E836111A94EF4CD57D, issue the following command to set the SysInfoUUID
    onecli.exe config set SYSTEM_PROD_DATA.SysInfoUUID 43F22B0A994622E836111A94EF4CD57D
  5. To check the above settings
    OneCli.exe config show
    Example: issue the following command to check above settings
    OneCli.exe config show SYSTEM_PROD_DATA

  • In Linux
  1. To update the system product names:
    ./OneCLI config set SYSTEM_PROD_DATA.SysInfoProdName XXXXXXXXX
    Example: If the MT-M SN label on the front of the machine has 7X05-RCZ000, issue the following command to set the SysInfoProdName
    ./OneCLI config set SYSTEM_PROD_DATA.SysInfoProdName 7X05RCZ000
  2. To update the system product identifier:
    ./OneCLI config set SYSTEM_PROD_DATA.SysInfoProdIdentifier "ThinkSystem SRXXX"
    Example: If the machine maketing name is SR650, issue the following command to set the SysInfoProdIdentifier
    ./OneCLI config set SYSTEM_PROD_DATA.SysInfoProdIdentifier "ThinkSystem SR650"
  3. To update system serial number:
    ./OneCLI config set SYSTEM_PROD_DATA.SysInfoSerialNum XXXXXX
    Example: If the machine serial number on the MT-M label is 123456789, issue the following command to set the SysInfoSerialNum
    ./OneCLI config set SYSTEM_PROD_DATA.SysInfoSerialNum 123456789
  4. To update system UUID
    ./OneCLI config set SYSTEM_PROD_DATA.SysInfoUUID XXXXXXXXXXXXXXXXXXXXXXXX
    Note: replace the string after the command with the previous UUID if available from previous system board with the serial number of the server
    Example: If the previous UUID of machine is 43F22B0A994622E836111A94EF4CD57D, issue the following command to set the SysInfoUUID
    ./OneCLI config set SYSTEM_PROD_DATA.SysInfoUUID 43F22B0A994622E836111A94EF4CD57D
  5. To check the above settings
    ./OneCLI config show
    Example: issue the following command to check above settings
    ./OneCLI config show SYSTEM_PROD_DATA

Remote update procedures:

For servers with ESXi Host, complete the following appropriate procedure to update VPD on a ThinkSystem server using OneCLI for remote updates.

  • For Windows Laptops/Workstations, add the following string after the origional command:

Notes:
  • The USERID:PASSW0RD are the credentials for the XCC (Service Processor) of the intended machine, if they have been changed, you will need to use the new credentials.
  • If the XCC is using LDAP to login and use it, you will need to use the commands below with a LOCAL user and not any user authenticating using LDAP, i.e the default USERID and PASSW0RD
  • If you are using IPV6, you will need to input the IP between [ ], if you are using IPV4, you can insert them with no brackets
--bmc USERID:PASSWORD@[IP_address]

Example:

OneCli.exe config show SYSTEM_PROD_DATA --bmc USERID:PASSW0RD@[192.168.0.1]

For Linux Laptops/Workstations, add the following string after the origional command:

--bmc USERID:PASSW0RD@[IP_address]

Example:

./OneCLI config show SYSTEM_PROD_DATA --bmc USERID:PASSW0RD@[192.168.0.1]

Notes:

  • The ThinkSystem UUID contains the inventory and the Licenses of the machine along with the serial number, if the UUID is lost, The licenses and inventory can be installed or set manually again using a new UUID.
  • If the UUID is known and can be set using the provisioning manager or the OneCLI tool, the ThinkSystem server should automatically pull and re-instate its previous inventory and Licenses automatically.

Additional Information

Document ID:HT507532
Data publicării inițiale:11/20/2018
Data ultimei modificări:04/07/2025