I have some VMs where I could identify that they are hosted on SPARC T4-2 .
I am trying to figure out what is the SN of the box/es from gathered explorer logs but the output of the executed commands gave unknown.
Any idea how to get out the SN?
Please let me know if further clarification is needed.
I don't remember a Solaris utility that provides that information, but a simple C program using the sysinfo()
function with the command parameter set to SI_HW_SERIAL
should get you what you want.
I suspect sysinfo(SI_HW_SERIAL) returned "unknown".
In such case, the SN is on a sticker on the chassis and can be read from the ilom:
Find the Server Serial Number - SPARC T4-2 Server HTML Document Collection
os2mac
March 20, 2017, 3:57pm
4
so if you have the current explorer tools installed it includes a tool called sneep which does exactly that
# /opt/SUNWsneep
FML010101X
#
if not you can use the eeprom command:
# eeprom |grep -i ChassisSerialNumber
nvramrc=." ChassisSerialNumber FML0101010X " cr
pressy
March 21, 2017, 10:20am
5
do you see anything in "virtinfo -a" output?
Both commands are not included in explorer file.
os2mac:
so if you have the current explorer tools installed it includes a tool called sneep which does exactly that
# /opt/SUNWsneep
FML010101X
#
if not you can use the eeprom command:
# eeprom |grep -i ChassisSerialNumber
nvramrc=." ChassisSerialNumber FML0101010X " cr
---------- Post updated at 12:48 AM ---------- Previous update was at 12:47 AM ----------
Unfortunately , I have only explorer logs gathered from the system.
---------- Post updated at 12:50 AM ---------- Previous update was at 12:48 AM ----------
looked for any virtinfo file/command in the explorer file but could not find any.
os2mac
March 22, 2017, 12:00pm
7
ahmedamer12:
Both commands are not included in explorer file.
---------- Post updated at 12:48 AM ---------- Previous update was at 12:47 AM ----------
Unfortunately , I have only explorer logs gathered from the system.
---------- Post updated at 12:50 AM ---------- Previous update was at 12:48 AM ----------
looked for any virtinfo file/command in the explorer file but could not find any.
Then you need to upgrade your explorer pkg
Sent from my iPhone using Tapatalk
---------- Post updated at 08:00 AM ---------- Previous update was at 05:54 AM ----------
Does this mean you don't have access to the system?
1 Like