<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Sun Solaris System Admin</title>
	
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Thu, 07 Jun 2012 20:28:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.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>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SunSolarisSystemAdmin" /><feedburner:info uri="sunsolarissystemadmin" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Missing memory in Solaris 10 with ZFS</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/lgsTFz37NSc/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/missing-memory-in-solaris-10-with-zfs/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 19:56:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Solaris 11]]></category>
		<category><![CDATA[ZFS]]></category>
		<category><![CDATA[Adaptive Replacement Cache]]></category>
		<category><![CDATA[ARC]]></category>
		<category><![CDATA[kstat]]></category>
		<category><![CDATA[mdb]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=157</guid>
		<description><![CDATA[Ever wondered all the precious memory installed on your server has gone? Among many other reasons, if you are running Solaris 10 and use ZFS file system then there may be your answer. ZFS Adaptive Replacement Cache (ARC) tends to use up to 75% of the installed physical memory on servers with 4GB or less <a href='http://www.sunsolarisadmin.com/solaris-10/missing-memory-in-solaris-10-with-zfs/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Ever wondered all the precious memory installed on your server has gone? Among many other reasons, if you are running Solaris 10 and use ZFS file system then there may be your answer.</p>
<p><span id="more-157"></span></p>
<p>ZFS Adaptive Replacement Cache (ARC) tends to use up to 75% of the installed physical memory on servers with 4GB or less and upto everything except 1GB of memory on servers with more than 4GB of memory to cache data in a bid to improve performance.</p>
<p>This can significantly affect performance on mission critical servers running Databases etc.</p>
<p>To identify how much memory uses:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;"># kstat -m zfs | grep size
&nbsp;
        data_size                       18935877120
        hdr_size                        66041496
        l2_hdr_size                     0
        l2_size                         0
        other_size                      11310112
        size                            19013228728</pre></td></tr></table></div>

<p>Here &#8220;<span style="color: #ff0000;">19013228728</span>&#8221; (approx 18G) indicates the total memory used by ZFS.</p>
<p>Alternatively, the following mdb command show ZFS ARC usage:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;"># echo &quot;::arc&quot; | mdb -k|grep size
size                      =      2048 MB
hdr_size                  =  12493584
data_size                 = 2048608256
other_size                =  86475456
l2_size                   =         0
l2_hdr_size               =         0</pre></td></tr></table></div>

<p>It makes sense to cap the maximum ZFS ARC can use on servers where memory requirement for other services is more.</p>
<p>To set the maximum limit for ZFS ARC, edit /etc/system file and add the following line</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;">set zfs:zfs_arc_max=2147483648</pre></td></tr></table></div>

<p>where <span style="color: #ff0000;">2147483648</span> restricts the usage to a maximum of 2GB physical memory. Unfortunately, this requires a reboot for the setting to take effect and cannot be dynamically changed.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=lgsTFz37NSc:v8Dyf3bFHqw:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=lgsTFz37NSc:v8Dyf3bFHqw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=lgsTFz37NSc:v8Dyf3bFHqw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=lgsTFz37NSc:v8Dyf3bFHqw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=lgsTFz37NSc:v8Dyf3bFHqw:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/lgsTFz37NSc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/missing-memory-in-solaris-10-with-zfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/solaris-10/missing-memory-in-solaris-10-with-zfs/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=missing-memory-in-solaris-10-with-zfs</feedburner:origLink></item>
		<item>
		<title>List LUNs attached to HBA/Disk controllers in Solaris 10</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/NMO-b9DwQgU/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/list-luns-attached-to-hbadisk-controllers-in-solaris-10/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 20:16:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[cfgadm]]></category>
		<category><![CDATA[fcinfo]]></category>
		<category><![CDATA[hba]]></category>
		<category><![CDATA[LUN]]></category>
		<category><![CDATA[oraHBA]]></category>
		<category><![CDATA[SAN]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=143</guid>
		<description><![CDATA[As a system administrator, every now and then you may come across situations wherein your SAN admin presents you some storage (LUNS) and you can&#8217;t find where the hell has it gone. The following are some of the ways to list the LUNS presented on a controller or all the controllers on the server. 1. <a href='http://www.sunsolarisadmin.com/solaris-10/list-luns-attached-to-hbadisk-controllers-in-solaris-10/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>As a system administrator, every now and then you may come across situations wherein your SAN admin presents you some storage (LUNS) and you can&#8217;t find where the hell has it gone. The following are some of the ways to list the LUNS presented on a controller or all the controllers on the server.<br />
<span id="more-143"></span></p>
<p><span style="text-decoration: underline;"><strong>1. Using fcinfo</strong></span></p>
<p>In Solaris 10, you can use the &#8220;fcinfo&#8221; utility which is a 2 step process to identify the Luns presented to the server.</p>
<p>1. Find the HBA port WWN number on the server:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;"># fcinfo hba-port</pre></td></tr></table></div>

<p>This command will show the HBA Port WWN among other information like the Node WWN, Device name, manufacturer, firmware, driver details etc.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;">root@myserver:/root # fcinfo hba-port
HBA Port WWN: 21000022ff0553e9
OS Device Name: /dev/cfg/c5
Manufacturer: QLogic Corp.
Model: 371-4324-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.03; EFI: 2.01;
Serial Number: 0402R00-1102885753
Driver Name: qlc
Driver Version: 3.00p
Type: L-port
State: online
Supported Speeds: 2Gb 4Gb 8Gb
Current Speed: 4Gb
Node WWN: 20000022ff0553e9</pre></td></tr></table></div>

<p>Here <span style="color: #ff0000;">21000022ff0553e9</span> is the WWN number for the HBA port.</p>
<p>2. List SCSI targets for the remote port attached to the HBA port attached to the above.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;"># fcinfo -sl -p HBA-Port-WWN</pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;">root@myserver:/root # fcinfo remote-port -sl -p 21000022ff0553e9
Remote Port WWN: 202400a0b8744072
Active FC4 Types:
SCSI Target: yes
Node WWN: 200400a0b8744072
Link Error Statistics:
Link Failure Count: 1
Loss of Sync Count: 2
Loss of Signal Count: 72
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 0
Invalid CRC Count: 0
LUN: 0
Vendor: SUN
Product: LCSM100_F
OS Device Name: /dev/rdsk/c5t202400A0B8744072d0s2
LUN: 2 Vendor: SUN
Product: LCSM100_F
OS Device Name: /dev/rdsk/c5t202400A0B8744072d2s2
LUN: 31 Vendor: SUN
Product: Universal Xport
OS Device Name: /dev/rdsk/c5t202400A0B8744072d31s2</pre></td></tr></table></div>

<p>Here, LUN0 and LUN2 are the actual disks and LUN31 is the Command device for the Storage controller</p>
<p><span style="text-decoration: underline;"><strong>2. Using cfgadm</strong></span></p>
<p>You can also find the above information using the &#8220;cfgadm&#8221; utility. One of the following commands should reveal the LUNS attached to the controller. Although the later works only on Solaris 10.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;"># cfgadm -al -o show_FCP_dev c5
&nbsp;
or
&nbsp;
# cfgadm -al -o show_SCSI_LUNS c5</pre></td></tr></table></div>

<p>where c5 is the controller. If you do not mentioned the controller, it then displays for every single disk controller on the server.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;">root@myserver:/root # cfgadm -al -o show_FCP_dev c5
Ap_Id Type Receptacle Occupant Condition
c5 fc-private connected configured unknown
c5::202400a0b8744072,0 disk connected configured unknown
c5::202400a0b8744072,2 disk connected configured unknown
c5::202400a0b8744072,31 disk connected configured unknown</pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="code"><pre class="language" style="font-family:monospace;">root@myserver:/root # cfgadm -al -o show_SCSI_LUN c5
Ap_Id Type Receptacle Occupant Condition
c5 fc-private connected configured unknown
c5::202400a0b8744072,0 disk connected configured unknown
c5::202400a0b8744072,2 disk connected configured unknown
c5::202400a0b8744072,31 disk connected configured unknown</pre></td></tr></table></div>

<p>Share your thoughts, if you know more ways of doing this.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=NMO-b9DwQgU:V79dqhcak9k:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=NMO-b9DwQgU:V79dqhcak9k:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=NMO-b9DwQgU:V79dqhcak9k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=NMO-b9DwQgU:V79dqhcak9k:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=NMO-b9DwQgU:V79dqhcak9k:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/NMO-b9DwQgU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/list-luns-attached-to-hbadisk-controllers-in-solaris-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/solaris-10/list-luns-attached-to-hbadisk-controllers-in-solaris-10/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=list-luns-attached-to-hbadisk-controllers-in-solaris-10</feedburner:origLink></item>
		<item>
		<title>Mount an ISO image in a Solaris Zone</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/K8yyrF6zgV4/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/mount-an-iso-image-in-a-solaris-zone/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 22:00:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Zones]]></category>
		<category><![CDATA[global zone]]></category>
		<category><![CDATA[guest zone]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[zones]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=136</guid>
		<description><![CDATA[There is no direct way to mount an ISO image onto a Solaris Zone. However, you can mount an ISO image onto the global zone (the server which hosts the zone) and then present it onto the guest zone. Attach a Block Device sunsolaris# lofiadm -a /export/software/iso_image.iso /dev/lofi/1 Mount the ISO Image block device sunsolaris# <a href='http://www.sunsolarisadmin.com/solaris-10/mount-an-iso-image-in-a-solaris-zone/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p><!--adsense-->There is no direct way to mount an ISO image onto a Solaris Zone. However, you can mount an ISO image onto the global zone (the server which hosts the zone) and then present it onto the guest zone.</p>
<p><span id="more-136"></span></p>
<p><span style="text-decoration: underline;"><strong>Attach a Block Device</strong></span></p>
<blockquote><p>sunsolaris# lofiadm -a /export/software/iso_image.iso</p>
<p><strong></strong> /dev/lofi/1</p></blockquote>
<p><span style="text-decoration: underline;"><strong>Mount the ISO Image block device</strong></span></p>
<blockquote><p>sunsolaris# mount -F hsfs -o ro /dev/lofi/1 /mnt</p></blockquote>
<p><span style="text-decoration: underline;"><strong>Mount the mounted ISO image to the Guest zone</strong></span></p>
<blockquote><p>sunsolaris# mount -F lofs /mnt /zones/myzone/root/mnt</p></blockquote>
<p>Where <strong>/zones/myzone/root</strong> is the root of the Zone. The files should now be visible under<strong> /mnt</strong> on the guest zone.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=K8yyrF6zgV4:CjwZ1Kfrp0I:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=K8yyrF6zgV4:CjwZ1Kfrp0I:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=K8yyrF6zgV4:CjwZ1Kfrp0I:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=K8yyrF6zgV4:CjwZ1Kfrp0I:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=K8yyrF6zgV4:CjwZ1Kfrp0I:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/K8yyrF6zgV4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/mount-an-iso-image-in-a-solaris-zone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/solaris-10/mount-an-iso-image-in-a-solaris-zone/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mount-an-iso-image-in-a-solaris-zone</feedburner:origLink></item>
		<item>
		<title>GNU Tools out of the box in Solaris 11</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/XHpHaZL_kTk/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-11/gnu-tools-out-of-the-box-in-solaris-11/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 22:39:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris 11]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[GNU]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=133</guid>
		<description><![CDATA[Leaving aside the performance improvements and re-engineering and architectural changes in Solaris 11, one of the significant and noticeable changes that comes along with Solaris 11 is the introduction of a lot of GNU tools out of the box. To make it even better, they replace the UNIX default versions. This is my opinion is <a href='http://www.sunsolarisadmin.com/solaris-11/gnu-tools-out-of-the-box-in-solaris-11/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p><!--adsense--></p>
<div id="_mcePaste">Leaving aside the performance improvements and re-engineering and architectural changes in Solaris 11, one of the significant and noticeable changes that comes along with Solaris 11 is the introduction of a lot of GNU tools out of the box. To make it even better, they replace the UNIX default versions.</div>
<div id="_mcePaste">This is my opinion is significant shift in approach from Sun (Oracle)  for good reasons allowing users, admins to use more powerful features of the GNU tools that were missing from the default versions.</div>
<div><span id="more-133"></span></div>
<div id="_mcePaste">To mention a couple,</div>
<div>1. With GNU find utility, you have more control on your ability to search with features like the depth of the directories in recursive searches.</div>
<div>2. With GNU tar utility, you can now tar and gunzip togethor in a single command.</div>
<div id="_mcePaste">All the installed GNU tools are under</div>
<blockquote>
<div id="_mcePaste"><em>/usr/gnu/bin</em></div>
</blockquote>
<div>and the following is the list of GNU tools available out of the box with the default installation:</div>
<blockquote>
<div>awk</div>
<div id="_mcePaste">basename</div>
<div id="_mcePaste">captoinfo</div>
<div id="_mcePaste">cat</div>
<div id="_mcePaste">chgrp</div>
<div id="_mcePaste">chmod</div>
<div id="_mcePaste">chown</div>
<div id="_mcePaste">chroot</div>
<div id="_mcePaste">cksum</div>
<div id="_mcePaste">clear</div>
<div id="_mcePaste">cmp</div>
<div id="_mcePaste">comm</div>
<div id="_mcePaste">cp</div>
<div id="_mcePaste">csplit</div>
<div id="_mcePaste">cut</div>
<div id="_mcePaste">date</div>
<div id="_mcePaste">dd</div>
<div id="_mcePaste">df</div>
<div id="_mcePaste">diff</div>
<div id="_mcePaste">diff3</div>
<div id="_mcePaste">diffmk</div>
<div id="_mcePaste">dirname</div>
<div id="_mcePaste">du</div>
<div id="_mcePaste">echo</div>
<div id="_mcePaste">egrep</div>
<div id="_mcePaste">env</div>
<div id="_mcePaste">eqn</div>
<div id="_mcePaste">expand</div>
<div id="_mcePaste">expr</div>
<div id="_mcePaste">factor</div>
<div id="_mcePaste">false</div>
<div id="_mcePaste">fgrep</div>
<div id="_mcePaste">find</div>
<div id="_mcePaste">fmt</div>
<div id="_mcePaste">fold</div>
<div id="_mcePaste">grep</div>
<div id="_mcePaste">grn</div>
<div id="_mcePaste">groups</div>
<div id="_mcePaste">head</div>
<div id="_mcePaste">hostid</div>
<div id="_mcePaste">id</div>
<div id="_mcePaste">indxbib</div>
<div id="_mcePaste">infocmp</div>
<div id="_mcePaste">infotocap</div>
<div id="_mcePaste">join</div>
<div id="_mcePaste">kill</div>
<div id="_mcePaste">link</div>
<div id="_mcePaste">ln</div>
<div id="_mcePaste">logname</div>
<div id="_mcePaste">ls</div>
<div id="_mcePaste">make</div>
<div id="_mcePaste">mkdir</div>
<div id="_mcePaste">mkfifo</div>
<div id="_mcePaste">mknod</div>
<div id="_mcePaste">mktemp</div>
<div id="_mcePaste">mv</div>
<div id="_mcePaste">ncurses5-config</div>
<div id="_mcePaste">neqn</div>
<div id="_mcePaste">nice</div>
<div id="_mcePaste">nl</div>
<div id="_mcePaste">nohup</div>
<div id="_mcePaste">nroff</div>
<div id="_mcePaste">od</div>
<div id="_mcePaste">paste</div>
<div id="_mcePaste">patch</div>
<div id="_mcePaste">pathchk</div>
<div id="_mcePaste">pic</div>
<div id="_mcePaste">pr</div>
<div id="_mcePaste">printf</div>
<div id="_mcePaste">pwd</div>
<div id="_mcePaste">refer</div>
<div id="_mcePaste">reset</div>
<div id="_mcePaste">rm</div>
<div id="_mcePaste">rmdir</div>
<div id="_mcePaste">sdiff</div>
<div id="_mcePaste">sed</div>
<div id="_mcePaste">sh</div>
<div id="_mcePaste">sleep</div>
<div id="_mcePaste">soelim</div>
<div id="_mcePaste">sort</div>
<div id="_mcePaste">split</div>
<div id="_mcePaste">stty</div>
<div id="_mcePaste">sum</div>
<div id="_mcePaste">sync</div>
<div id="_mcePaste">tail</div>
<div id="_mcePaste">tar</div>
<div id="_mcePaste">tee</div>
<div id="_mcePaste">test</div>
<div id="_mcePaste">tic</div>
<div id="_mcePaste">toe</div>
<div id="_mcePaste">touch</div>
<div id="_mcePaste">tput</div>
<div id="_mcePaste">tr</div>
<div id="_mcePaste">true</div>
<div id="_mcePaste">tset</div>
<div id="_mcePaste">tsort</div>
<div id="_mcePaste">tty</div>
<div id="_mcePaste">uname</div>
<div id="_mcePaste">unexpand</div>
<div id="_mcePaste">uniq</div>
<div id="_mcePaste">unlink</div>
<div id="_mcePaste">uptime</div>
<div id="_mcePaste">wc</div>
<div id="_mcePaste">which</div>
<div id="_mcePaste">who</div>
<div id="_mcePaste">whoami</div>
<div id="_mcePaste">xargs</div>
<div id="_mcePaste">yes</div>
</blockquote>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=XHpHaZL_kTk:CbbcI0_E5jg:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=XHpHaZL_kTk:CbbcI0_E5jg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=XHpHaZL_kTk:CbbcI0_E5jg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=XHpHaZL_kTk:CbbcI0_E5jg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=XHpHaZL_kTk:CbbcI0_E5jg:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/XHpHaZL_kTk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-11/gnu-tools-out-of-the-box-in-solaris-11/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/solaris-11/gnu-tools-out-of-the-box-in-solaris-11/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=gnu-tools-out-of-the-box-in-solaris-11</feedburner:origLink></item>
		<item>
		<title>BASE_CONFIG: JS_install_patchclust: Unable to locate patch</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/Qqc42I6oC_4/</link>
		<comments>http://www.sunsolarisadmin.com/package-management/base_config-js_install_patchclust-unable-to-locate-patch/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 20:51:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[patch cluster]]></category>
		<category><![CDATA[recommended patches]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=127</guid>
		<description><![CDATA[You may find the following error in your JET build install logs: WARNING: BASE_CONFIG: JS_install_patchclust: Unable to locate patch 119545-03 Recently, when building servers using Sun JET (SUNWjet), I found that the patches from the Sun recommended Patch cluster is not installed as a part of the JET build. Digging deeper, I found the above <a href='http://www.sunsolarisadmin.com/package-management/base_config-js_install_patchclust-unable-to-locate-patch/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p><!--adsense--></p>
<div id="_mcePaste">You may find the following error in your JET build install logs:</div>
<blockquote>
<div><span style="color: #ff0000;"><em>WARNING: BASE_CONFIG: JS_install_patchclust: Unable to locate patch 119545-03</em></span></div>
</blockquote>
<div>Recently, when building servers using Sun JET (SUNWjet), I found that the patches from the Sun recommended Patch cluster is not installed as a part of the JET build. Digging deeper, I found the above error messages in the Jet install logs.</div>
<div><span id="more-127"></span></div>
<div id="_mcePaste">Further digging and found that sometime after May 2009, Sun recommended patch cluster directory structure has changed where in there is a subdirectory called &#8220;patches&#8221; has been created and all the patches are now placed into this subdirectory.</div>
<div id="_mcePaste">If you check the patch_cluster.conf file, the following line exists:</div>
<blockquote>
<div><em>patches_subdir=&#8221;patches&#8221;</em></div>
</blockquote>
<div>But, JET doesn&#8217;t seem to recognise this change and the &#8220;patches_subdir&#8221; entry in the patch_cluster.conf file.</div>
<div id="_mcePaste">To resolve (rather workaround) the problem, simply create symbolic links in the root directory of the patch_cluster as follows:</div>
<blockquote>
<div id="_mcePaste"># cd 10_x86_Recommended</div>
<div id="_mcePaste"># for patches in `cat patch_order`</div>
<div id="_mcePaste"># do</div>
<div id="_mcePaste"># ln -s patches/$patches .</div>
<div id="_mcePaste"># done</div>
</blockquote>
<div id="_mcePaste">This should create the sym links of each of the patches under th patch cluster root directory and fix the problem.</div>
<div id="_mcePaste">You should now the following logs instead of the warning above:</div>
<blockquote>
<div id="_mcePaste"><em>BASE_CONFIG: &lt;&lt;&lt; 119545-03 (405 of 433) &gt;&gt;&gt;</em></div>
</blockquote>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=Qqc42I6oC_4:ZdKrZ9Z2hLI:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=Qqc42I6oC_4:ZdKrZ9Z2hLI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=Qqc42I6oC_4:ZdKrZ9Z2hLI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=Qqc42I6oC_4:ZdKrZ9Z2hLI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=Qqc42I6oC_4:ZdKrZ9Z2hLI:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/Qqc42I6oC_4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/package-management/base_config-js_install_patchclust-unable-to-locate-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/package-management/base_config-js_install_patchclust-unable-to-locate-patch/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=base_config-js_install_patchclust-unable-to-locate-patch</feedburner:origLink></item>
		<item>
		<title>tcpdrop – Drop TCP connections in Solaris</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/5SIgMgiQFGY/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-7/tcpdrop-drop-tcp-connections-in-solaris/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 22:07:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Solaris 7]]></category>
		<category><![CDATA[Solaris 8]]></category>
		<category><![CDATA[Solaris 9]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[tcp drop]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=118</guid>
		<description><![CDATA[tcpdrop is a free utility to drop an established TCP connection in Sun solaris. It is a port of the tcpdrop utility from FreeBSD and openBSD. tcpdrop doesn&#8217;t do what it says on the tin and nothing more but does it very well. tcpdrop works in Solaris 10,9,8 Let&#8217;s put it to work. tcpdrop solaris <a href='http://www.sunsolarisadmin.com/solaris-7/tcpdrop-drop-tcp-connections-in-solaris/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p><!--adsense-->tcpdrop is a free utility to drop an established TCP connection in Sun solaris. It is a port of the tcpdrop utility from FreeBSD and openBSD. tcpdrop doesn&#8217;t do what it says on the tin and nothing more but does it very well. tcpdrop works in Solaris 10,9,8</p>
<p><span id="more-118"></span></p>
<p>Let&#8217;s put it to work. tcpdrop solaris package is available for download from www.sunfreeware.com. Click one of the following links for Solaris 10 for x86 or SPARC.</p>
<p><strong><a title="Download tcpdrop for SPARC" href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/tcpdrop_solaris-20080516-sol10-sparc-local.gz" target="_blank">tcpdrop (Solaris 10 &#8211; SPARC)</a></strong></p>
<p><strong><a title="tcpdrop for Solaris 10 x86" href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/tcpdrop_solaris-20080516-sol10-x86-local.gz" target="_blank">tcpdrop (Solaris 10 &#8211; x86)</a></strong></p>
<p>Once downloaded unzip and install tcpdrop as follows:</p>
<blockquote>
<div id="_mcePaste"># gunzip tcpdrop_solaris-20080516-sol10-x86-local.gz</div>
<div></div>
<div># pkgadd -d tcpdrop_solaris-20080516-sol10-x86-local</div>
<div id="_mcePaste">The following packages are available:</div>
<div id="_mcePaste">1  SMCtcpdr     tcpdrop_solaris</div>
<div id="_mcePaste">(x86) 20080516</div>
<div id="_mcePaste">Select package(s) you wish to process (or &#8216;all&#8217; to process</div>
<div id="_mcePaste">all packages). (default: all) [?,??,q]:</div>
<div id="_mcePaste">Processing package instance &lt;SMCtcpdr&gt; from &lt;/root/tcpdrop_solaris-20080516-sol10-x86-local&gt;</div>
<div id="_mcePaste">tcpdrop_solaris(x86) 20080516</div>
<div id="_mcePaste">Ceri Davies</div>
<div id="_mcePaste">Using &lt;/usr/local&gt; as the package base directory.</div>
<div id="_mcePaste">## Processing package information.</div>
<div id="_mcePaste">## Processing system information.</div>
<div id="_mcePaste">2 package pathnames are already properly installed.</div>
<div id="_mcePaste">## Verifying disk space requirements.</div>
<div id="_mcePaste">## Checking for conflicts with packages already installed.</div>
<div id="_mcePaste">## Checking for setuid/setgid programs.</div>
<div id="_mcePaste"></div>
<div>Installing tcpdrop_solaris as &lt;SMCtcpdr&gt;</div>
<div id="_mcePaste">## Installing part 1 of 1.</div>
<div id="_mcePaste">/usr/local/bin/tcpdrop</div>
<div id="_mcePaste">/usr/local/doc/tcpdrop/OPENSOLARIS.LICENSE</div>
<div id="_mcePaste">/usr/local/doc/tcpdrop/README</div>
<div id="_mcePaste">/usr/local/man/man8/tcpdrop.8</div>
<div id="_mcePaste">[ verifying class &lt;none&gt; ]</div>
<div id="_mcePaste">Installation of &lt;SMCtcpdr&gt; was successful.</div>
</blockquote>
<div></div>
<p>I&#8217;m testing on Solaris 10 9/10 (x86).</p>
<blockquote><p># cat /etc/release<br />
Oracle Solaris 10 9/10 s10x_u9wos_14a X86<br />
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.<br />
Assembled 11 August 2010</p></blockquote>
<p>I&#8217;ve established two ssh connections to the server.</p>
<blockquote><p># netstat -an|grep EST<br />
192.168.1.66.22      192.168.1.65.49980   15872     51 49640      0 ESTABLISHED<br />
192.168.1.66.22      192.168.1.65.50050   16640      0 49640      0 ESTABLISHED</p></blockquote>
<p>Add <strong><em>/usr/local/bin</em></strong> to the PATH environment variable if it isn&#8217;t already there.</p>
<p>To drop a connection, the syntax for tcpdrop is</p>
<blockquote><p># tcpdrop &lt;server address&gt; &lt;server listening port&gt; &lt;client address&gt; &lt;client source port&gt;</p></blockquote>
<p>In our case, to disconnect the 2nd connection,</p>
<blockquote><p># tcpdrop 192.168.1.66 22 192.168.1.65 50050<br />
192.168.1.66:22 &lt;-&gt; 192.168.1.65:50050: dropped</p></blockquote>
<p>where</p>
<p><span style="color: #ff0000;">192.168.1.66</span> is the local server IP</p>
<p><span style="color: #ff0000;">22</span> is the TCP port SSH server that we are listening for a connection</p>
<p><span style="color: #ff0000;">192.168.1.65</span> is the client IP</p>
<p><span style="color: #ff0000;">50050</span> is the source port of the clients ssh connection.</p>
<p>Let&#8217;s check netstat now:</p>
<blockquote><p>#  netstat -an|grep EST<br />
192.168.1.66.22      192.168.1.65.49980   16896     67 49640      0 ESTABLISHED</p></blockquote>
<p>There it is the connection is dropped!</p>
<p><a href="http://www.sunsolarisadmin.com/wp-content/uploads/2010/11/tcpdrop2.png"><img class="alignnone size-medium wp-image-124" title="tcpdrop2" src="http://www.sunsolarisadmin.com/wp-content/uploads/2010/11/tcpdrop2-300x189.png" alt="" width="300" height="189" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=5SIgMgiQFGY:eHlYnSUICxo:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=5SIgMgiQFGY:eHlYnSUICxo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=5SIgMgiQFGY:eHlYnSUICxo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=5SIgMgiQFGY:eHlYnSUICxo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=5SIgMgiQFGY:eHlYnSUICxo:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/5SIgMgiQFGY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-7/tcpdrop-drop-tcp-connections-in-solaris/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/solaris-7/tcpdrop-drop-tcp-connections-in-solaris/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=tcpdrop-drop-tcp-connections-in-solaris</feedburner:origLink></item>
		<item>
		<title>Configure Link based IPMP in Solaris</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/xtcKLyxVstI/</link>
		<comments>http://www.sunsolarisadmin.com/networking/configure-link-based-ipmp-in-solaris/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 21:05:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[if_mpadm]]></category>
		<category><![CDATA[ip-address]]></category>
		<category><![CDATA[IPMP]]></category>
		<category><![CDATA[link based ipmp]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[tracking ipmp]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=111</guid>
		<description><![CDATA[For long we used Tracking IP basd IPMP wherein we track the availability of a gateway on the network using ICMP Echo request. When the gateway IP fails to respond it is considered link is unavailable and NIC fails over to the standby NIC in the IPMP group. The biggest disadvantage here is that we <a href='http://www.sunsolarisadmin.com/networking/configure-link-based-ipmp-in-solaris/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p><!--adsense-->For long we used Tracking IP basd IPMP wherein we track the availability of a gateway on the network using ICMP Echo request. When the gateway IP fails to respond it is considered link is unavailable and NIC fails over to the standby NIC in the IPMP group.</p>
<p><span id="more-111"></span></p>
<div>
<div id="_mcePaste">The biggest disadvantage here is that we use 3 IP addresses:</div>
<div></div>
<div>1 for the Virtual IP</div>
<div id="_mcePaste">1 for the active NIC</div>
<div id="_mcePaste">1 for the Standby NIC</div>
<div></div>
<div>and ofcourse the overhead of the ICMP echo requests sent every seconds.</div>
<div></div>
<div>This can be overcome using the Link based IPMP configuration where you only need only IP Address and there is no overhead of ICMP messages and the failover delay is lot lesser than that of the tracking method. And the added advantage of a very simple configuration.</div>
<div></div>
<div>To configure Link based IPMP, create the hostname.&lt;int name&gt; files for the Active NIC and the standby NIC. For instance here, we use the bge0 and bge3 NICs as the IPMP pair where bge0 is active and bge3 is standby and hence the files <strong>hostname.bge0</strong> and <strong>hostname.bge3</strong>.</div>
</div>
<div></div>
<div>To configure Link based IPMP, create the hostname.&lt;int name&gt; files for the Active NIC and the standby NIC. For instance here, we use the bge0 and bge3 NICs as the IPMP pair where bge0 is active and bge3 is standby and hence the files hostname.bge0 and hostname.bge3.</div>
<div>
<blockquote>
<div><strong>root@solaris10:/etc # ls -l hostname*</strong></div>
<div>-rw-r&#8211;r&#8211;   1 root     root          55 May  6 11:23 hostname.bge0</div>
<div>-rw-r&#8211;r&#8211;   1 root     root          23 May  6 11:23 hostname.bge3</div>
</blockquote>
</div>
<div>
<div>Edit the <strong><span style="text-decoration: underline;">hostname.bge0</span></strong> file and enter the following:</div>
</div>
<div>
<blockquote>
<div><strong>root@solaris10:/etc # vi hostname.bge0</strong></div>
<div>solaris10 netmask + broadcast + group sol10-ipmp up</div>
</blockquote>
<div>where,</div>
<div>&#8220;<strong>solaris10</strong>&#8221; is the hostname which should have a corresponding host entry in the /etc/hosts file.</div>
<div></div>
<div><strong>sol10-ipmp</strong> is the name of the IPMP group.</div>
<div></div>
<div>Edit the <strong><span style="text-decoration: underline;">hostname.bge3</span></strong> and the following</div>
</div>
<div>
<blockquote>
<div><strong>root@solaris10:/etc # vi hostname.bge3</strong></div>
<div>group sol10-ipmp up</div>
</blockquote>
</div>
<div>
<div>Here as you can see the standby NIC only has IPMP group configuration. This is all is needed to setup Link based IPMP. When the server is rebooted this configuration should take effect</div>
<div></div>
<div>To do this on the fly, we can use the ifconfig command:</div>
<div></div>
<div><strong><span style="text-decoration: underline;">NIC bge0</span></strong></div>
<blockquote>
<div><strong>root@solaris10:/etc # ifconfig bge0 plumb</strong></div>
<div><strong>root@solaris10:/etc # ifconfig bge0 192.168.0.1 netmask 255.255.255.0 group sol10-ipmp up</strong></div>
</blockquote>
<div><strong><span style="text-decoration: underline;">NIC bge3</span></strong></div>
</div>
<div>
<blockquote>
<div><strong>root@solaris10:/etc # ifconfig bge3 plumb</strong></div>
<div><strong>root@solaris10:/etc # ifconfig bge3 group sol10-ipmp up</strong></div>
</blockquote>
<blockquote>
<div><strong>root@solaris10:/etc # ifconfig -a</strong></div>
<div>lo0: flags=2001000849&lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&gt; mtu 8232 index 1</div>
<div>inet 127.0.0.1 netmask ff000000</div>
<div>bge0: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2</div>
<div>inet 192.168.0.1 netmask ffffff00 broadcast 192.168.0.255</div>
<div>groupname sol10-ipmp</div>
<div>ether 0:a:1d:ee:ab:cd</div>
<div>bge3: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 5</div>
<div>inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255</div>
<div>groupname sol10-ipmp</div>
<div>ether 0:a:1d:ee:ab:d2</div>
</blockquote>
<p>This should do.</p>
<div>To test failover, you can do the hard way of pulling the cables  or use if_mpadm command as follows:</div>
<div>To failover:</div>
</div>
<div>
<blockquote>
<div><strong>root@solaris10:/etc # if_mpadm -d bge0</strong></div>
</blockquote>
</div>
<div>
<div>To failback</div>
</div>
<div>
<blockquote>
<div><strong>root@solaris10:/etc # if_mpadm -r bge0</strong></div>
</blockquote>
</div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=xtcKLyxVstI:oljWCqUJi9s:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=xtcKLyxVstI:oljWCqUJi9s:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=xtcKLyxVstI:oljWCqUJi9s:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=xtcKLyxVstI:oljWCqUJi9s:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=xtcKLyxVstI:oljWCqUJi9s:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/xtcKLyxVstI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/networking/configure-link-based-ipmp-in-solaris/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/networking/configure-link-based-ipmp-in-solaris/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=configure-link-based-ipmp-in-solaris</feedburner:origLink></item>
		<item>
		<title>Error ‘shmget’ call failed with error number 22 (Invalid argument)</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/bW2Uyr3gyIE/</link>
		<comments>http://www.sunsolarisadmin.com/general/error-shmget-call-failed-with-error-number-22-invalid-argument/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 22:16:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ase]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[shared memory]]></category>
		<category><![CDATA[shmget]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sybase]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=108</guid>
		<description><![CDATA[The following  error on the Sybase ASE intalled on Sun Solaris can occur if the Maximum shared memory allocated is max&#8217;d out or if none is allocated, it takes the default value which is &#8220;Total Physical Memory /4&#8243;. Backup Server: 4.142.2.58: [0] The &#8216;shmget&#8217; call failed with error number 22 (Invalid argument). Refer to your <a href='http://www.sunsolarisadmin.com/general/error-shmget-call-failed-with-error-number-22-invalid-argument/' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p><!--adsense-->The following  error on the Sybase ASE intalled on Sun Solaris can occur if the Maximum shared memory allocated is max&#8217;d out or if none is allocated, it takes the default value which is <strong>&#8220;Total Physical Memory /4&#8243;</strong>.</p>
<blockquote><p><span style="color: #ff0000;"><em>Backup Server: 4.142.2.58: [0] The &#8216;shmget&#8217; call failed with error number 22 (Invalid argument). Refer to your operating system documentation for further details.</em></span></p></blockquote>
<p><span id="more-108"></span>To confirm, if maximum shared memory has been manually set,</p>
<blockquote><p><strong># projects -l</strong></p>
<p>user.asetest<br />
projid : 101<br />
comment: &#8220;Sybase ASE&#8221;<br />
users  : (none)<br />
groups : (none)<br />
attribs: project.max-shm-memory=(privileged,4294967296,deny)</p></blockquote>
<p>For instance, here we have set the Maximum Shared memory to 4GB to the user account which owns and runs the Sybase ASE. And, the last line &#8220;<span style="text-decoration: underline;"><em><strong>attribs: project.max-shm-memory=(privileged,4294967296,deny)</strong></em></span>&#8221; basically, sets the maximum shared memory for the user processes to 4GB (4294967296).</p>
<p>This is equivalent to doing</p>
<blockquote><p><strong># cat /etc/projects</strong></p></blockquote>
<p>If something similar doesn&#8217;t exist then the ASE is using the system defaults.</p>
<p>In any case, we need to increase the Maximum Shared memory. In our case increasing it to 7GB fixed the problem.</p>
<p>To add a new Project entry,</p>
<blockquote><p><strong># projadd -p 101 -U asetest -c &#8220;Sybase ASE&#8221; -K &#8220;max-shm-memory=(privileged,7GB,deny)&#8221; user.asetest</strong></p></blockquote>
<p>This would create a new project with ID 101, name user.asetest for user asetest and set the Maximum Shared Memory to 7GB.</p>
<p>To modify an existing Project entry,</p>
<blockquote><p><strong># projmod -sK &#8220;project.max-shm-memory=(privileged,7GB,deny)&#8221; user.asetest</strong></p></blockquote>
<p>This should help!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=bW2Uyr3gyIE:zMe3N7pxhwE:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=bW2Uyr3gyIE:zMe3N7pxhwE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=bW2Uyr3gyIE:zMe3N7pxhwE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=bW2Uyr3gyIE:zMe3N7pxhwE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=bW2Uyr3gyIE:zMe3N7pxhwE:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/bW2Uyr3gyIE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/error-shmget-call-failed-with-error-number-22-invalid-argument/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/general/error-shmget-call-failed-with-error-number-22-invalid-argument/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=error-shmget-call-failed-with-error-number-22-invalid-argument</feedburner:origLink></item>
		<item>
		<title>Fix errors in commands in Sun ILOM</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/IkGRYax1xj8/</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 <a href='http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/' class='excerpt-more'>[...]</a>]]></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>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=IkGRYax1xj8:vhbS9ktnNkE:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=IkGRYax1xj8:vhbS9ktnNkE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=IkGRYax1xj8:vhbS9ktnNkE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=IkGRYax1xj8:vhbS9ktnNkE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=IkGRYax1xj8:vhbS9ktnNkE:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/IkGRYax1xj8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=fix-errors-in-commands-in-sun-ilom</feedburner:origLink></item>
		<item>
		<title>How to find System Serial Number in x86 using ipmitool</title>
		<link>http://feedproxy.google.com/~r/SunSolarisSystemAdmin/~3/n4C9l8D0q1M/</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 <a href='http://www.sunsolarisadmin.com/hardware/how-to-find-system-serial-number-in-x86-using-ipmitool/' class='excerpt-more'>[...]</a>]]></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>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=n4C9l8D0q1M:8FLHIDurzKY:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=n4C9l8D0q1M:8FLHIDurzKY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=n4C9l8D0q1M:8FLHIDurzKY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=TzevzKxY174" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?i=n4C9l8D0q1M:8FLHIDurzKY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?a=n4C9l8D0q1M:8FLHIDurzKY:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SunSolarisSystemAdmin?d=l6gmwiTKsz0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SunSolarisSystemAdmin/~4/n4C9l8D0q1M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/how-to-find-system-serial-number-in-x86-using-ipmitool/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.sunsolarisadmin.com/hardware/how-to-find-system-serial-number-in-x86-using-ipmitool/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-find-system-serial-number-in-x86-using-ipmitool</feedburner:origLink></item>
	</channel>
</rss>
