Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.6 Can support the Intel Scalable Processors found with B200 M5 blades ? #3

Open
AllenJPGoGo opened this issue Jun 18, 2022 · 1 comment

Comments

@AllenJPGoGo
Copy link

V2.6 Can support the Intel Scalable Processors found with B200 M5 blades ?
png1

@pschapman
Copy link

pschapman commented Aug 6, 2022

Hi -

I've found the offending code on Line 820

Running the following commands showed all CPU strings on my UCS chassis:

Connect-Ucs <ip/fqdn>
Get-UcsBlade | ForEach-Object { ($_ | Get-UcsChild | Where-Object {$_.Rn -ieq "board"} | Get-UcsChild | Where-Object {$_.Rn -match "cpu"} | Select-Object -first 1).Model }

Key items returned:

Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz
Intel(R) Xeon(R) Gold 6142 CPU @ 2.60GHz

The search string on line 820 is looking for "CPU ". Newer CPU generations have the text in a different order.

Original Line 820

$bladeHash.CPU_Model = '(' + $blade.NumOfCpus + ') ' + ($cpu.Substring(([regex]::match($cpu,'CPU ').Index) + ([regex]::match($cpu,'CPU ').Length))).Replace(" ","")

Result

(2) [email protected]
(2) @2.60GHz

Proposed Replacement Line 820

$bladeHash.CPU_Model = '(' + $blade.NumOfCpus + ') ' + (($cpu).Replace("Intel(R) Xeon(R) ","")).Replace("CPU ","")

Result

(2) E5-2697A v4 @ 2.60GHz
(2) Gold 6142 @ 2.60GHz

PSC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants