Posts Tagged ‘sun’

How to get SUN server serial number ?

April 12th, 2016, posted in Solaris
Share
Are you breaking your head to find the Sun/oracle server serial number ?Many times its  required to get support hardware vendor and every time we can;t go back to look at the server builds books to find it.Here i am just sharing few tips to find the server serial number from OS console.Download the STB (Sun explorer )bundle from oracle website and install it by just executing the script.After installing STB bundle,by default SNEEP utility also will be installed on the server.
You can find the sneep utilities in the below mentioned location.
[root @ /opt/SUNWsneep/bin]# ls -l
total 298
-r-xr-xr-x   1 root     other       5519 Feb 15  2012 add_sneep_to_bin
-r-xr-xr-x   1 root     other       5995 Feb 15  2012 install_explorer_plugin
-r-xr-xr-x   1 root     other       5120 Feb 15  2012 serial_finder
lrwxrwxrwx   1 root     root           5 Apr 15  2012 setcsn -> sneep
lrwxrwxrwx   1 root     root           5 Apr 15  2012 showplatform -> sneep
-r-xr-xr-x   1 root     other     120925 Feb 15  2012 sneep
There are many commands with link to same binary to pull the server serial numbers.In the above output you can see serscn &  showplatform softlinks of sneep.
[root @ /opt/SUNWsneep/bin]# ./showplatform
BDFxxx2E4E
[root @/opt/SUNWsneep/bin]#./sneep
BDFxxx2E4E
In another way, we can grep the “ChassisSerialNumber” from eeprom  or prtconf command’s output.

[root@ /]# eeprom |grep -i ChassisSerialNumber
." ChassisSerialNumber BDFxxx2E4E " cr

[root @ /]# prtconf -pv |grep chassis
   chassis-sn:  'BDFxxx2E4E'
[root @ /]#

Please see the below examples taken from an Oracle/Sun Explorer utility.In these examples, if we already know the serial number, these examples show what commands could be used to retrieve the serial number. In these examples a portion of the serial has been masked. Ex: M9000/M8000

# cd /opt/SUNWexplo/output/explorer*
# grep AKD11XXXXX *

chassis_serial.out:AKD11XXXXX
eeprom.out:." ChassisSerialNumber AKD11XXXXX " cr
env.out:EXP_SERIAL_847c7878=AKD11XXXXX
prtconf-vp.out: chassis-sn: 'AKD11XXXXX'
prtpicl-v.out: :chassis-sn AKD11XXXXX
In M-series server , If the XSCF is UP, and they can log into it, they can also retrieve this from the showhardconf command output.
XSCF>showhardconf
SPARC Enterprise M5000;
+ Serial:BDF1219XXX; Operator_Panel_Switch:Locked;

How to update or store  serial number ?
To store serial number into the EEPROM.

# sneep -s AKDXXXX
To add other information
#sneep -t -s XXXXXX

 use the “-t” to set the tag name and the “-s” option to set its value as below:
Ex:# sneep -t “SiteTag” -s INDIA-BANGALORE

To display other tag information
# sneep -T
Installation of STB. (i.e Oracle explorer):
Download the oracle explorer from oracle website and copy to /var/tmp for installation.
The Oracle Services Tools Bundle (STB) is a self-extracting installer bundle that supports all Solaris standard operating systems and architectures, enabling customers to get the most from their Oracle Premier Support plans.
bash-3.00# ls -lrt |grep -i Solaris86
-rwxr--r--   1 root     root     47291285 May 27 13:36 p16469063_73_Solaris86-64.zip
bash-3.00# unzip p16469063_73_Solaris86-64.zip
Archive:  p16469063_73_Solaris86-64.zip
  inflating: README.txt
  inflating: install_stb.sh          
