Hi Jarrod. I'll hack around with chdef:

chdef nodeName serial=`rinv nodeName serial | head -1 | awk '{print $5}'`
chdef nodeName mtm=`rinv nodeName model | tail -1 | awk '{print $4}'`

That worked for me.

Confluent is way superior, however this cluster is still on xCAT.

Thank you!

On 18 Oct 2024, at 10:39, Jarrod Johnson <jjohns...@lenovo.com> wrote:

Unfortunately, as far as I can recall, you would be on your own.  It should be 
reasonably possible to use sed/grep to change rinv output into nodech commands 
to achieve it.

For what it is worth, the confluent 'nodeinventory' command has a '-s' option 
to do this, but doesn't have anything to do with the xCAT tables.
________________________________
From: Vinícius Ferrão via xCAT-user 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Sent: Thursday, October 17, 2024 9:29 PM
To: xCAT Users Mailing list 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Cc: Vinícius Ferrão 
<fer...@versatushpc.com.br<mailto:fer...@versatushpc.com.br>>
Subject: [External] [xcat-user] Fill the VPD table with rinv

Hello, is it possible to fill the VPD table for a given node with rinv command?

I'm only interested in Serial Number and MTM.

rinv noneName vpd works, but it does not get registered when I issue lsdef 
nodeName.

Regards,

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net<mailto:xCAT-user@lists.sourceforge.net>
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user&data=05%7C02%7Cjjohnson2%40lenovo.com%7C0850a7e251874a0cf23208dcef29c5ee%7C5c7d0b28bdf8410caa934df372b16203%7C0%7C0%7C638648209913146524%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=uHKlwN6HfPjVN92%2FU877qvZ62BPMW1ruu98Ts%2F23z5U%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/xcat-user>

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to