Locations of visitors to this page

Monday, March 16, 2009

how to find solaris serial number 如何得到SUN服务器序列号

How To Find Solaris Chassis Serial Number
如何在Solaris系统中得到SUN服务器的序列号

Getting Hardware Information in Solaris:

The serial reported on a Sun in the boot banner is just the hostid in decimal and is not related to the actual chassis serial number (CSN)

On older Sun platforms, the only source for the CSN is the tag on the chassis or the “yellow sheet” that ships with the box.

To make it software-accessible, you might want to use sneep , as was mentioned already.
Sneep can also store and protect almost any other platform-specific data that you might need, like Asset tag or contact information.

Many of the newer platforms include some kind of built-in CSN support, but Sun is still (as of 11/2007) working on a standard way to get at it; some use prtdiag, some use SMBIOS or IPMI or FRUID, some put it in the LOM or ILOM or other System Controller.

Sneep 1.79 knows how to get at some of these, and future updates will try to improve on this and track the upcoming standard as it gets defined and implemented.

As of 11/2007, the sneep download at http://www.sun.com/download/products.xml?id=4304155a is 1.76
and it doesn’t know anything that you haven’t told it
(unless sneep can find the serial in your explorer or CST configuration)

If you have to have 1.79 (which also fixes a problem with eeprom handling by Veritas vxfs 4.1 and above), make a request on sneep-support@sun.com

Right now the best solution is to use sneep and to tell it your serial number once. Sneep will put it in the eeprom (on SPARC) protect it from loss or damage.

It does the best it can on x86, but there is no true eeprom.
At least you have a simple, standard way to get the serial back .

sneep-support@sun.com


SNEEP(Serial Number in EEPROM):
Before sneep, only a few of the newer Sun platforms had a mechanism to maintain a software-accessible serial number. Among those platforms, there is a wide variety of mechanisms for this, making consistent access to this information difficult.

SNEEP FAQ:
Unknown Serial

I loaded sneep on my system and when I ran it, Sneep I loaded on my system and when I ran it,
sneep said that the serial was "unknown". sneep said that the serial was "unknown."
Why doesn't sneep know what it is? Why does not sneep know what it is?

Most Sun platforms have no way of reporting their serial number. Sun Most platforms have no way of reporting their serial number.
(until after they are sneeped) (until after they are sneeped)

Only a relatively small number of the newer Sun platforms Only a relatively small number of the newer Sun platforms
natively provide serial number data which can be read by sneep, natively provide serial number data which can be read by sneep,
but there are a variety of ways in which this data is provided. but there are a variety of ways in which this data is provided.





首先用SNEEP工具将序列号记录到EEPROM中
/opt/SUNWsneep/bin/sneep -s <serial number>
然后就可以查询了
/opt/SUNWsneep/bin/showplatform -p csn



以下命令似乎好像有时也能查到
System serial number
uname -X
command to find system serial number
prtdiag -v
Finding a Sun Hardware serial number
/usr/sfw/bin/ipmitool
ipmitool fru



-fin-

No comments:

Website Analytics

Followers