Hardware info in notes #5

Open
opened 2024-06-08 07:58:55 +00:00 by PeterSurda · 2 comments
Owner

There can be one Note object per server. In this, we should put more detailed hardware info, e.g.

  • chassis model and serial number:
Handle 0x0100, DMI type 1, 27 bytes
System Information
        Manufacturer: HP
        Product Name: ProLiant DL360p Gen8
        Version: Not Specified
        Serial Number: USE441C3HR
  • processor model and count. I'm not sure if processors' serial numbers exist or are exposed via dmidecode, doesn't look like it:
        Version:  Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
  • RAM sticks models, counts, speeds, if it has ECC, serial numbers
       Total Width: 72 bits
        Data Width: 64 bits
        Size: 16 GB
        Form Factor: DIMM
        Set: None
        Locator: PROC  1 DIMM  1
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous Registered (Buffered)
        Speed: 1866 MT/s
        Manufacturer: HP
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: 712383-081
        Rank: 2
        Configured Memory Speed: 1866 MT/s

For DDR3, if it says Total Width 72, Data Width 64, it means ECC. For DDR4 I'm not sure, I remember it wasn't consistent across motherboards.

  • SATA Storage media (hdparm)
root@node1:~# hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
	Model Number:       Samsung SSD 870 QVO 8TB
	Serial Number:      S5SSNG0R100492M
	Firmware Revision:  SVQ01B6Q
	Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
...
	device size with M = 1024*1024:     7630885 MBytes
	device size with M = 1000*1000:     8001563 MBytes (8001 GB)
  • NVMe Storage media (nvme)
root@node1:~# nvme list
Node                  SN                   Model                                    Namespace Usage                      Format           FW Rev
--------------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1          202101018113         Reletech P400 SSD 2048GB                 1           2.05  TB /   2.05  TB    512   B +  0 B   ECFM13.3
There can be one `Note` object per server. In this, we should put more detailed hardware info, e.g. - chassis model and serial number: ``` Handle 0x0100, DMI type 1, 27 bytes System Information Manufacturer: HP Product Name: ProLiant DL360p Gen8 Version: Not Specified Serial Number: USE441C3HR ``` - processor model and count. I'm not sure if processors' serial numbers exist or are exposed via `dmidecode`, doesn't look like it: ``` Version: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz ``` - RAM sticks models, counts, speeds, if it has ECC, serial numbers ``` Total Width: 72 bits Data Width: 64 bits Size: 16 GB Form Factor: DIMM Set: None Locator: PROC 1 DIMM 1 Bank Locator: Not Specified Type: DDR3 Type Detail: Synchronous Registered (Buffered) Speed: 1866 MT/s Manufacturer: HP Serial Number: Not Specified Asset Tag: Not Specified Part Number: 712383-081 Rank: 2 Configured Memory Speed: 1866 MT/s ``` For DDR3, if it says Total Width 72, Data Width 64, it means ECC. For DDR4 I'm not sure, I remember it wasn't consistent across motherboards. - SATA Storage media (`hdparm`) ``` root@node1:~# hdparm -I /dev/sda /dev/sda: ATA device, with non-removable media Model Number: Samsung SSD 870 QVO 8TB Serial Number: S5SSNG0R100492M Firmware Revision: SVQ01B6Q Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0 ... device size with M = 1024*1024: 7630885 MBytes device size with M = 1000*1000: 8001563 MBytes (8001 GB) ``` - NVMe Storage media (`nvme`) ``` root@node1:~# nvme list Node SN Model Namespace Usage Format FW Rev --------------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- -------- /dev/nvme0n1 202101018113 Reletech P400 SSD 2048GB 1 2.05 TB / 2.05 TB 512 B + 0 B ECFM13.3 ```
PeterSurda added the
enhancement
label 2024-06-08 07:58:55 +00:00
shailaja was assigned by PeterSurda 2024-06-08 07:58:55 +00:00
swapnil was assigned by PeterSurda 2024-06-08 07:58:55 +00:00
PeterSurda added this to the Observability project 2024-06-08 07:58:55 +00:00
Member

I don't see a 'notes' or 'note' or 'Note' object in GET response or in the UI for server. Do you know the exact field name or where to find it in the UI?

I don't see a 'notes' or 'note' or 'Note' object in GET response or in the UI for server. Do you know the exact field name or where to find it in the UI?
Author
Owner

I don't see it in the api either: https://github.com/cp6/my-idlers/blob/main/routes/api.php . It probably needs to be implemented. Don't worry about it now, just work on the client.

I don't see it in the api either: https://github.com/cp6/my-idlers/blob/main/routes/api.php . It probably needs to be implemented. Don't worry about it now, just work on the client.
Sign in to join this conversation.
No Milestone
No project
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/idlers-agent#5
No description provided.