Como encontrar o número de série do servidor Solaris?

2

Existe algum comando que estará disponível no servidor Sun Solaris Netra T5220 para obter o número de série da máquina?

    
por Wasila 09.05.2016 / 11:54

4 respostas

0

Não há - a menos que você o insira manualmente na EEPROM usando sneep :

Oracle Serial Number in EEPROM (SNEEP) provides a software-accessible Chassis Serial Number (CSN) for all Oracle Solaris hardware platforms.

SNEEP uses the system EEPROM for persistent storage of the Chassis Serial Number and other important user-defined data such as asset information, contract ID, or the serial numbers of attached storage devices.

The presence of the software-accessible serial number and other service-related information can significantly simplify activities related to system service and asset management.

Without SNEEP, only a subset of the Solaris-based hardware platforms have 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 provides one simple and consistent interface to the management of this information on all Solaris hosts, domains, and zones. SNEEP can also reference and maintain the serial number in the configuration files for the Oracle Explorer Data Collector.

...

If your hardware includes the serial number in its EEPROM, then you can view it with the following command:

sneep -t hostname,serial,model

If your hardware does not already store the serial number in EEPROM, then you can use SNEEP to include it.

You will need to first obtain the serial number and manually enter it into EEPROM.

(minha ênfase)

On most Sun hardware, the serial number is always located on a physical tag somewhere on the machine. The Sun System Handbook tells exactly where to find it for all Sun machines. The handbook can be accessed at My Oracle Support (click the Knowledge tab and then select Sun System Handbook in the left-hand navigation): https://support.oracle.com

...

WARNING:

The decimal number reported in the SPARC boot banner as the serial number when the machine is powered on is NOT the true serial number - it is the decimal form of the "host id". The host id is ordinarily seen in hexadecimal as the output of the Solaris hostid command.

    
por 09.05.2016 / 13:12
3

Como o Yascan afirmou, o prtdiag funciona bem, se você precisar obter esta informação do sistema operacional e não conseguir ou não ter sneep, então eu tentaria o seguinte

Eu uso isso no meu script

    # prtdiag -v | awk '/Chassis Serial/{getline; getline; print}'

dê uma olhada diferente

    # prtdiag -v | awk '/Chassis Serial/{print; getline; print; getline; print}'
    
por 31.08.2017 / 15:15
1

Faça login no ALOM e faça o seguinte e execute o comando abaixo.

sc> showplatform
SUNW,SPARC-Enterprise-T5120
Chassis Serial Number: BEL00011GA
    
por 09.05.2016 / 12:29
0

Como observado por Jeff, o sneep é uma ferramenta útil para rastrear o número de série em hardware mais antigo, bem como no sistema operacional. A maioria do hardware mais recente, você pode obter com sucesso o número de série através do ILOM ou XSCF.

E, em caso de dúvida, não apenas a equipe da sua propriedade a acompanhará, mas também a equipe responsável pela manutenção do servidor, pois ela será necessária para renovações e abertura de casos com a Oracle.

    
por 16.12.2016 / 23:56