Finding ECS Serial Number ,Model and Version through REST API
I am trying to find ECS Serial Number, Model and Version via REST API but couldn't find any API that exposes that data. Can anyone suggest any API that gives the information?
I am not seeing a way to get this information via rest api. You can access this information via the web gui and CLI. Here are the links to those methods if you need them.
ECS: How to obtain the server chassis and node serial number via CLI
Summary: This knowledge base article explains how to obtain the server chassis and node serial numbers via the CLI.
Audience Level: Customer
Article Content
Article Properties
Rate This Article
Article Content
Instructions
In order to obtain the serial number from an ECS node, we need to understand the layout of the server chassis and node.
To identify a node, we should firstly identify the server chassis which holds 4 nodes. The serial number tag is located between the nodes within the front middle section of the server chassis as follows:
In order to obtain the server chassis serial number, execute the following command via CLI on any node within the chassis. Note if this is an 8 node system the server chassis serial number will be the same for the first 4 nodes (1-4) while the remaining 4 nodes (5-8) will have a different server chassis number:
admin@provo:~> sudo dmidecode | grep -A4 'System Information'
System Information
Manufacturer: EMC
Product Name: S2600JF
Version: FFF
Serial Number: FC1234567890
Once the server chassis serial number is obtained, you can identify the node serial number which is located under the 1 GbE port on the back bottom left section of each node as follows:
Execute the following command to obtain the node serial number for the concerning node. Note the node serial number will be different for each node:
admin@provo:~> viprexec -i "sudo dmidecode | grep -A3 -e 'Server' -A3 -e 'Mount' | grep -A3 'Chassis'"
Output from host : 192.168.219.1
Type: Main Server Chassis
Lock: Not Present
Version: 105-000-410-01
Serial Number: FC01234567891
Output from host : 192.168.219.2
Type: Main Server Chassis
Lock: Not Present
Version: 105-000-345-02
Serial Number: FC01234567892
Output from host : 192.168.219.3
Type: Main Server Chassis
Lock: Not Present
Version: 105-000-345-02
Serial Number: FC01234567893
Output from host : 192.168.219.4
Type: Main Server Chassis
Lock: Not Present
Version: 105-000-345-02
Serial Number: FC01234567894
With the server chassis and node serial numbers, you may combine these two serial numbers in order to locate the correct node within a data center for identification and/or activity purposes.
DELL-Sam L
Community Manager
•
8128 Posts
•
34649 Points
0
0
Posted September 14th, 2023 11:49
Hello spunna,
I am not seeing a way to get this information via rest api. You can access this information via the web gui and CLI. Here are the links to those methods if you need them.
GUI
https://dell.to/3ZexcXT
CLI
https://dell.to/48cYZMp