<?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>MDLog:/sysadmin &#187; Hardware</title> <atom:link href="http://www.ducea.com/category/hardware/feed/" rel="self" type="application/rss+xml" /><link>http://www.ducea.com</link> <description>The Journal Of A Linux Sysadmin</description> <lastBuildDate>Tue, 13 Jul 2010 02:03:18 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>DRAC IP port numbers</title><link>http://www.ducea.com/2008/11/24/drac-ip-port-numbers/</link> <comments>http://www.ducea.com/2008/11/24/drac-ip-port-numbers/#comments</comments> <pubDate>Mon, 24 Nov 2008 12:49:12 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[dell]]></category> <category><![CDATA[drac]]></category><guid
isPermaLink="false">http://www.ducea.com/?p=440</guid> <description><![CDATA[The DRAC (Dell Remote Access Controller) is an interface card by Dell which provides out-of-band management. The controller has its own processor, memory, battery, network connection, and access to the system bus. Key features include power management, virtual media access and remote console, all available through a supported web browser. This gives system administrators the [...]]]></description> <content:encoded><![CDATA[<p>The <strong>DRAC </strong>(<em>Dell Remote Access Controller</em>) is an interface card by <strong>Dell </strong>which provides <em>out-of-band management</em>. The controller has its own processor, memory, battery, network connection, and access to the system bus. Key features include power management, virtual media access and remote console, all available through a supported web browser. This gives system administrators the ability to configure a machine as if they were sitting at the local console (terminal).</p><p>The DRAC card has several services bound on its dedicated IP; here is the list of the default ports and their usage:</p><ul><li><strong>22 </strong>Secure Shell</li><li><strong>23 </strong>Telnet</li><li><strong>80 </strong>HTTP</li><li><strong>443 </strong>HTTPS</li><li><strong>161 </strong>SNMP (UDP)</li><li><strong>3668 </strong>Virtual Media server</li><li><strong>5869 </strong>Remote racadm server</li><li><strong>5900-5901</strong> Console Redirection</li></ul><p>This list can be useful, if you need to setup <a
href="http://www.ducea.com/2008/08/20/drac-console-redirection-over-a-ssh-tunnel/">port forwarding</a>, or firewall rules while working with DRAC cards. For more, check dell&#8217;s <a
href="http://support.euro.dell.com/support/edocs/software/smdrac3/drac5/om55/en/ug/index.htm" target="_blank">manuals</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2008/11/24/drac-ip-port-numbers/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Dual-Wan routers for ISP failover and loadbalancing</title><link>http://www.ducea.com/2008/11/04/dual-wan-routers-for-isp-failover-and-loadbalancing/</link> <comments>http://www.ducea.com/2008/11/04/dual-wan-routers-for-isp-failover-and-loadbalancing/#comments</comments> <pubDate>Tue, 04 Nov 2008 11:41:11 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[failover]]></category> <category><![CDATA[load_balancing]]></category> <category><![CDATA[router]]></category><guid
isPermaLink="false">http://www.ducea.com/?p=392</guid> <description><![CDATA[We are working on a project to implement ISP failover and loadbalancing for a corporate office. So far, we have looked over some hardware solutions but also software linux based ones. VPN is not a must, but it would be nice to have it also on the same device. Here are the best choices we [...]]]></description> <content:encoded><![CDATA[<p>We are working on a project to implement <strong>ISP failover</strong> and <strong>loadbalancing </strong>for a corporate office. So far, we have looked over some <strong>hardware solutions</strong> but also <strong>software linux based</strong> ones. <em>VPN is not a must</em>, but it would be nice to have it also on the same device. Here are the best choices we looked so far:</p><h3>A. Hardware solutions:</h3><p>1. PePLink Balance <a
href="http://www.peplink.com/" target="_blank">20L/200/300</a><br
/> 2. Netgear <a
href="http://www.netgear.com/Products/VPNandSSL/WiredVPNFirewallRouters/FVX538.aspx" target="_blank">FVX538</a><br
/> 3. Linksys <a
href="http://www.linksys.com/servlet/Satellite?c=L_Product_C2&amp;childpagename=US%2FLayout&amp;cid=1115416833192&amp;pagename=Linksys%2FCommon%2FVisitorWrapper" target="_blank">RV042</a>/<a
href="http://www.linksys.com/servlet/Satellite?c=L_Product_C2&amp;childpagename=US%2FLayout&amp;cid=1115416833289&amp;pagename=Linksys%2FCommon%2FVisitorWrapper" target="_blank">RV082</a><br
/> 4. Xincom <a
href="http://www.xincom.com/products/502/overview.php" target="_blank">Twin WAN Router XC-DPG502</a><br
/> 5. ZyXEL <a
href="http://www.zywall.com/web/product_family_detail.php?PC1indexflag=20040908175941&amp;CategoryGroupNo=4327696E-D248-4212-9CC7-97A5725A2764" target="_blank">ZyWALL 35 UTM</a></p><h3>B. Software solutions:</h3><p>1. Vyatta: <a
href="http://www.vyatta.org/" target="_blank">http://www.vyatta.org/</a><br
/> 2. Endian: <a
href="http://www.endian.com/en/community/" target="_blank">http://www.endian.com/en/community/</a></p><p>If you have a better experience on this we would love to hear your suggestions or previous experiences with such devices and your opinion on what is the best way to implement ISP failover and loadbalancing.</p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2008/11/04/dual-wan-routers-for-isp-failover-and-loadbalancing/feed/</wfw:commentRss> <slash:comments>29</slash:comments> </item> <item><title>DRAC console redirection over a SSH tunnel</title><link>http://www.ducea.com/2008/08/20/drac-console-redirection-over-a-ssh-tunnel/</link> <comments>http://www.ducea.com/2008/08/20/drac-console-redirection-over-a-ssh-tunnel/#comments</comments> <pubDate>Wed, 20 Aug 2008 12:00:13 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Tips & Tricks]]></category> <category><![CDATA[dell]]></category> <category><![CDATA[drac]]></category> <category><![CDATA[ssh]]></category><guid
isPermaLink="false">http://www.ducea.com/?p=306</guid> <description><![CDATA[The Dell Remote Access Controller or DRAC is an interface card by Dell which provides out-of-band management. The controller has its own processor, memory, battery, network connection, and access to the system bus. Key features include power management, virtual media access and remote console, all available through a supported web browser. This gives system administrators [...]]]></description> <content:encoded><![CDATA[<p>The <strong>Dell Remote Access Controller</strong> or <strong>DRAC </strong>is an interface card by <strong>Dell </strong>which provides out-of-band management. <em>The controller has its own processor, memory, battery, network connection, and access to the system bus.</em> Key features include power management, virtual media access and remote console, all available through a supported web browser. This gives system administrators the ability to configure a machine as if they were sitting at the local console (terminal).</p><p>Since the <strong>DRAC </strong>card has its <strong>own IP</strong> separated from the one of the host server it is very common to assign for it a <em>private IP</em>; or even if it has a public IP it might be protected by a corporate firewall, making it very simple to connect from the corporate office, but not from outside. In such cases when you need to connect to the DRAC console from outside a solution is to <strong>tunnel over <acronym
class="uttAcronym" title="Secure Shell">SSH</acronym></strong> your DRAC traffic.</p><p><span
id="more-306"></span>In order for this to work you need to tunnel <span
style="text-decoration: underline;">ports 443 (SSL) and and 5900,5901 (VNC)</span>. This can be achieved with openssh with a command like this:<br
/> <code>ssh -L 443:dracip:443 -L 5900:dracip:5900 -L 5901:dracip:5901 -l user -N ssh_host</code><br
/> or similar from other ssh clients by mapping the respective ports.</p><p>If you would forward just <strong>443</strong>, this will allow you to use the web interface of the DRAC card (and all its features, like power management, etc), but <em>not the remote console redirection</em> (<strong>5900,5901</strong> are needed for the console to work).</p><p>After connecting the ssh tunnel you can just open in your local browser <span
style="text-decoration: underline;">https://localhost/</span> and get the DRAC interface. The console redirection and it will work as expected.</p><p><em>Note</em>: this solution has the limitation that it will work for only one DRAC console. You can tunnel over ssh multiple drac ips on port 443, like for ex:<br
/> - localhost:443 -&gt; dracip1:443<br
/> - localhost:444 -&gt; dracip2:443, etc.<br
/> but the remote console will require the ports 5900, 59001 and thus <em>only one can work at the same time</em>.</p><p>If you are running the DRAC console over a public IP, and you want to reach it from outside directly you will need to open in your firewall connections to the same ports TCP 443, 5900 and 5901.</p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2008/08/20/drac-console-redirection-over-a-ssh-tunnel/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>EV1Servers on Fire!</title><link>http://www.ducea.com/2008/06/02/ev1servers-on-fire/</link> <comments>http://www.ducea.com/2008/06/02/ev1servers-on-fire/#comments</comments> <pubDate>Mon, 02 Jun 2008 14:52:28 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[News from Outside]]></category> <category><![CDATA[datacenter]]></category> <category><![CDATA[dedicated_servers]]></category> <category><![CDATA[servers]]></category><guid
isPermaLink="false">http://www.ducea.com/?p=243</guid> <description><![CDATA[EV1Servers, now part of ThePlanet after last year merger, experienced Saturday afternoon a major downtime on their Huston H1 datacenter: electrical gear shorted, creating an explosion and fire that knocked down three walls surrounding their electrical equipment room. No one was injured and apparently no server damaged or lost. Still they were not allowed to [...]]]></description> <content:encoded><![CDATA[<p><strong>EV1Servers</strong>, now part of <strong>ThePlanet </strong>after last year merger, experienced <em>Saturday afternoon</em> a major downtime on their <strong><em>Huston H1 datacenter</em></strong>: electrical gear shorted, creating an explosion and fire that knocked down three walls surrounding their electrical equipment room. No one was injured and apparently no server damaged or lost. Still they were not allowed to bring up their backup power equipment resulting in (all the datacenter servers being down of course):</p><ul><li>approximately <strong>9,000 servers</strong> and <strong>7,500 clients</strong> were affected</li><li>their own management servers, EV1Severs domain management, and SSL management; also their client management and communication tool ServerCommand was in the same situation;</li><li>ev1servers.net <strong>nameservers </strong>and the H1 <strong>resolvers</strong>: 207.218.192.38 and 207.218.192.39 were down also (affecting other clients that might had those configured). Also the ones with the domain hosted on ev1 infrastructure, even if they had their server up were not functional because of dns problems.</li></ul><p>At this time about 90% of the servers are up, but they are still working to bring up the rest.</p><p>So far, The Planet has been managing the situation as a whole quite well, by addressing the issues in a transparent and also timely manner. ThePlanet/Ev1 support team published updates during this period on their <a
href="http://service-update.theplanet.com/" target="_blank">status page</a> and also on <a
href="http://forums.theplanet.com/index.php?showtopic=90185&amp;st=0" target="_blank">their forum</a>; also phone greetings recordings reported the status of the problem.</p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2008/06/02/ev1servers-on-fire/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Dell BIOS firmware updates on Debian</title><link>http://www.ducea.com/2007/08/27/dell-bios-firmware-updates-on-debian/</link> <comments>http://www.ducea.com/2007/08/27/dell-bios-firmware-updates-on-debian/#comments</comments> <pubDate>Mon, 27 Aug 2007 21:49:45 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[bios]]></category> <category><![CDATA[dell]]></category> <category><![CDATA[firmware]]></category><guid
isPermaLink="false">http://www.ducea.com/2007/08/27/dell-bios-firmware-updates-on-debian/</guid> <description><![CDATA[If you need to upgrade the bios firmware of a Dell system (to fix some bugs or add some enhancements, etc.) and you are not running Windows or RHEL (the systems Dell is officially supporting and providing upgrading solutions) there is still hope. I used to manage some Dell&#8217;s running RHEL and I loved how [...]]]></description> <content:encoded><![CDATA[<p>If you need to upgrade the bios firmware of a Dell system (to fix some bugs or add some enhancements, etc.) and you are not running Windows or <a
href="http://www.redhat.com/rhel/" class="ubernym uttAcronym"><acronym
class="uttAcronym" title="Red Hat Enterprise Linux">RHEL</acronym></a> (the systems Dell is officially supporting and providing upgrading solutions) there is still hope. I used to manage some Dell&#8217;s running <a
href="http://www.redhat.com/rhel/" class="ubernym uttAcronym"><acronym
class="uttAcronym" title="Red Hat Enterprise Linux">RHEL</acronym></a> and I loved how easy it was to run all the firmware updates released by Dell for <a
href="http://www.redhat.com/rhel/" class="ubernym uttAcronym"><acronym
class="uttAcronym" title="Red Hat Enterprise Linux">RHEL</acronym></a>. I always hoped that there will be some a solution for Debian also. And the solution exists, and I will exemplify it bellow by updating the bios of a Dell PowerEdge SC1435 system.</p><p><span
id="more-172"></span><em>NOTE: as always when doing things like BIOS upgrade be extremely careful and don&#8217;t proceed with it if you are not sure what (or why) you are doing it. If something wrong happens and the BIOS update is broken it can make your system unusable. If unsure, check with your Dell support representative before doing this.</em></p><p>Ok, here is the summary of the actions needed:</p><ul><li>we need the <a
href="http://linux.dell.com/libsmbios/main/index.html" target="_blank">libsmbios</a> package installed</li><li>we need to get the bios update file</li><li> we will perform the update and reload the system for this to take place.</li></ul><h3>1. Install the libsmbios package.</h3><p>This step is easy as it is packaged in the debian repository and we can install it with:</p><pre><code>aptitude install libsmbios-bin libsmbios1 libsmbiosxml1</code></pre><p>There are several binaries installed by libsmbios-bin:</p><pre><code>dpkg -L libsmbios-bin
/.
/usr
/usr/bin
/usr/sbin
/usr/sbin/activateCmosToken
/usr/sbin/ascii2enUS_scancode
/usr/sbin/assetTag
/usr/sbin/createUnitTestFiles
<strong>/usr/sbin/dellBiosUpdate</strong>
/usr/sbin/dellLcdBrightness
/usr/sbin/disable_console_redir
/usr/sbin/dumpCmos
/usr/sbin/dumpSmbios
/usr/sbin/getPasswordFormat
<strong>/usr/sbin/getSystemId</strong>
/usr/sbin/isCmosTokenActive
/usr/sbin/probes
/usr/sbin/propertyTag
/usr/sbin/serviceTag
/usr/sbin/smitest
/usr/sbin/stateByteCtl
/usr/sbin/sysid
/usr/sbin/tokenCtl
/usr/sbin/upBootCtl
/usr/sbin/verifySmiPassword
/usr/sbin/wakeupCtl</code></pre><p>We will be using <strong>getSystemId </strong>to get the system ID and <strong>dellBiosUpdate </strong>to perform the actual update.</p><h3>2. Download the BIOS update file</h3><p>We can see in the Dell support site that there is a new bios update version, but the files are not in the format we need&#8230; We first need to find out the <em>system id</em>. For this we run <strong>getSystemID </strong>and the output in my example is:</p><pre><code><strong>getSystemId</strong>
Libsmbios:    0.12.1
System ID:    <strong>0x01EB</strong>
Service Tag:  xxx
Express Service Code: xxx
Product Name: PowerEdge SC1435
BIOS Version: 1.0.0
Vendor:       Dell Inc.
Is Dell:      1</code></pre><p>We can also see the running bios version. In this case it is <em>v1.0.0</em> that is quite old and as we can see in the Dell support site there is a newer version <em>1.1.2</em> released on 4/10/2007 that brings some significant improvements.<br
/> Now where can we find the bios update file in a format we can actually use? We have go to <a
href="http://linux.dell.com/repo/firmware/bios-hdrs/" target="_blank">http://linux.dell.com/repo/firmware/bios-hdrs/</a> and search after our <em>system ID</em>. In my case this returned two bios files:</p><pre><code>system_bios_ven_0x1028_dev_0x01eb_version_1.0.0
system_bios_ven_0x1028_dev_<strong>0x01eb</strong>_version_<strong>1.1.2</strong></code></pre><p><em>Note</em>: as you can see these are in the format: <em>system_bios_ven_0x1028_dev_SYSTEM_ID_version_BIOS_VERSION</em>.<br
/> You need to have the proper system ID for this (not sure what would happen if you try with a different system bios as I was not curious enough to try this out <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ).</p><p>From the appropriate folder download the <strong>bios.hdr</strong> file. In my case this was:<br
/> <code>wget http://linux.dell.com/repo/firmware/bios-hdrs/system_bios_ven_0x1028_dev_0x01eb_version_1.1.2/bios.hdr</code></p><h3>3. Perform the BIOS update</h3><p>We will need first to load a kernel module (<a
href="http://linux.dell.com/libsmbios/main/dell_drivers.html" target="_blank"><strong>dell_rbu</strong></a>) that is required by <strong>libsmbios </strong>for BIOS updates. This exists in debian default kernels (if you are running a vanilla kernel you only need to compile it as a module as it is included in the standard linux kernel starting with Linux 2.6.14):</p><pre><code>modprobe dell_rbu</code></pre><p>(you will not see any output if all is ok). You can check if this was really successful by running lsmod and you should see the module loaded:</p><pre><code><strong>lsmod</strong>
Module                  Size  Used by
dell_rbu               13088  0
firmware_class         15616  1 dell_rbu
...</code></pre><p>And finally we need to run:</p><pre><code>dellBiosUpdate -u -f bios.hdr</code></pre><p>(this from the location you downloaded the bios.hdr file; else add the full path to the bios.hdr file)</p><p>The output will look like:</p><pre><code>dellBiosUpdate -u -f bios.hdr

