<?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>unixpowered.com</title>
	<atom:link href="http://www.unixpowered.com/unixpowered/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unixpowered.com/unixpowered</link>
	<description>:(){ :&#124;:&#38; };:</description>
	<lastBuildDate>Wed, 18 Apr 2012 13:11:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Dropping cached memory in Linux</title>
		<link>http://www.unixpowered.com/unixpowered/2012/03/30/dropping-cached-memory-in-linux/</link>
		<comments>http://www.unixpowered.com/unixpowered/2012/03/30/dropping-cached-memory-in-linux/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 13:10:24 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux tips]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.unixpowered.com/unixpowered/?p=908</guid>
		<description><![CDATA[This is kind of a followup to the previous post about Linux seemingly being out of memory. There is kernel parameter that can be altered on the run to free up memory used up by pagecache, dentries and inodes. In the following outputs we are interested in buffers/cache values. Note that sync command should be [...]]]></description>
			<content:encoded><![CDATA[<p>This is kind of a followup to the <a title="Is Linux really out of memory?" href="index.php/archives/2012/02/28/is-linux-really-out-of-memory/" target="_self">previous post about Linux seemingly being out of memory</a>.</p>
<p>There is kernel parameter that can be altered on the run to free up memory used up by pagecache, dentries and inodes. In the following outputs we are interested in <em>buffers/cache</em> values. Note that <em>sync</em> command should be run first to flush out all cached objects.</p>
<p>Following is output of <em>free</em> command before anything is done:</p>
<p><code>root@ultra:~#&nbsp;<strong>sync;free</strong><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;total&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;used&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;free&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shared&nbsp;&nbsp;&nbsp;&nbsp;buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cached<br />
Mem:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16446564&nbsp;&nbsp;&nbsp;&nbsp;9924728&nbsp;&nbsp;&nbsp;&nbsp;6521836&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;337568&nbsp;&nbsp;&nbsp;&nbsp;8135860<br />
-/+&nbsp;buffers/cache:&nbsp;&nbsp;&nbsp;&nbsp;1451300&nbsp;&nbsp;&nbsp;14995264<br />
Swap:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1998840&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;1998840</code></p>
<p>Now by echoing 1 into <em>/proc/sys/vm/drop_caches</em> memory used by pagecache is freed:</p>
<p><code>root@ultra:~#&nbsp;<strong>echo&nbsp;1&nbsp;>&nbsp;/proc/sys/vm/drop_caches</strong><br />
root@ultra:~#&nbsp;free<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;total&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;used&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;free&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shared&nbsp;&nbsp;&nbsp;&nbsp;buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cached<br />
Mem:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16446564&nbsp;&nbsp;&nbsp;&nbsp;1557852&nbsp;&nbsp;&nbsp;14888712&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;504&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;150524<br />
-/+&nbsp;buffers/cache:&nbsp;&nbsp;&nbsp;&nbsp;1406824&nbsp;&nbsp;&nbsp;15039740<br />
Swap:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1998840&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;1998840</code></p>
<p>By echoing 2 into the same file you can free up memory used by dentries and inodes:</p>
<p><code>root@ultra:~#&nbsp;<strong>echo&nbsp;2&nbsp;>&nbsp;/proc/sys/vm/drop_caches</strong><br />
root@ultra:~#&nbsp;free<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;total&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;used&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;free&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shared&nbsp;&nbsp;&nbsp;&nbsp;buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cached<br />
Mem:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16446564&nbsp;&nbsp;&nbsp;&nbsp;1427692&nbsp;&nbsp;&nbsp;15018872&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1404&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;151332<br />
-/+&nbsp;buffers/cache:&nbsp;&nbsp;&nbsp;&nbsp;1274956&nbsp;&nbsp;&nbsp;15171608<br />
Swap:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1998840&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;1998840</code></p>
<p>The above two steps can be combined into one:</p>
<p><code>root@ultra:~#&nbsp;<strong>echo&nbsp;3&nbsp;>&nbsp;/proc/sys/vm/drop_caches</strong></code></p>
<p>Alternatively <em>sysctl -w vm.drop_caches=3</em> will achieve the same. Most of the information is described <a href="http://www.linuxinsight.com/proc_sys_vm_drop_caches.html" title="vm.drop_caches" target="_blank">here</a>, but I just do not feel like looking for it every time I need it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/unixpowered/2012/03/30/dropping-cached-memory-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is Linux really out of memory?</title>
		<link>http://www.unixpowered.com/unixpowered/2012/02/28/is-linux-really-out-of-memory/</link>
		<comments>http://www.unixpowered.com/unixpowered/2012/02/28/is-linux-really-out-of-memory/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 11:56:23 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux tips]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.unixpowered.com/unixpowered/?p=898</guid>
		<description><![CDATA[If you have ever looked at RAM usage on a Linux server you might have noticed that the server might be running out of memory. This is misleading. Let&#8217;s take the following example: [somedude@ultra&#160;~]$&#160;free &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;total&#160;&#160;&#160;&#160;&#160;&#160;&#160;used&#160;&#160;&#160;&#160;&#160;&#160;&#160;free&#160;&#160;&#160;&#160;&#160;shared&#160;&#160;&#160;&#160;buffers&#160;&#160;&#160;&#160;&#160;cached Mem:&#160;&#160;&#160;&#160;&#160;&#160;16432988&#160;&#160;&#160;16378844&#160;&#160;&#160;&#160;&#160;&#160;54144&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;0&#160;&#160;&#160;&#160;&#160;647204&#160;&#160;&#160;14692400 -/+&#160;buffers/cache:&#160;&#160;&#160;&#160;1039240&#160;&#160;&#160;15393748 Swap:&#160;&#160;&#160;&#160;&#160;16383992&#160;&#160;&#160;&#160;4501164&#160;&#160;&#160;11882828 At glance it looks like you have 54144 bytes of memory free. This is not true. This [...]]]></description>
			<content:encoded><![CDATA[<p>If you have ever looked at RAM usage on a Linux server you might have noticed that the server might be running out of memory. This is misleading. Let&#8217;s take the following example:</p>
<p><code>[somedude@ultra&nbsp;~]$&nbsp;<strong>free</strong><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;total&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;used&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;free&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shared&nbsp;&nbsp;&nbsp;&nbsp;buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cached<br />
Mem:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16432988&nbsp;&nbsp;&nbsp;16378844&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;54144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;647204&nbsp;&nbsp;&nbsp;14692400<br />
-/+&nbsp;buffers/cache:&nbsp;&nbsp;&nbsp;&nbsp;1039240&nbsp;&nbsp;&nbsp;15393748<br />
Swap:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16383992&nbsp;&nbsp;&nbsp;&nbsp;4501164&nbsp;&nbsp;&nbsp;11882828</code></p>
<p>At glance it looks like you have <em>54144</em> bytes of memory free. This is not true. This number specifies that <em>54144</em> bytes are not used for anything. To get amount of memory that is free for use by programs, you need to look at the number below <em>54144</em>. In this case <em>15393748</em> bytes is available memory for use by programs.</p>
<p>In Linux, unused memory is used for disk caching to speed things up. In the above example, when system attempts to load program into memory, chunk of disk cache is freed up so program can load.</p>
<p>So, in the above, the system has in reality 93% of memory available for programs.</p>
<p>Sometimes this might be a little confusing for newcomers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/unixpowered/2012/02/28/is-linux-really-out-of-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flashing firmware on SunFire T2000</title>
		<link>http://www.unixpowered.com/unixpowered/2012/01/20/flashing-firmware-on-sunfire-t2000/</link>
		<comments>http://www.unixpowered.com/unixpowered/2012/01/20/flashing-firmware-on-sunfire-t2000/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 15:14:25 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[alom]]></category>
		<category><![CDATA[openboot]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris tips]]></category>
		<category><![CDATA[sun hardware]]></category>

		<guid isPermaLink="false">http://www.unixpowered.com/unixpowered/?p=880</guid>
		<description><![CDATA[Not so long ago I had to flash firmware on SunFire T2000. It&#8217;s not a complicated thing. I need to do something with Service Controller and in the process I found out that there is no scadm utility on T2000. Why? I am not completely sure. Maybe someone can chime in. It&#8217;s probably because T2000 [...]]]></description>
			<content:encoded><![CDATA[<p>Not so long ago I had to flash firmware on SunFire T2000. It&#8217;s not a complicated thing. </p>
<p>I need to do something with Service Controller and in the process I found out that there is no <em>scadm</em> utility on T2000. Why? I am not completely sure. Maybe someone can chime in. It&#8217;s probably because T2000 runs ALOM CMT which is not the same as ALOM.</p>
<p>Anyway, there are two methods of doing all this. You can use SC&#8217;s <em>flashupdate</em> command to grab firmware off an FTP server. Unfortunately I did not have Net management port hooked up, only serial. Long story&#8230;</p>
<p>I had to transfer the firmware archive to the server and then, using included utility upload it to System Controller and perform firmware flashing.</p>
<p>Before starting note your current firmware version by logging into System Controller:</p>
<p><code>sc> <strong>showhost</strong><br />
Sun-Fire-T2000 System Firmware 6.3.9&nbsp;&nbsp;2007/08/16 23:53<br />
Host flash versions:<br />
&nbsp;&nbsp;&nbsp;Hypervisor 1.3.4 2007/03/28 06:03<br />
&nbsp;&nbsp;&nbsp;OBP 4.25.8 2007/08/16 10:59<br />
&nbsp;&nbsp;&nbsp;POST 4.25.8 2007/08/16 11:26</code></p>
<p>Start by transferring the firmware archive to the server and unzipping it:</p>
<p><code>bash-3.00# <strong>ls</strong><br />
139434-09<br />
bash-3.00# <strong>cd 139434-09</strong><br />
bash-3.00# ls<br />
139434-09.html<br />
Install.info<br />
LEGAL_LICENSE.TXT<br />
Legal<br />
README.139434-09<br />
Sun_Fire_T2000_metadata.xml<br />
Sun_System_Firmware-6_7_12-SPARC_Enterprise_T2000.bin<br />
Sun_System_Firmware-6_7_12-Sun_Fire_T2000.bin<br />
copyright<br />
sysfwdownload<br />
sysfwdownload.README</code></p>
<p>Using included <em>sysfwdownload</em> utility upload the firmware to System Controller. This takes roughly 15-20 minutes.</p>
<p><code>bash-3.00# <strong>./sysfwdownload Sun_System_Firmware-6_7_12-Sun_Fire_T2000.bin</strong><br />
&nbsp;<br />
.......... (9%).......... (18%).......... (27%).......... (37%).......... (46%).......... (55%).......... (64%).......... (74%).......... (83%).......... (92%)......... (100%)<br />
&nbsp;<br />
Download completed successfully.<br />
bash-3.00# </code></p>
<p>At this point firmware is on System Controller. Now you need to shut down the system. </p>
<p><code>bash-3.00# <strong>shutdown -g0 -y -i0</strong></code></p>
<p>Power down the system from SC console and proceed with firmware flashing. </p>
<p><code>{8} ok sc> poweroff<br />
Are you sure you want to power off the system [y/n]?&nbsp;&nbsp;<strong>y</strong><br />
sc><br />
SC Alert: SC Request to Power Off Host.<br />
&nbsp;<br />
SC Alert: Host system has shut down.</code></p>
<p>Next, make sure keyswitch is set to <em>NORMAL</em>. If it is set to <em>LOCKED</em> you will not be able to flash the firmware or send <em>STOP-A</em> to the system. If keyswitch is set to <em>NORMAL</em> start actual flashing process using <em>flashupdate</em> command:</p>
<p><code>sc> <strong>showkeyswitch</strong><br />
Keyswitch is in the NORMAL position.<br />
sc> <strong>flashupdate -s 127.0.0.1</strong><br />
&nbsp;<br />
SC Alert: System poweron is disabled.<br />
.............................................................<br />
.............................................................<br />
............................................................<br />
&nbsp;<br />
Update complete. Reset device to use new software.<br />
&nbsp;<br />
SC Alert: SC firmware was reloaded</code></p>
<p>At this point firmware is flashed. You still have to reset SC so it loads the new firmware:</p>
<p><code>sc> <strong>resetsc</strong><br />
Are you sure you want to reset the SC [y/n]?&nbsp;&nbsp;<strong>y</strong><br />
User Requested SC Shutdown<br />
&nbsp;<br />
ALOM&nbsp;BOOTMON&nbsp;v1.7.11<br />
ALOM&nbsp;Build&nbsp;Release:&nbsp;001<br />
Reset&nbsp;register:&nbsp;00000000<br />
&nbsp;<br />
ALOM&nbsp;POST&nbsp;1.0<br />
&nbsp;<br />
&nbsp;<br />
Dual&nbsp;Port&nbsp;Memory&nbsp;Test,&nbsp;PASSED.<br />
&nbsp;<br />
TTY&nbsp;External&nbsp;-&nbsp;Internal&nbsp;Loopback&nbsp;Test<br />
TTY&nbsp;External&nbsp;-&nbsp;Internal&nbsp;Loopback&nbsp;Test,&nbsp;PASSED.<br />
&nbsp;<br />
TTYC&nbsp;-&nbsp;Internal&nbsp;Loopback&nbsp;Test<br />
TTYC&nbsp;-&nbsp;Internal&nbsp;Loopback&nbsp;Test,&nbsp;PASSED.<br />
&nbsp;<br />
TTYD&nbsp;-&nbsp;Internal&nbsp;Loopback&nbsp;Test<br />
TTYD&nbsp;-&nbsp;Internal&nbsp;Loopback&nbsp;Test,&nbsp;PASSED.<br />
&nbsp;<br />
Memory&nbsp;Data&nbsp;Lines&nbsp;Test<br />
Memory&nbsp;Data&nbsp;Lines&nbsp;Test,&nbsp;PASSED.<br />
&nbsp;<br />
Memory&nbsp;Address&nbsp;Lines&nbsp;Test<br />
&nbsp;&nbsp;Slide&nbsp;address&nbsp;bits&nbsp;to&nbsp;test&nbsp;open&nbsp;address&nbsp;lines<br />
&nbsp;&nbsp;Test&nbsp;for&nbsp;shorted&nbsp;address&nbsp;lines<br />
Memory&nbsp;Address&nbsp;Lines&nbsp;Test,&nbsp;PASSED.<br />
&nbsp;<br />
Boot&nbsp;Sector&nbsp;FLASH&nbsp;CRC&nbsp;Test<br />
Boot&nbsp;Sector&nbsp;FLASH&nbsp;CRC&nbsp;Test,&nbsp;PASSED.<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
Return&nbsp;to&nbsp;Boot&nbsp;Monitor&nbsp;for&nbsp;Handshake<br />
ALOM&nbsp;POST&nbsp;1.0<br />
&nbsp;&nbsp;&nbsp;Status&nbsp;=&nbsp;00007fff<br />
&nbsp;<br />
Returned&nbsp;from&nbsp;Boot&nbsp;Monitor&nbsp;and&nbsp;Handshake<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
Loading&nbsp;the&nbsp;runtime&nbsp;image...&nbsp;VxWorks&nbsp;running.<br />
&nbsp;<br />
Starting&nbsp;Advanced&nbsp;Lights&nbsp;Out&nbsp;Manager&nbsp;CMT&nbsp;v1.7.11<br />
&nbsp;<br />
Copyright&nbsp;(c)&nbsp;2010,&nbsp;Oracle&nbsp;and/or&nbsp;its&nbsp;affiliates.&nbsp;All&nbsp;rights&nbsp;reserved.<br />
Current&nbsp;mode:&nbsp;NORMAL<br />
Attaching&nbsp;network&nbsp;interface&nbsp;lo0...&nbsp;done.<br />
Attaching&nbsp;network&nbsp;interface&nbsp;motfec0....&nbsp;done.<br />
Booting&nbsp;from&nbsp;Segment&nbsp;0<br />
&nbsp;<br />
&nbsp;<br />
Oracle&nbsp;Advanced&nbsp;Lights&nbsp;Out&nbsp;Manager&nbsp;CMT&nbsp;v1.7.11<br />
&nbsp;<br />
&nbsp;<br />
SC&nbsp;Alert:&nbsp;SC&nbsp;System&nbsp;booted.<br />
&nbsp;<br />
&nbsp;<br />
Full&nbsp;VxDiag&nbsp;Tests<br />
&nbsp;<br />
BASIC&nbsp;TOD&nbsp;TEST<br />
&nbsp;&nbsp;Read&nbsp;the&nbsp;TOD&nbsp;Clock:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TUE&nbsp;NOV&nbsp;22&nbsp;22:04:15&nbsp;2011<br />
&nbsp;&nbsp;Wait,&nbsp;1&nbsp;-&nbsp;3&nbsp;seconds<br />
&nbsp;&nbsp;Read&nbsp;the&nbsp;TOD&nbsp;Clock:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TUE&nbsp;NOV&nbsp;22&nbsp;22:04:17&nbsp;2011<br />
BASIC&nbsp;TOD&nbsp;TEST,&nbsp;PASSED<br />
&nbsp;<br />
ETHERNET&nbsp;CPU&nbsp;LOOPBACK&nbsp;TEST<br />
&nbsp;&nbsp;50&nbsp;BYTE&nbsp;PACKET&nbsp;&nbsp;&nbsp;-&nbsp;a&nbsp;0&nbsp;in&nbsp;field&nbsp;of&nbsp;1's.<br />
&nbsp;&nbsp;50&nbsp;BYTE&nbsp;PACKET&nbsp;&nbsp;&nbsp;-&nbsp;a&nbsp;1&nbsp;in&nbsp;field&nbsp;of&nbsp;0's.<br />
&nbsp;&nbsp;900&nbsp;BYTE&nbsp;PACKET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&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;PASSED<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MPC885&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;PASSED<br />
&nbsp;<br />
&nbsp;<br />
Please&nbsp;login:</code></p>
<p>After logging in make sure SC is running new version of firmware:</p>
<p><code>sc>&nbsp;<strong>showhost</strong><br />
Sun-Fire-T2000&nbsp;System&nbsp;Firmware&nbsp;6.7.12&nbsp;&nbsp;2011/07/06&nbsp;20:03<br />
&nbsp;<br />
Host&nbsp;flash&nbsp;versions:<br />
&nbsp;&nbsp;&nbsp;OBP&nbsp;4.30.4.d&nbsp;2011/07/06&nbsp;14:29<br />
&nbsp;&nbsp;&nbsp;Hypervisor&nbsp;1.7.3.c&nbsp;2010/07/09&nbsp;15:14<br />
&nbsp;&nbsp;&nbsp;POST&nbsp;4.30.4.b&nbsp;2010/07/09&nbsp;14:24</code></p>
<p>That&#8217;s it, now you can poweron the system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/unixpowered/2012/01/20/flashing-firmware-on-sunfire-t2000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to access console login prompt from ALOM</title>
		<link>http://www.unixpowered.com/unixpowered/2011/12/13/unable-to-access-console-login-prompt-from-alom/</link>
		<comments>http://www.unixpowered.com/unixpowered/2011/12/13/unable-to-access-console-login-prompt-from-alom/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 09:19:50 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[alom]]></category>
		<category><![CDATA[openboot]]></category>
		<category><![CDATA[smf]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris tips]]></category>
		<category><![CDATA[sun hardware]]></category>

		<guid isPermaLink="false">http://www.unixpowered.com/unixpowered/?p=869</guid>
		<description><![CDATA[Not so long ago, I logged into System Controller of SunFire T2000 running Solaris 10 and tried to access server&#8217;s console. For some reason, usual console command did not work. It simply did not return anything. I figured maybe something was stuck, so I reset System Controller and tried again. Again, I got nothing, which [...]]]></description>
			<content:encoded><![CDATA[<p>Not so long ago, I logged into System Controller of <a title="SunFire T2000" href="http://docs.oracle.com/cd/E19076-01/t2k.srvr/index.html" target="_blank">SunFire T2000</a> running Solaris 10 and tried to access server&#8217;s console. For some reason, usual <em>console</em> command did not work. It simply did not return anything.</p>
<p>I figured maybe something was stuck, so I reset System Controller and tried again. Again, I got nothing, which was strange, because usually couple of &#8216;Enters&#8217; bring up console login prompt.</p>
<p>This had worked before so I knew there was not some configuration issue elsewhere. I vaguely remembered that I had a similar issue in Solaris 9. If you look at <em>/etc/inittab</em> on Solaris 9 and prior you will see something like this:</p>
<p><code>co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T sun -d /dev/console -l console -m ldterm,ttcompat</code></p>
<p>Killing <em>ttymon</em> process would cause init respawn it again in specified run-levels. This fixed my problem then. On Solaris 10 it&#8217;s different. Console login prompt is handled by <acronym title="Service Management Facility">SMF</acronym>: </p>
<p><code>bash-3.00# <strong>svcs -a | grep console-login</strong><br />
online&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;14:41:04 svc:/system/console-login:default</code></p>
<p>So, restarting <em>svc:/system/console-login:default</em> should fix the issue:</p>
<p><code>bash-3.00# <strong>svcadm restart svc:/system/console-login:default</strong></code></p>
<p>Now you should be able to get console login prompt from ALOM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/unixpowered/2011/12/13/unable-to-access-console-login-prompt-from-alom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZFS and swapping</title>
		<link>http://www.unixpowered.com/unixpowered/2011/11/15/zfs-and-swapping/</link>
		<comments>http://www.unixpowered.com/unixpowered/2011/11/15/zfs-and-swapping/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 10:19:27 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris tips]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://www.unixpowered.com/unixpowered/?p=863</guid>
		<description><![CDATA[ZFS is great. Obviously. Generally when I do a server I install system on UFS and then mirror disks with SVM. I keep data and apps on ZFS. That&#8217;s nice, especially if ZFS is on a SAN. If something happens with the server I can move ZFS pools to a different server, if necessary. The [...]]]></description>
			<content:encoded><![CDATA[<p>ZFS is great. Obviously. Generally when I do a server I install system on UFS and then mirror disks with <acronym title="Solaris Volume Manager">SVM</acronym>. I keep data and apps on ZFS. That&#8217;s nice, especially if ZFS is on a SAN. If something happens with the server I can move ZFS pools to a different server, if necessary.</p>
<p>The server build process is just a preference. You can easily install Solaris 10 on ZFS and be done with it.</p>
<p>Not so long ago I ran into situation, where I needed to add some swap. For various reasons I did not want to shuffle slicing on system disks while system is running. Nor could I add a swap file on one of UFS filesystems. So The last option I had was to use one of the zpools:</p>
<p><code>bash-3.00# <strong>zpool status</strong><br />
&nbsp;&nbsp;pool:&nbsp;dudespool<br />
&nbsp;state:&nbsp;ONLINE<br />
&nbsp;scrub:&nbsp;none&nbsp;requested<br />
config:<br />
&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STATE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;READ&nbsp;WRITE&nbsp;CKSUM<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dudespool&nbsp;&nbsp;&nbsp;ONLINE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mirror-0&nbsp;&nbsp;ONLINE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c2t1d0&nbsp;&nbsp;ONLINE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c2t2d0&nbsp;&nbsp;ONLINE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;<br />
errors:&nbsp;No&nbsp;known&nbsp;data&nbsp;errors</code></p>
<p>I was going to create a file to use it as swap area: </p>
<p><code>bash-3.00# <strong>cd /dudespool</strong><br />
bash-3.00# <strong>mkfile 50M swap</strong><br />
bash-3.00# <strong>swap -a /dudespool/swap</strong><br />
"/dudespool/swap" may contain holes - can't swap on it.</code></p>
<p>So that was that. As it turns out, ZFS can not be used for swap files. You have to create zvol and swap on that.</p>
<p><code>bash-3.00# <strong>zfs create -V 50M dudespool/swapvol</strong><br />
bash-3.00# <strong>swap -a /dev/zvol/dsk/dudespool/swapvol</strong><br />
bash-3.00# <strong>swap -l</strong><br />
swapfile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dev&nbsp;&nbsp;swaplo&nbsp;blocks&nbsp;&nbsp;&nbsp;free<br />
/dev/md/dsk/d10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;85,10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8&nbsp;1220928&nbsp;1220928<br />
/dev/zvol/dsk/dudespool/swapvol&nbsp;181,1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8&nbsp;102392&nbsp;102392</code></p>
<p>There is more info on the net, just google it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/unixpowered/2011/11/15/zfs-and-swapping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