bash-3.00# ls -lrt |grep stb
-rw-r--r--   1 root     root     51074006 Mar  6 22:14 install_stb.sh
bash-3.00# chmod 700 install_stb.sh
bash-3.00# ./install_stb.sh
List of Services Tool Bundle Components:
   Oracle Explorer Data Collector 7.3
   Oracle Serial Number in EEPROM (SNEEP) 7.3
   Service Tag (ST) packages
   Oracle Autonomous Crashdump Tool 8.17 (ACT)

Would you like to (I)nstall, (X)tract, or (E)xit ? (I by default)
bash-3.00#
You can burn new serial number and other information to EEPROM.

bash-3.00# sneep -s AKZD34567
bash-3.00# sneep
AKZD34567
bash-3.00# sneep -t "Location" -s INDIA
bash-3.00# sneep -T
"ChassisSerialNumber"   "AKZD34567"
"Location"      "INDIA"
bash-3.00# sneep -t "AssetTag" -s 45675
bash-3.00# sneep -T
"ChassisSerialNumber"   "AKZD34567"
"AssetTag"      "45675"
"Location"      "INDIA"
bash-3.00#

To find the sneep version,

bash-3.00# sneep -V
Release 7.3

Its recommended to keep the oracle STB version update to date for to collect necessary information for  diagnostics.

Thank you for reading this article.Please leave a comment if you have any doubt ,i will get back to you as soon as possible.

Share

She Snatches From The Sun

May 11th, 2015, posted in Art, GiRLs, MOViES
Share

The moon's an arrant thief, And her pale fire she snatches from the sun,sun,moon,full moon,winters tale,winter's tale quotes ,winter's tale sketches,winter's tale red girl sketches,red girl sketch,girl and moon sketchs,girl and moon sketch,moon and girl sketch,She Snatches From The Sun,She Snatches From The Moon,The eternal conquest between light and dark is not fought with great armies, but one life at a time. Be warned:  as we seek out the light, darkness gathers,light and dark,but one life at a time,one life at a time,be warned,we seek out the light,darkness gathers,conquest between light and dark

The eternal conquest between light and dark is not fought with great armies, but one life at a time.
Be warned:  as we seek out the light, darkness gathers

Share

Cause Every Sunset Brings The Promise Of A New Dawn

January 1st, 2015, posted in MESSAGEs, Scarface'S DIARY
Share

When I admire the wonder of a sunset.. or the beauty of the moon.. my soul expands in worship of the Creator…
So know what you want to do.. hold the thought firmly.. and do every day what should be done.. and every sunset will see you that much nearer to your goal..
Cause every sunset brings the promise of a new dawn…
Share

A Fix for 'VMWare Authorization Service is not running' Error

June 23rd, 2014, posted in Windows
Share

Follow These Stepsvmware,VMWare Authorization Service ,Error,A Fix,Solution for VMWare Authorization Service not running,VMWare Authorization support,support,help,solution,windows 7,7,window7

(This fix is for Windows 7)

Make sure you are logged on as the administrator.

Click the start button and type run.
Click run and type services.msc
Press Enter

Find ‘VMWare Authorization Service‘ in the alphabetized list.
Double-Click the service.
Next to where it says, “Startup” in the dialogue box, click the drop down arrow to the left.
Click automatic

You will need to reboot your computer for the changes to take effect.

I hope this helps eliminate some frustration.

Share

A Fix for ‘VMWare Authorization Service is not running’ Error

June 23rd, 2014, posted in Windows
Share

Follow These Stepsvmware,VMWare Authorization Service ,Error,A Fix,Solution for VMWare Authorization Service not running,VMWare Authorization support,support,help,solution,windows 7,7,window7

(This fix is for Windows 7)

Make sure you are logged on as the administrator.

Click the start button and type run.
Click run and type services.msc
Press Enter

Find ‘VMWare Authorization Service‘ in the alphabetized list.
Double-Click the service.
Next to where it says, “Startup” in the dialogue box, click the drop down arrow to the left.
Click automatic

You will need to reboot your computer for the changes to take effect.

I hope this helps eliminate some frustration.

Share