WARNING: packet updates are not fully tested yet for packet modes v0/v2.
         We recommend that only monlithic updates be used at this point.
         You should only use packet mode on v0/v2 systems if you know what you are
         doing (for example, testing.)

Forcing MONOLITHIC mode...

Supported RBU type for this system: (MONOLITHIC, PACKET)
Using RBU v2 driver. Initializing Driver.
Setting RBU type in v2 driver to: MONOLITHIC (FORCED)
Prep driver for data load.
Writing RBU data (4096bytes/dot): .................................................................................................................................................................................................................................................................
Notify driver data is finished.
Activate CMOS bit to notify BIOS that update is ready on next boot.
Update staged sucessfully. BIOS update will occur on next reboot.
</code></pre><p>That&#8217;s it. You need to reboot your system in order to complete this. Once the system is rebooted it will first perform the bios update and then continue to load the system.</p><p>After the reboot my example system was showing:</p><pre><code>getSystemId
Libsmbios:    0.12.1
System ID:    0x01EB
Service Tag:  xxx
Express Service Code: xxx
Product Name: PowerEdge SC1435
BIOS Version: <strong>1.1.2</strong>
Vendor:       Dell Inc.
Is Dell:      1</code></pre><p><strong>Conclusion</strong>: hopefully other debian/ubuntu users will find this information useful while running Debian on Dell systems. Personally, I have seen one other method described by Felix Schwarz in his doc &#8220;<a
href="http://www.felix-schwarz.name/Flashing_a_Dell_Bios_with_Linux_(en)" target="_blank">Flashing a Dell Bios with Linux</a>&#8221; but this will require to boot using a boot floppy image to flash the bios and normally this will require direct access to the system or at least a remote console. The above method can be performed remotely and doesn&#8217;t require anything special besides a ssh connection.</p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2007/08/27/dell-bios-firmware-updates-on-debian/feed/</wfw:commentRss> <slash:comments>39</slash:comments> </item> <item><title>What is the most powerful server we can rent from a datacenter?</title><link>http://www.ducea.com/2006/07/21/what-is-the-most-powerful-server-we-can-rent-from-a-datacenter/</link> <comments>http://www.ducea.com/2006/07/21/what-is-the-most-powerful-server-we-can-rent-from-a-datacenter/#comments</comments> <pubDate>Fri, 21 Jul 2006 12:36:52 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[Hardware]]></category><guid
isPermaLink="false">http://www.ducea.com/2006/07/21/what-is-the-most-powerful-server-we-can-rent-from-a-datacenter/</guid> <description><![CDATA[We need more and more powerful hardware for the most demanding applications and for the increasing number of users served. Even so most of the big datacenters will not offer (at least in their standard offer) the top hardware systems that are available to date. Why? well because this might not be economical (they will [...]]]></description> <content:encoded><![CDATA[<p>We need more and more <strong>powerful hardware</strong> for the most demanding applications and for the increasing number of users served. Even so most of the big datacenters will not offer (at least in their standard offer) the top hardware systems that are available to date. Why? well because this might not be economical (they will get their investment in purchasing the server hardware in too much time), or they might have established ongoing deals with hardware manufactures for a high lot of servers (that they received the proper discount of course) and want to finish them first.</p><p><span
id="more-97"></span>The fact is that until yesterday the most powerful hardware that I have seen available on any datacenter I am familiar with, were the <strong>Dual Xeon</strong> CPU (2 x 3.6GHz Intel XEON) and <strong>AMD Dual Opteron</strong> (2 x Dual Core Opteron 265) based servers. No Quad Xeon CPUs nor the Dual Core from Intel was in any offerings I have seen.</p><p>Yesterday <strong>ThePlanet </strong>and <strong>EV1 </strong>announced that they will offer a new line of servers with the <strong>New Intel Woodcrest Processor Technology</strong>:<br
/> <a
target="_blank" href="http://www.theplanet.com/newsroom/release.html?id=20060720">http://www.theplanet.com/newsroom/release.html?id=20060720</a></p><p>The most powerful system is:<img
align="right" src="http://www.ducea.com/images/dellP1950.jpg" /><br
/> <strong>Dell PowerEdge 1950<br
/> (2) Dual Core Intel 5130 Woodcrest Processors</strong><br
/> 2048MB (Fully buffered DIMMS) RAM<br
/> 2 x 250GB SATA II Hard Drive<br
/> 2500GB Bandwidth</p><p><a
target="_blank" href="http://www.dell.com/content/products/productdetails.aspx/pedge_1950?c=us&#038;cs=04&#038;l=en&#038;s=bsd">http://www.dell.com/content/products/productdetails.aspx/pedge_1950?c=us&#038;cs=04&#038;l=en&#038;s=bsd</a></p><p>The servers are powered by the next generation of Dell PowerEdge Servers 1950 (<a
target="_blank" href="http://www.dell.com/content/topics/topic.aspx/global/products/pedge/topics/en/9g_familypage?c=us&#038;cs=555&#038;l=en&#038;s=biz">Dell&#8217;s 9th generation of servers</a>)</p><p>My personal opinion:<br
/> Even if they have chosen to not use SCSI HDDs, it looks very cool, and I can&#8217;t wait to see one such server running&#8230; <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .<br
/> ThePlanet have finally decided to <strong>start using 1U rack optimized servers</strong>&#8230; lol&#8230; after offering only tower based servers (P1800, P1600) they have finally learned that space is important <img
src='http://www.ducea.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p><p>Are you aware of more powerful servers available to rent in any major US datacenter? Please let me know so I can add them here if there are others available that I am not aware of.</p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2006/07/21/what-is-the-most-powerful-server-we-can-rent-from-a-datacenter/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Linux tips: How to find out if a your CPU supports HT (Hyper-Threading)?</title><link>http://www.ducea.com/2006/06/23/linux-tips-how-to-find-out-if-a-your-cpu-supports-ht-hyper-threading/</link> <comments>http://www.ducea.com/2006/06/23/linux-tips-how-to-find-out-if-a-your-cpu-supports-ht-hyper-threading/#comments</comments> <pubDate>Fri, 23 Jun 2006 13:01:32 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Tips & Tricks]]></category><guid
isPermaLink="false">http://www.ducea.com/2006/06/23/linux-tips-how-to-find-out-if-a-your-cpu-supports-ht-hyper-threading/</guid> <description><![CDATA[Intel introduced Hyper-Threading Technology (HT) in its line of Xeon processors in 2002. HT Technology enables multiprocessor servers to act as if they had twice as many processors installed. Intel&#8217;s HT Technology allows a single processor to handle two independent sets of instructions at the same time. In essence, HT Technology converts a single physical [...]]]></description> <content:encoded><![CDATA[<p><strong><a
target="_blank" href="http://www.intel.com/">Intel </a></strong>introduced <strong>Hyper-Threading Technology</strong> (<strong>HT</strong>) in its line of <strong>Xeon </strong>processors in 2002. HT Technology enables multiprocessor servers to act as if they had <em>twice as many processors</em> installed. Intel&#8217;s HT Technology allows a single processor to handle two independent sets of instructions at the same time. In essence, HT Technology converts a single physical processor into <em>two virtual processors</em>. Currently HT is present in other Intel CPUs besides the high level Xeons, like <strong>Pentium 4 </strong>(with 800MHz CPU bus speed) or Pentium 4 Extreme Edition and the dual-core Pentium Extreme Edition.<br
/> For more details see Intel&#8217;s site: <a
target="_blank" href="http://www.intel.com/products/ht/hyperthreading_more.htm">http://www.intel.com/products/ht/hyperthreading_more.htm</a></p><p><span
id="more-72"></span>In order to make use of <strong>Hyper-Threading in Linux</strong>, you will need Hyper-Threading enabled in kernel. But how can you find out if your CPU supports HT? We can get the information from our running Linux system about its CPU by looking into /proc. For example, bellow you can see the output taken from a Xeon system:</p><p><code><strong>cat /proc/cpuinfo</strong><br
/> processor       : 0<br
/> vendor_id       : GenuineIntel<br
/> cpu family      : 15<br
/> model           : 4<br
/> model name      : Intel(R) Xeon(TM) CPU 3.20GHz<br
/> stepping        : 3<br
/> cpu MHz         : 3201.940<br
/> cache size      : 2048 KB<br
/> physical id     : 0<br
/> siblings        : 2<br
/> core id         : 0<br
/> cpu cores       : 1<br
/> fdiv_bug        : no<br
/> hlt_bug         : no<br
/> f00f_bug        : no<br
/> coma_bug        : no<br
/> fpu             : yes<br
/> fpu_exception   : yes<br
/> cpuid level     : 5<br
/> wp              : yes<br
/> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss <strong>ht </strong>tm pbe nx lm pni monitor ds_cpl cid cx16 xtpr<br
/> bogomips        : 6404.17</code></p><p>Inside the flags section we are looking for a &#8220;<strong>ht</strong>&#8221; flag. If it is present, this means that the system supports HT.<br
/> Let&#8217;s look on another sample taken from a Pentium4 CPU (the un-needed infos were removed):<br
/> <code>model name      : Intel(R) Pentium(R) 4 CPU 3.20GHz<br
/> cpu MHz         : 3192.092<br
/> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss <strong>ht </strong>tm</code></p><p>Again this system also supports HT. If you don&#8217;t see the HT flag, then your system doesn&#8217;t support HT. Obviously this will not be available on AMD processors as this is an Intel technology (this might not be true anymore with newer AMD CPUs). Here is an example from an AMD Opteon system:<br
/> <code>model name      : AMD Opteron(tm) Processor 242<br
/> cpu MHz         : 1593.326<br
/> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow</code></p><p>If your <strong>CPU supports HT</strong>, then you can take advantage of this technology only if HT support is <strong>enabled in your running kernel</strong>. You can either install a kernel provided by your Linux distribution with HT support (one that has *SMP* inside its name for ex.) or you can compile your own kernel and include HT support.</p><p>Once you are running a HT enabled kernel your should normally see the virtual CPU as a regular extra CPU (you will see 2 CPUs on a single CPU  system, 4 CPUs on a dual processor system, etc.). You can easily check this with:</p><pre><code>cat /proc/cpuinfo</code></pre><p>If you still see only one CPU even after you have installed a HT enabled kernel, then you might want to check:</p><ul><li>HT is not disabled in BIOS.</li><li>APCI is enabled in BIOS.</li></ul>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2006/06/23/linux-tips-how-to-find-out-if-a-your-cpu-supports-ht-hyper-threading/feed/</wfw:commentRss> <slash:comments>29</slash:comments> </item> <item><title>Use lshw (Hardware lister) to get detailed information on the hardware configuration of your Linux system</title><link>http://www.ducea.com/2006/06/03/use-lshw-hardware-lister-to-get-detailed-information-on-the-hardware-configuration-of-your-linux-system/</link> <comments>http://www.ducea.com/2006/06/03/use-lshw-hardware-lister-to-get-detailed-information-on-the-hardware-configuration-of-your-linux-system/#comments</comments> <pubDate>Sat, 03 Jun 2006 11:34:02 +0000</pubDate> <dc:creator>- Marius -</dc:creator> <category><![CDATA[Centos]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Fedora]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[RHEL]]></category> <category><![CDATA[Tools]]></category><guid
isPermaLink="false">http://www.ducea.com/2006/06/03/use-lshw-hardware-lister-to-get-detailed-information-on-the-hardware-configuration-of-your-linux-system/</guid> <description><![CDATA[There are many ways you can find our various information about the hardware configuration of a Linux system. You can get the information directly from /proc, you can use lspci, etc. And if you are using X then there are many ways to show this information in a nice way. Still, I would like to [...]]]></description> <content:encoded><![CDATA[<p>There are many ways you can find our various information about the <strong>hardware configuration of a Linux system</strong>. You can get the information directly from <em>/proc</em>, you can use <em>lspci</em>, etc. And if you are using X then there are many ways to show this information in a nice way. Still, I would like to show you the power of this little tool (<a
target="_blank" href="http://ezix.org/project/wiki/HardwareLiSter"><strong>lshw</strong></a>) that I found very useful if you are using a <acronym
class="uttAcronym" title="Secure Shell">SSH</acronym> connection to the system, and you want to get a quick overview on the hardware details of the system. <strong>LSHW</strong> can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc.</p><p>The installation is really simple, and you can find some details about installing lshw on <a
href="http://www.ducea.com/2006/06/03/install-lshw-on-debian/">Debian</a>, or <a
href="http://www.ducea.com/2006/06/03/install-lshw-on-rhel-fedora-centos/">Rhel</a>, <a
href="http://www.ducea.com/2006/06/03/install-lshw-on-rhel-fedora-centos/">Centos</a>, or <a
href="http://www.ducea.com/2006/06/03/install-lshw-on-rhel-fedora-centos/">Fedora </a>in the small posts I have written for this.<span
id="more-47"></span></p><p>Once you have <strong>lswh </strong>installed on the system the usage is straightforth. Here is the short help listing:</p><pre><code>
Hardware Lister (lshw) - B.02.06
usage: lshw [-format] [-options ...]
lshw -version

