UNSOLVED

spunna

updated

3 years ago

S

spunna

1 Rookie

•

13 Posts

0

1464

September 13th, 2023 21:54

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?

  • 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

  • spunna

    1 Rookie

    •

    13 Posts

    0

    0

    Posted September 14th, 2023 16:27

    I am not able to access this CLI link https://dell.to/48cYZMp. Can you direct me to any other link?

    I see some version number and serial numbers in GET /license. Are these related to ECS or license related?

    HTTP/1.1 200 OK 
    Content-Type: application/xml 
    
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <license>
        <license_feature>
            <issued_date>01/10/2014</issued_date>
            <error_message></error_message>
            <expired_ind>false</expired_ind>
            <issuer></issuer>
            <license_id_indicator>U</license_id_indicator>
            <licensed_ind>true</licensed_ind>
            <model>ViPR_ECS</model>
            <notice>ACTIVATED TO License Site Number: PTA06JUN20131086059</notice>
            <product>PXTYD1DZK59Y4C</product>
            <serial>PXTYD1DZK59Y4C</serial>
            <site_id>UNKNOWN</site_id>
            <trial_license_ind>false</trial_license_ind>
            <version>2.0</version>
        </license_feature>
        <license_text> </license_text>
    </license>



    DELL-Sam L

    Community Manager

    •

    8128 Posts

    •

    34649 Points

    0

    September 14th, 2023 17:14

    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


    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:
    kA5f1000000XZPlCAO_1_0
    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:
    
    kA5f1000000XZPlCAO_1_1
    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.