<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sun Solaris System Admin &#187; hardware</title>
	<atom:link href="http://www.sunsolarisadmin.com/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 16 Jun 2010 21:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>Fix errors in commands in Sun ILOM</title>
		<link>http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/</link>
		<comments>http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 20:17:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[ilom]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[SP]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sunservice]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=105</guid>
		<description><![CDATA[There has been more than one instance when the Sun ILOM was not responsive to commands or were throwing errors. For instance, when you try to run the following command to reset the ILOM -&#62; reset /SP Are you sure you want to reset /SP (y/n)? y Performing hard reset on /SP failed reset: No [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->There has been more than one instance when the Sun ILOM was not responsive to commands or were throwing errors. For instance, when you try to run the following command to reset the ILOM</p>
<blockquote><p>-&gt; reset /SP<br />
Are you sure you want to reset /SP (y/n)? y<br />
Performing hard reset on /SP failed<br />
reset: No such inventory</p></blockquote>
<p>or when you try to reset the ILOM password, you may get the error &#8220;<em><strong>Set: No such object value</strong></em>&#8221;<br />
<span id="more-105"></span>To resolve the problem, you can actually logon to the ILOM as the user &#8220;sunservice&#8221; with the password of the ILOM root user and then reboot the ILOM (equivalne to &#8220;reset /SP&#8221;) with the command &#8220;reboot&#8221; as follows. Clearly as you can see from this warning SUN doesn&#8217;t recommend it so use it at your own risk:</p>
<blockquote><p><span style="color: #ff0000;"><strong>login as: sunservice</strong></span><br />
Using keyboard-interactive authentication.<br />
Password:</p>
<p>Copyright 2007 Sun Microsystems, Inc. All rights reserved.<br />
Use is subject to license terms.</p>
<p>WARNING: The &#8220;sunservice&#8221; account is provided solely to allow<br />
Sun Services to perform diagnosis and recovery tasks. Customer use of<br />
the &#8220;sunservice&#8221; account may interfere with the correct operation of<br />
ILOM and is not supported other than to perform recovery procedures as<br />
documented by Sun Microsystems. Normal ILOM operations should always be<br />
performed using the root account. Further usage of the &#8220;sunservice&#8221;<br />
account implies your agreement with these terms.<br />
<span style="color: #ff0000;"><strong>[(flash)root@SERV-ILOM:~]# reboot<br />
/sbin/reboot</strong></span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to find System Serial Number in x86 using ipmitool</title>
		<link>http://www.sunsolarisadmin.com/hardware/how-to-find-system-serial-number-in-x86-using-ipmitool/</link>
		<comments>http://www.sunsolarisadmin.com/hardware/how-to-find-system-serial-number-in-x86-using-ipmitool/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 20:10:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[chasis]]></category>
		<category><![CDATA[fru]]></category>
		<category><![CDATA[ipmitool]]></category>
		<category><![CDATA[serial number]]></category>
		<category><![CDATA[sneep]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=102</guid>
		<description><![CDATA[As we discussed earlier here, you can find the serial number of a Sun Hardware using the utility &#8220;sneep&#8221;. However, in Sun X86 systems, you can use the pre-installed tool &#8220;ipmitool&#8221; to find the system serial number. It is not as straight forward as sneep but still is simpl procedure. Run the command # ipmitool [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->As we discussed earlier <a title="Sneep - Find chasis serial number" href="http://www.sunsolarisadmin.com/hardware/find-chasis-serial-number-using-sneep/" target="_blank">here</a>, you can find the serial number of a Sun Hardware using the utility &#8220;sneep&#8221;. However, in Sun X86 systems, you can use the pre-installed tool &#8220;ipmitool&#8221; to find the system serial number. It is not as straight forward as sneep but still is simpl procedure.</p>
<p><span id="more-102"></span><br />
Run the command</p>
<blockquote><p><strong># ipmitool fru | grep &#8220;Product Serial&#8221;</strong></p></blockquote>
<p>where &#8220;FRU&#8221; is a Field Replaceable Unit. The problem here is it&#8217;s going to output too many serial numbers to confuse. The one we are interested is a 10 digit alpha-numeric number.</p>
<p>However, extending the command as</p>
<blockquote><p><strong># ipmitool fru print |egrep &#8220;Mainboard|/SYS&#8221; | awk &#8216;{print $7}&#8217;<br />
</strong>91)</p></blockquote>
<p>Would give you the ID number of the &#8220;/SYS&#8221; or &#8220;Mainboard&#8221; (91 here) which mostly has the serial number of the system. We then run the &#8220;ipmitool&#8221; as follows with that ID number to find the system serial number.</p>
<blockquote><p><strong># ipmitool fru print 91 |grep &#8220;Product Serial&#8221; | awk &#8216;{print $4}&#8217;</strong></p></blockquote>
<p>where &#8220;91&#8243; was the ID number.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/how-to-find-system-serial-number-in-x86-using-ipmitool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OBP Error: FATAL: system is not bootable, boot command is disabled</title>
		<link>http://www.sunsolarisadmin.com/hardware/obp-error-fatal-system-is-not-bootable-boot-command-is-disabled/</link>
		<comments>http://www.sunsolarisadmin.com/hardware/obp-error-fatal-system-is-not-bootable-boot-command-is-disabled/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 19:03:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[OBP]]></category>
		<category><![CDATA[OK prompt]]></category>
		<category><![CDATA[Open Boot Prompt]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=86</guid>
		<description><![CDATA[When you run any boot command like &#8220;boot net&#8221; or &#8220;boot -s&#8221; from the OK prompt (OBP), you may end up with the error FATAL: system is not bootable, boot command is disabled Don&#8217;t panic!!! This error indicates that interrupted the boot process prematurely, most likely when the memory checks were run with &#8220;STOP + [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->When you run any boot command like &#8220;boot net&#8221; or &#8220;boot -s&#8221; from the OK prompt (OBP), you may end up with the error</p>
<blockquote><p><strong>FATAL: system is not bootable, boot command is disabled</strong></p></blockquote>
<p>Don&#8217;t panic!!!</p>
<p><span id="more-86"></span><br />
This error indicates that interrupted the boot process prematurely, most likely when the memory checks were run with &#8220;<strong>STOP + A&#8221;</strong> or a break from console.</p>
<p>To resolve this problem simply Power OFF and power ON the system. Alternatively, you can perform a &#8220;<strong>reset-all</strong>&#8221; from the OK prompt.</p>
<p>This should help!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/obp-error-fatal-system-is-not-bootable-boot-command-is-disabled/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find Chasis Serial Number using sneep</title>
		<link>http://www.sunsolarisadmin.com/hardware/find-chasis-serial-number-using-sneep/</link>
		<comments>http://www.sunsolarisadmin.com/hardware/find-chasis-serial-number-using-sneep/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 18:32:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[asset tag]]></category>
		<category><![CDATA[chasis serial number]]></category>
		<category><![CDATA[csn]]></category>
		<category><![CDATA[eeprom]]></category>
		<category><![CDATA[psn]]></category>
		<category><![CDATA[serial number]]></category>
		<category><![CDATA[sneep]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=75</guid>
		<description><![CDATA[sneep (Serial Number in EEPROM) is a cool utility for Solaris that can retreive the Chasis Serial Number (CSN) or the Product Serial Number (PSN). This comes real handy when taking inventory or when having to work with Sun Support. sneep can also store useful information like system Assett Tag or Location into the EEPROM [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><em><strong>sneep</strong></em> (<em><strong>Serial Number in EEPROM</strong></em>) is a cool utility for Solaris that can retreive the Chasis Serial Number (CSN) or the Product Serial Number (PSN). This comes real handy when taking inventory or when having to work with Sun Support. sneep can also store useful information like system Assett Tag or Location into the EEPROM which can be retreived later on.<br />
<span id="more-75"></span><br />
Sneep searches for the serial number in  several  data  sources,  including  the  system  eeprom, platform-specific hardware-based sources, the  configuration      files  for  the  Sun  &#8220;<em><strong>explorer</strong></em>&#8220;  and &#8220;<em><strong>Configuration Service Tracker (CST)</strong></em>&#8221; tools, and its own  backup  file. This order of searched can be altered.</p>
<p><span style="text-decoration: underline;"><strong>Display Serial Number</strong></span></p>
<p>To simply display the serial number run sneep with no arguements</p>
<blockquote><p><strong># sneep<br />
</strong>0011223344</p></blockquote>
<p>To display the serial number and its associated tag in the EEPROM and infact all stored Tag/Value pairs.</p>
<blockquote><p><strong># sneep -T</strong><br />
&#8220;ChassisSerialNumber&#8221;   &#8220;0011223344&#8243;</p></blockquote>
<p><span style="text-decoration: underline;"><strong>Store Information in EEPROM</strong></span></p>
<p>To store information into the EEPROM like the asset tag use the &#8220;-t&#8221; to set the tag name and the &#8220;-s&#8221; option to set its value as below:<span> </span></p>
<blockquote><p><strong># sneep -t &#8220;AssetTag&#8221; -s 001234</strong></p></blockquote>
<p>To display all information</p>
<blockquote><p><strong># sneep -T</strong><br />
&#8220;AssetTag&#8221;  &#8220;001234&#8243;<br />
&#8220;ChassisSerialNumber&#8221;   &#8220;0011223344&#8243;</p></blockquote>
<p><span style="text-decoration: underline;"><strong>Install Sneep</strong></span></p>
<p>Sneep is not installed by default in Solaris. <a title="Download Sneep from Sun website" href="http://www.sun.com/sneep" target="_blank">Click here</a> to download the latest version of Sneep utility. (requires a sunsolve account)</p>
<p>Install as follows from the directory where the sneep package (<strong>SUNWsneep</strong>) is downloaded to:</p>
<blockquote><p><strong># uncompress SUNWsneep2.6.tar.Z<br />
# tar -xvf SUNWsneep2.6.tar<br />
# pkgadd -d . SUNWsneep<br />
</strong></p></blockquote>
<p>To confirm the installation</p>
<blockquote><p><strong># pkginfo -l SUNWsneep</strong><br />
PKGINST:  SUNWsneep<br />
NAME:  Serial Number in EEPROM<br />
CATEGORY:  service<br />
ARCH:  sparc,i386<br />
VERSION:  2.6<br />
BASEDIR:  /opt/SUNWsneep<br />
VENDOR:  Sun Microsystems, Inc.<br />
DESC:  Persistent, software-accesible storage of Chassis Serial Number (CSN) across OS and application changes. Works on all Sun platforms. Can also store and retrieve arbitrary other values in EEPROM.<br />
PSTAMP:  cvs-sustain-build20080930010154<br />
INSTDATE:  Jun 04 2009 17:22<br />
HOTLINE:  Support provided through normal Sun support channels<br />
EMAIL:  sneep-support@sun.com<br />
STATUS:  completely installed<br />
FILES:       25 installed pathnames<br />
5 directories<br />
3 executables<br />
1315 blocks used (approx)</p></blockquote>
<p>If you didn&#8217;t accept to create a link file in <strong>/usr/sbin</strong> during the pkgadd, add a symbolic link as follows;</p>
<blockquote><p><strong># ln -s /opt/SUNWsneep/bin/sneep .</strong></p></blockquote>
<p>To check the man page</p>
<blockquote><p><strong># man -M /opt/SUNWsneep/man  sneep</strong></p></blockquote>
<p>For command help</p>
<blockquote><p><strong># sneep -h</strong></p>
<p>Save and retrieve Chassis Serial Number  ( CSN ) using EEPROM.</p>
<p>usage:</p>
<p>sneep [-aFhlTvVx] [-t tag] [-s setting ] [-P ds1:ds2...] \<br />
[-d default] [-o separator]<br />
setcsn -c serialnumber<br />
showplatform -p csn</p>
<p>-h              This help message<br />
For detailed information, consult the man page. Try<br />
man -M /opt/SUNWsneep/man  sneep</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/find-chasis-serial-number-using-sneep/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to find the WWN (World Wide Name) in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/</link>
		<comments>http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 22:57:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[fcal]]></category>
		<category><![CDATA[fcinfo]]></category>
		<category><![CDATA[fcode]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[hba]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[prtconf]]></category>
		<category><![CDATA[prtpicl]]></category>
		<category><![CDATA[scli]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[worldwide name]]></category>
		<category><![CDATA[wwn]]></category>
		<category><![CDATA[wwnn]]></category>
		<category><![CDATA[wwpn]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=64</guid>
		<description><![CDATA[World Wide Name (WWN) are unique 8 byte (64-bit) identifiers in SCSI or fibre channel similar to that of MAC Addresses on a Network Interface Card (NIC). Talking about the WWN names, there are also World Wide port Name (WWpN), a WWN assigned to a port on a Fabric which is what you would be [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><strong><em>World Wide Name (WWN) </em></strong>are unique 8 byte (64-bit) identifiers in SCSI or fibre channel similar to that of MAC Addresses on a Network Interface Card (NIC).</p>
<p>Talking about the WWN names, there are also</p>
<p><strong><em>World Wide port Name (WWpN)</em></strong>, a WWN assigned to a port on a Fabric which is what you would be looking for most of the time.</p>
<p><strong><em>World Wide node Name (WWnN)</em></strong>, a WWN assigned to a node/device on a Fibre Channel fabric.</p>
<p><span id="more-64"></span></p>
<p>To find the WWN numbers of your HBA card in Sun Solaris, you can use one the following procedures</p>
<p><strong><span style="text-decoration: underline;"><em>Using fcinfo (Solaris 10 only)</em></span></strong></p>
<p>This is probably the easiest way to find the WWN numbers on your HBA card. Here you can see the HBA Port WWN (WWpN) and the Node WWN (WWnN) of the two ports on the installed Qlogic HAB card.</p>
<p>This is also useful in finding the Model number, Firmwar version FCode, supported and current speeds and the port status of the HBA card/port.</p>
<p> </p>
<blockquote><p><strong>root@ sunserver:/root# fcinfo hba-port | grep WWN</strong><br />
HBA Port WWN: 2100001b32xxxxxx<br />
Node WWN: 2000001b32xxxxxx<br />
HBA Port WWN: 2101001b32yyyyyy<br />
Node WWN: 2001001b32yyyyyy</p></blockquote>
<p>For detailed info including Make &amp; model number, Firmware, Fcode and current status and supported/current speeds then</p>
<blockquote><p><strong>root@ sunserver:/root# fcinfo hba-port</strong><br />
HBA Port WWN: 2100001b32xxxxxx<br />
OS Device Name: /dev/cfg/c2<br />
Manufacturer: QLogic Corp.<br />
Model: 375-3356-02<br />
Firmware Version: 4.04.01<br />
FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;<br />
Type: N-port<br />
State: online<br />
Supported Speeds: 1Gb 2Gb 4Gb<br />
Current Speed: 4Gb<br />
Node WWN: 2000001b32xxxxxx<br />
HBA Port WWN: 2101001b32yyyyyy<br />
OS Device Name: /dev/cfg/c3<br />
Manufacturer: QLogic Corp.<br />
Model: 375-3356-02<br />
Firmware Version: 4.04.01<br />
FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;<br />
Type: unknown<br />
State: offline<br />
Supported Speeds: 1Gb 2Gb 4Gb<br />
Current Speed: not established<br />
Node WWN: 2001001b32yyyyyy</p></blockquote>
<p> </p>
<p><strong><span style="text-decoration: underline;"><em>Using scli</em></span></strong></p>
<p> </p>
<blockquote><p><strong>root@ sunserver:/root# scli -i | egrep &#8220;Node Name|Port Name&#8221;</strong><br />
Node Name                  : 20-00-00-1B-32-XX-XX-XX<br />
Port Name                  : 21-00-00-1B-32-XX-XX-XX<br />
Node Name                  : 20-01-00-1B-32-YY-YY-YY<br />
Port Name                  : 21-01-00-1B-32-YY-YY-YY</p></blockquote>
<p> </p>
<p>For more detailed info on the HBA Cards run as follows: Similar to fcinfo but also provides Model Name and serial number.</p>
<p> </p>
<blockquote><p><strong>root@ sunserver:/root# scli -i</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Host Name                  : sunserver<br />
HBA Model                  : QLE2462<br />
HBA Alias                  :<br />
Port                       : 1<br />
Port Alias                 :<br />
Node Name                  : 20-00-00-1B-32-XX-XX-XX<br />
Port Name                  : 21-00-00-1B-32-XX-XX-XX<br />
Port ID                    : 11-22-33<br />
Serial Number              : AAAAAAA-bbbbbbbbbb<br />
Driver Version             : qlc-20080514-2.28<br />
FCode Version              : 1.24<br />
Firmware Version           : 4.04.01<br />
HBA Instance               : 2<br />
OS Instance                : 2<br />
HBA ID                     : 2-QLE2462<br />
OptionROM BIOS Version     : 1.24<br />
OptionROM FCode Version    : 1.24<br />
OptionROM EFI Version      : 1.08<br />
OptionROM Firmware Version : 4.00.26<br />
Actual Connection Mode     : Point to Point<br />
Actual Data Rate           : 2 Gbps<br />
PortType (Topology)        : NPort<br />
Total Number of Devices    : 2<br />
HBA Status                 : Online<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Host Name                  : sunserver<br />
HBA Model                  : QLE2462<br />
HBA Alias                  :<br />
Port                       : 2<br />
Port Alias                 :<br />
Node Name                  : 20-01-00-1B-32-YY-YY-YY<br />
Port Name                  : 21-01-00-1B-32-YY-YY-YY<br />
Port ID                    : 00-00-00<br />
Serial Number              : AAAAAAA-bbbbbbbbbb<br />
Driver Version             : qlc-20080514-2.28<br />
FCode Version              : 1.24<br />
Firmware Version           : 4.04.01<br />
HBA Instance               : 3<br />
OS Instance                : 3<br />
HBA ID                     : 3-QLE2462<br />
OptionROM BIOS Version     : 1.24<br />
OptionROM FCode Version    : 1.24<br />
OptionROM EFI Version      : 1.08<br />
OptionROM Firmware Version : 4.00.26<br />
Actual Connection Mode     : Unknown<br />
Actual Data Rate           : Unknown<br />
PortType (Topology)        : Unidentified<br />
Total Number of Devices    : 0<br />
HBA Status                 : Loop down</p></blockquote>
<p> </p>
<p><strong><span style="text-decoration: underline;"><em>Using prtconf</em></span></strong></p>
<blockquote><p>root@ sunserver:/root# prtconf -vp | grep -i wwn<br />
port-wwn:  2100001b.32xxxxxx<br />
node-wwn:  2000001b.32xxxxxx<br />
port-wwn:  2101001b.32yyyyyy<br />
node-wwn:  2001001b.32yyyyyy</p></blockquote>
<p><strong><span style="text-decoration: underline;"><em>Using prtpicl</em></span></strong></p>
<blockquote><p><strong>root@ sunserver:/root# prtpicl -v | grep wwn</strong><br />
:node-wwn  20  00  00  1b  32  xx  xx  xx<br />
:port-wwn  21  00  00  1b  32  xx  xx  xx<br />
:node-wwn  20  01  00  1b  32  yy  yy  yy<br />
:port-wwn  21  01  00  1b  32  yy  yy  yy</p></blockquote>
<p> </p>
<p><strong><span style="text-decoration: underline;"><em>Using luxadm</em></span></strong></p>
<p>Run the following command to obtain the physical path to the HBA Ports</p>
<blockquote><p><strong>root@ sunserver:/root$ luxadm -e port</strong><br />
/devices/pci@400/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl              CONNECTED<br />
/devices/pci@400/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:devctl            NOT CONNECTED</p></blockquote>
<p> </p>
<p>With the physical path obtained from the above command, we can trace the WWN numbers as follows. here I use the physical path to the one that is connected:</p>
<blockquote><p><strong>root@ sunserver:/root$ luxadm -e dump_map /devices/pci@400/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl</strong><br />
Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type<br />
0    123456  0         1111111111111111 2222222222222222 0&#215;0  (Disk device)<br />
1    789123  0         1111111111111111 2222222222222222 0&#215;0  (Disk device)<br />
2    453789  0         2100001b32xxxxxx 2000001b32xxxxxx 0x1f (Unknown Type,Host Bus Adapter)</p></blockquote>
<p> </p>
<p>Hope this helps. If you know of any more way then please feel free to post it to the comments and I shall amend it to the article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/how-to-find-the-wwn-world-wide-name-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Enable or Disable a processor in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/hardware/how-to-enable-or-disable-a-processor-in-sun-solaris/</link>
		<comments>http://www.sunsolarisadmin.com/hardware/how-to-enable-or-disable-a-processor-in-sun-solaris/#comments</comments>
		<pubDate>Fri, 09 May 2008 19:26:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[Processor]]></category>
		<category><![CDATA[psradm]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=57</guid>
		<description><![CDATA[In multiprocessor environments, Sun Solaris can allow enabling or disabling Processors. This although is not something that we would do all the time but can come handy when troubleshooting hardware issues. Sun Solaris has the psradm utility which allows enabling or disabling a Processor on the system. The psradm utility changes the operational status of [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
In multiprocessor environments, Sun Solaris can allow enabling or disabling Processors. This although is not something that we would do all the time but can come handy when troubleshooting hardware issues.</p>
<p>Sun Solaris has the psradm utility which allows enabling or disabling a Processor on the system. The psradm utility changes the operational status of processors. The legal states for the processor are on-line, offline, spare, Faulted, and no-intr. An online processor processes LWPs (lightweight  processes) and can be interrupted by I/O devices in the system.</p>
<p><span id="more-57"></span></p>
<p>To enable or disable a processor on the system we need to know the Processor ID. This can be found using the psrinfo utility as follows:</p>
<blockquote><p><strong>sunsolaris# psrinfo</strong><br />
0       on-line   since 05/09/2008 19:41:32</p></blockquote>
<p>where 0 is the processor ID.</p>
<p>To know the path of the psradm command</p>
<blockquote><p><strong>sunsolaris# which psradm<br />
</strong>/usr/sbin/psradm</p></blockquote>
<p><strong><span style="text-decoration: underline;">To disable a processor</span></strong></p>
<blockquote><p><strong>sunsolaris# psradm -f 0</strong></p></blockquote>
<p>where &#8217;0&#8242; is the processor ID and &#8216;-f&#8217; indicates the processor is taken offline (disable)</p>
<p><strong><span style="text-decoration: underline;">To enable a processor</span></strong></p>
<blockquote><p><strong>sunsolaris# psradm -n 0</strong></p></blockquote>
<p>where &#8217;0&#8242; is the processor ID and &#8216;-n&#8217; indicates the processor is brought online (enable)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/how-to-enable-or-disable-a-processor-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to display Processor information in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/hardware/how-to-display-processor-information-in-sun-solaris/</link>
		<comments>http://www.sunsolarisadmin.com/hardware/how-to-display-processor-information-in-sun-solaris/#comments</comments>
		<pubDate>Fri, 09 May 2008 19:16:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[Processor]]></category>
		<category><![CDATA[prtconf]]></category>
		<category><![CDATA[prtdiag]]></category>
		<category><![CDATA[psrinfo]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=56</guid>
		<description><![CDATA[Sun solaris has various different utilities to find the processor information on your hardware. Let&#8217;s have a look at the different utilities that can display the processor informations and the way they display information. Using psrinfo psrinfo displays more detailed information of the Processors including the number of Physical processors on the system and the [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Sun solaris has various different utilities to find the processor information on your hardware. Let&#8217;s have a look at the different utilities that can display the processor informations and the way they display information.</p>
<p><span id="more-56"></span></p>
<p><strong><span style="text-decoration: underline;">Using psrinfo</span></strong></p>
<p>psrinfo displays more detailed information of the Processors including the number of Physical processors on the system and the number of virtual processors on the system. Each virtual processor is in its own a seperate entity.</p>
<p>Run psrinfo as root without arguments gives a quick summary of the processors with its IDs and the time since online.</p>
<blockquote><p><strong># which psrinfo<br />
</strong>/usr/sbin/psrinfo</p></blockquote>
<blockquote><p><strong>sunsolaris# psrinfo<br />
</strong>0       on-line   since 05/09/2008 19:41:32</p></blockquote>
<p>For a more detailed output use the verbose option. This gives much more detailed information including processor type, operating speed etc for every available processor.</p>
<blockquote><p><strong>sunsolaris# psrinfo -v<br />
</strong>Status of virtual processor 0 as of: 05/09/2008 20:05:34<br />
  on-line since 05/09/2008 19:41:32.<br />
  The i386 processor operates at 2000 MHz,<br />
        and has an i387 compatible floating point processor.<br />
       <br />
<strong><span style="text-decoration: underline;">Using prtiag</span></strong></p></blockquote>
<p>This can once again give a summarised information on the processor version and its ID.</p>
<blockquote><p><strong>sunsolaris# which prtdiag</strong><br />
/usr/sbin/prtdiag</p></blockquote>
<blockquote><p><strong>sunsolaris# prtdiag<br />
</strong>System Configuration: VMware, Inc. VMware Virtual Platform<br />
BIOS Configuration: Phoenix Technologies LTD 6.00 04/17/2006</p>
<p>==== Processor Sockets ====================================</p>
<p>Version                          Location Tag<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Pentium(R) Pro                   CPU socket #0</p>
<p>&#8230;..<br />
&#8230;.</p></blockquote>
<p><strong><span style="text-decoration: underline;">Using prtconf</span></strong></p>
<p>Based on the installed drivers, you can find the information on the CPUs on the system.</p>
<blockquote><p><strong>sunsolaris# which prtconf</strong><br />
/usr/sbin/prtconf</p></blockquote>
<blockquote><p><strong>sunsolaris#prtconf</strong><br />
System Configuration:  Sun Microsystems  i86pc<br />
Memory size: 512 Megabytes<br />
System Peripherals (Software Nodes):<br />
&#8230;<br />
..<br />
&#8230;<br />
cpus (driver not attached)<br />
      cpu, instance #0 (driver not attached)</p></blockquote>
<p>Not much information on my solaris 10 system running on a virtual server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/how-to-display-processor-information-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
