How to update VPD using OneCLI
돌아 가기
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
- Lenovo ThinkAgile MX Series 7Z20
- Lenovo ThinkAgile HX Series 7X81/7X82/7X83/7X84/7Y88/7Y89/7Y90/7Y95/7Y96/7Z03/7Z04/7Z05/7Z06/7Z07/7Z08/7Z09
- Lenovo ThinkAgile HX Enclosure 7Y87/7Z02
- Lenovo ThinkAgile VX Enclosure 7Y91
- Lenovo ThinkAgile VX Series 7Y11/7Y12/7Y13/7Y14/7Y92/7Y93/7Y94
- Lenovo ThinkSystem D2 Enclosure 7X20/7X22/7X85
- Lenovo ThinkSystem SD530 7X21
- Lenovo ThinkSystem SD650 7X58
- Lenovo ThinkSystem SN550 7X16
- Lenovo ThinkSystem SN850 7X15
- Lenovo ThinkSystem SR530 7X07/7X08
- Lenovo ThinkSystem SR550 7X03/7X04
- Lenovo ThinkSystem SR570 7Y02/7Y03
- Lenovo ThinkSystem SR590 7X98/7X99
- Lenovo ThinkSystem SR630 7X01/7X02
- Lenovo ThinkSystem SR650 7X05/7X06
- Lenovo ThinkSystem SR670 7Y36/7Y37/7Y38
- Lenovo ThinkSystem SR850 7X18/7X19
- Lenovo ThinkSystem SR860 7X69/7X70
- Lenovo ThinkSystem SR950 7X11/7X12/7X13
- Lenovo ThinkSystem ST550 7X09/7X10
- Lenovo ThinkSystem ST558 7Y15/7Y16
- Lenovo ThinkSystem SR150/SR158 7Y54/7Y55
- Lenovo ThinkSystem SR250/SR258 7Y51/7Y52/7Y53/7Y72/7Y73
- Lenovo ThinkSystem ST250/ST258 7Y45/7Y46/7Y47
- Lenovo ThinkServer
- Lenovo ThinkServer Rack Server - RD340
- Lenovo ThinkServer Rack Server - RD350
- Lenovo ThinkServer Rack Server - RD440
- Lenovo ThinkServer Rack Server - RD450
- Lenovo ThinkServer Rack Server - RD540
- Lenovo ThinkServer Rack Server - RD550
- Lenovo ThinkServer Rack Server - RD640
- Lenovo ThinkServer Rack Server - RD650
- Lenovo ThinkServer Rack Server - RQ750
- Lenovo ThinkServer Rack Server - RS140
- Lenovo ThinkServer Rack Server - RS160
- Lenovo ThinkServer Modular Server - SD350
- Lenovo ThinkServer Tower Server - TD340
- Lenovo ThinkServer Tower Server - TD350
- Lenovo ThinkServer Tower Server - TS140
- Lenovo ThinkServer Tower Server - TS150
- Lenovo ThinkServer Tower Server - TS440
- Lenovo ThinkServer Tower Server - TS450
- Lenovo ThinkServer Tower Server - TS460
- Lenovo System x
- Lenovo Converged HX Series 8693/8695
- Lenovo Flex System x240 M4 Compute Node 7162/2588
- Lenovo Flex System x240 M5 Compute Node 2591/9532
- Lenovo Flex System x280 X6/x480 X6/x880 X6 Compute Node 4258/7196
- Lenovo Flex System x440 Compute Node 7167/2590
- Lenovo NeXtScale nx360 M5 5465/5467
- Lenovo System x3250 M6 3633/3943
- Lenovo System x3500 M5 5464
- Lenovo System x3550 M5 5463/8869
- Lenovo System x3650 M5 5462/8871
- Lenovo System x3750 M4 8753
- Lenovo System x3850 X6/x3950 X6 6241
Supported IBM Systems
- IBM Systems
- No IBM system supported
Operating Systems
Windows, Linux
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 items settings:
• SYSTEM_PROD_DATA.SysInfoProdName
• SYSTEM_PROD_DATA.SysInfoProdIdentifier
• SYSTEM_PROD_DATA.SysInfoSerialNum
• SYSTEM_PROD_DATA.SysInfoUUID
Local update procedures:
Complete the following appropriate procedure to update VPD on a Lenovo server using OneCLI for local updates.
For Windows OS Servers:
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 [settubgname] []
Example: issue the following command to check above settings
OneCli.exe config show SYSTEM_PROD_DATA
Video
Video examples are provided below each procedure for you reference.
For Linux OS Servers:
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 [settubgname] []
Example: issue the following command to check above settings
./OneCLI config show SYSTEM_PROD_DATA
Remote update procedures (if the server has ESXi Host installed):
Complete the following appropriate procedure to update VPD on a ThinkSystem server using OneCLI for remote updates.
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
For Windows Laptops/Workstations, add the following string after the origional command:
--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.
'LENOVO' 카테고리의 다른 글
unexpected XCC reset 지속 발생시 (0) | 2021.04.29 |
---|---|
lenovo ds4200 firmware update방법 (0) | 2020.04.25 |
XCC 모델별 기본 탑재 유무 확인 (0) | 2019.01.24 |
XCC Service Data 로그 받는 방법 (0) | 2019.01.24 |
SR950 7X12 메모리 연결 순서 방법 (0) | 2019.01.11 |