-version        print program version (B.02.06)

format can be
-html           output hardware tree as <abbr class="uttInitialism" title="HyperText Markup Language">HTML</abbr>(<a class="ubernym" href="http://www.w3.org/MarkUp/">link</a>)
-xml            output hardware tree as <a href="http://www.w3.org/XML/" class="ubernym uttInitialism"><abbr class="uttInitialism" title="eXtensible Markup Language">XML</abbr></a>
-short          output hardware paths
-businfo        output bus information

options can be
-class CLASS    only show a certain class of hardware
-C CLASS        same as '-class CLASS'
-disable TEST   disable a test (like pci, isapnp, cpuid, etc. )
-enable TEST    enable a test (like pci, isapnp, cpuid, etc. )</code></pre><p>Normally I am using this with the <strong><em>-short</em></strong> parameter to get a quick look on the hardware details of the system. It can output to html, or xml if you want that, and used without any parameters will list full details. Here is a sample output taken from a dual Xeon system, where for the sake of the example I have used the -short parameter:</p><pre><code>lshw -short
H/W path                    Device     Class      Description
=============================================================
system     NCCH-DL
/0                                     bus        NCCH-DL
/0/0                                   memory     128KB BIOS
/0/4                                   processor  Intel(R) Xeon(TM) CPU 3.20GHz
/0/4/b                                 memory     16KB L1 cache
/0/4/d                                 memory     1MB L2 cache
/0/4/f                                 memory     L3 cache
/0/4/7.1                               processor  Logical CPU
/0/4/7.2                               processor  Logical CPU
/0/5                                   processor  Intel(R) Xeon(TM) CPU 3.20GHz
/0/5/c                                 memory     16KB L1 cache
/0/5/e                                 memory     1MB L2 cache
/0/5/10                                memory     L3 cache
/0/5/7.1                               processor  Logical CPU
/0/5/7.2                               processor  Logical CPU
/0/23                                  memory     2GB System Memory
/0/23/0                                memory     512MB DIMM DDR Synchronous
/0/23/1                                memory     512MB DIMM DDR Synchronous
/0/23/2                                memory     512MB DIMM DDR Synchronous
/0/23/3                                memory     512MB DIMM DDR Synchronous
/0/e0000000                            bridge     82875P/E7210 Memory Controller Hub
/0/e0000000/1                          bridge     82875P Processor to AGP Controller
/0/e0000000/1/0                        display    315PRO PCI/AGP VGA Display Adapter
/0/e0000000/1c                         bridge     6300ESB 64-bit PCI-X Bridge
/0/e0000000/1e                         bridge     82801 PCI Bridge
/0/e0000000/1e/9            scsi0      storage    MegaRAID
/0/e0000000/1e/9/1.0.0      /dev/sda   disk       68GB LD0 RAID1 70135R
/0/e0000000/1e/9/1.0.0/1    /dev/sda1  disk       Linux filesystem partition
/0/e0000000/1e/9/1.0.0/2    /dev/sda2  disk       Linux filesystem partition
/0/e0000000/1e/9/1.0.0/3    /dev/sda3  disk       Linux swap / Solaris partition
/0/e0000000/1e/9/1.0.0/4    /dev/sda4  disk       61GB Extended partition
/0/e0000000/1e/9/1.0.0/4/5  /dev/sda5  disk       Linux filesystem partition
/0/e0000000/1e/9/1.0.0/4/6  /dev/sda6  disk       Linux filesystem partition
/0/e0000000/1e/a            eth0       network    82557/8/9 [Ethernet Pro 100]
/0/e0000000/1f                         bridge     6300ESB LPC Interface Controller
/0/e0000000/1f.1                       storage    6300ESB PATA Storage Controller
/0/e0000000/1f.1/0          ide0       bus        IDE Channel 0
/0/e0000000/1f.1/0/0        /dev/hda   disk       149GB WDC WD1600BB-55GUC0
/0/e0000000/1f.1/0/0/1      /dev/hda1  disk       Linux filesystem partition
/0/e0000000/1f.3                       bus        6300ESB SMBus Controller</code></pre><p>If you are using X then you might want to check also the nice  front-end lswh provides (you will need to additionally install the <strong>lshw-gtk</strong> package on debian and <strong>lshw-gui</strong> on <a
href="http://www.redhat.com/rhel/" class="ubernym uttAcronym"><acronym
class="uttAcronym" title="Red Hat Enterprise Linux">RHEL</acronym></a>/Centos/Fedora).</p><p>For more details you can check the lshw project home page:<br
/> <a
target="_blank" href="http://ezix.org/project/wiki/HardwareLiSter">http://ezix.org/project/wiki/HardwareLiSter </a></p>]]></content:encoded> <wfw:commentRss>http://www.ducea.com/2006/06/03/use-lshw-hardware-lister-to-get-detailed-information-on-the-hardware-configuration-of-your-linux-system/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> </channel> </rss>
<!-- Served from: www.ducea.com @ 2010-07-31 16:38:28 by W3 Total Cache -->