<?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>Jason Antman's Blog &#187; proliant</title> <atom:link href="http://blog.jasonantman.com/tags/proliant/feed/" rel="self" type="application/rss+xml" /><link>http://blog.jasonantman.com</link> <description>A general-purpose dump of my thoughts, tips, tricks, and observations on a wide variety of topics - Linux, Free Software, the Internet, IT, EMS, software development, systems administration, and the state of the world.</description> <lastBuildDate>Thu, 01 Jul 2010 15:17:33 +0000</lastBuildDate> <generator>http://wordpress.org/</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>HP Prolaint iLO SSH Problems</title><link>http://blog.jasonantman.com/2009/06/hp-prolaint-ilo-ssh-problems/</link> <comments>http://blog.jasonantman.com/2009/06/hp-prolaint-ilo-ssh-problems/#comments</comments> <pubDate>Fri, 12 Jun 2009 04:52:34 +0000</pubDate> <dc:creator>Jason Antman</dc:creator> <category><![CDATA[Tech HowTos]]></category> <category><![CDATA[ilo]]></category> <category><![CDATA[openssh]]></category> <category><![CDATA[proliant]]></category> <category><![CDATA[ssh]]></category><guid isPermaLink="false">http://blog.jasonantman.com/?p=411</guid> <description><![CDATA[A simple patch to OpenSSH 5.2p1 to fix the Client Disconnect problems with HP iLO firmware.<div class="ezAdsense adsense adsense-leadout" style="text-align:center;margin:12px;"><script type="text/javascript">google_ad_client="pub-6049167767809021";google_ad_slot="8888378867";google_ad_width=336;google_ad_height=280;</script> <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>]]></description> <content:encoded><![CDATA[<p>There&#8217;s a known issue with the SSH implementation in the iLO firmware for HP Proliant servers (specifically G2 and G3) and OpenSSH 5.1p1. There was a <a href="http://marc.info/?l=openssh-unix-dev&#038;m=122095298729858&#038;w=2" onclick="pageTracker._trackPageview('/outgoing/marc.info/?l=openssh-unix-dev_038_m=122095298729858_038_w=2&amp;referer=');">thread</a> on the OpenSSH developers list that referenced this problem and suggested a solution, but it doesn&#8217;t seem to be a sure fix.</p><p>This problem is present on my DL360 G2&#8217;s which are running the 1.84 2006-05-05 version of the iLO firmware (iLO 1.84 pass9) with the P26 2004.05.01 version of the system firmware. I also see the issue on a DL380G3 running iLO 1.92 2008.04.24 and system firmware P29 2004.09.15. The only way that I can reliably get into the iLO is by SSHing from a box with an older version of SSH, such as 4.2p1.</p><p>Most of the things that I could find online referenced unsetting the LANG environment variable:</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">unset</span> LANG</pre></div></div><p> and then SSHing with agent forwarding disabled:</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-a</span> hostname-ilo</pre></div></div><p> Unfortunately this combination doesn&#8217;t seem to do it for me.</p><p>I happened to stumble by <a href="http://www.mail-archive.com/debian-ssh@lists.debian.org/msg00904.html" onclick="pageTracker._trackPageview('/outgoing/www.mail-archive.com/debian-ssh_lists.debian.org/msg00904.html?referer=');">this post</a> to the debian-ssh mailing list, which suggested that shortening the new OpenSSH version string fixed the problem.</p><p>I was able to confirm that the version string is, in fact, the sole problem. I downloaded the source of OpenSSH 5.2p1 and, with the following small patch to version.h, managed to get SSH working to the iLO perfectly:</p><div class="wp_syntax"><div class="code"><pre class="diff" style="font-family:monospace;">--- openssh-patched/version.h   <span style="">2009</span>-06-<span style="">12</span> 00:<span style="">35</span>:<span style="">48.000000000</span> -0400
<span style="color: #888822;">+++ openssh-5.2p1/version.h     <span style="">2009</span>-02-<span style="">22</span> <span style="">19</span>:09:<span style="">26.000000000</span> -0500</span>
<span style="color: #440088;">@@ -<span style="">1</span>,<span style="">6</span> +<span style="">1</span>,<span style="">6</span> @@</span>
 /* $OpenBSD: version.h,v <span style="">1.55</span> <span style="">2009</span>/02/<span style="">23</span> 00:06:<span style="">15</span> djm Exp $ */
&nbsp;
<span style="color: #991111;">-#define SSH_VERSION    &quot;OpenSSH&quot;</span>
<span style="color: #00b000;">+#define SSH_VERSION    &quot;OpenSSH_5.2&quot;</span>
&nbsp;
<span style="color: #991111;">-#define SSH_PORTABLE   &quot;&quot;</span>
<span style="color: #00b000;">+#define SSH_PORTABLE   &quot;p1&quot;</span>
 #define SSH_RELEASE    SSH_VERSION SSH_PORTABLE</pre></div></div></p><p>I patched version.h, ran `./configure`, `make`, and then copied the compiled ssh binary to /usr/bin/ilossh, so that my original ssh binary would be intact, and the ilossh binary would be left alone by RPM upgrades.</p><div class="ezAdsense adsense adsense-leadout" style="text-align:center;margin:12px;"><script type="text/javascript">google_ad_client="pub-6049167767809021";google_ad_slot="8888378867";google_ad_width=336;google_ad_height=280;</script> <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>]]></content:encoded> <wfw:commentRss>http://blog.jasonantman.com/2009/06/hp-prolaint-ilo-ssh-problems/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Managing G1 Proliant Servers with modern Linux</title><link>http://blog.jasonantman.com/2007/03/managing-g1-proliant-servers-with-modern-linux/</link> <comments>http://blog.jasonantman.com/2007/03/managing-g1-proliant-servers-with-modern-linux/#comments</comments> <pubDate>Thu, 01 Mar 2007 21:27:00 +0000</pubDate> <dc:creator>Jason Antman</dc:creator> <category><![CDATA[Tech HowTos]]></category> <category><![CDATA[compaq]]></category> <category><![CDATA[hp]]></category> <category><![CDATA[hpadu]]></category> <category><![CDATA[hpasm]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[management]]></category> <category><![CDATA[proliant]]></category> <category><![CDATA[psp]]></category><guid isPermaLink="false">http://jantman.dyndns.org:10011/wp/?p=10</guid> <description><![CDATA[A short article with detailed instructions on how to manage older G1 Compaq or HP Proliant servers running current Linux distributions. Includes links to the appropriate HPASM and HPADU packages for compatibility with current releases of Linux, specifically OpenSuSE and RedHat / CentOS.]]></description> <content:encoded><![CDATA[<p>Not much of an &#8220;upgrade&#8221; for anyone who&#8217;s in IT, but jasonantman.com is currently being upgraded from old desktops used as servers to a pile of generation-1 (G1) HP/Compaq Proliants. I know that there are utilities for Linux to manage the servers, specifically control fan speed and monitor hardware-level health for Linux. However, the most recent download on HP&#8217;s site is for SLES9. All of my boxes will be running openSuSE 10.2, and the SLES9 version wouldn&#8217;t install on them.</p><p>After an hour long phone call to HP support, I ended up speaking with Paulo, the third support person I was transferred to. #1 read off the web site, #2 knew what Linux was, but Paulo (#3) actually told me that he was experimenting with installing HPASM (HP&#8217;s server administration/management utility) on an older Proliant as well. He spent about half an hour walking me through it. Here&#8217;s what I found:</p><p>The most compatible version of HPASM (I guess it&#8217;s some hidden feature for people who know it) is the version for the DL380 G4. Paulo instructed me to download this RPM from their site. I did, choosing the SLES10 (x86) download (hpasm-7.7.0-115.sles10.i586.rpm). This installed fine. Running <code>hpasm status</code> from the command line asks us to activate it first. Do the activation. Now, running <code>hpasm status</code> still asks us to activate. Paulo confirmed this as happening on his machine too. Try <code>/etc/init.d/hpasm status</code> and you should see that all of the modules are working.</p><p>Now, the install is complete. I&#8217;m not sure if the SNMP works, but it should as long as your snmpd is running. The <code>hpasm activate</code> command modifies snmpd.conf appropriately. and you will be queried for the currect configuration information.</p><p>To give it a test, run <code>hplog -f</code> or <code>hplog -p</code> and you should see fan and power status, respectively.</p><p>Paulo also told me that I could download the hpadu package (also DL380 G4 / SLES10) to get array diagnostics, He warned me that some of the install scripts in HPADU look for the web management homepage, which we haven&#8217;t installed. To get around this, install the HPADU RPM file (hpadu-7.70-12.linux.rpm) <code>rpm -ivh --force --nodeps --noscripts hpadu-7.70-12.linux.rpm</code>. Be aware, though, that this package is supposed to be web-based. It installs to /opt/hp/hpadu.</p><p>The web interface, luckily for me, is written in PHP. It is pretty complex so it might take me a while to figure out the workings, but when I do, I&#8217;ll post as much info as I can on how to make a CLI interface, or where one exists if I can find it.</p><p>Also, I&#8217;ll most likely develop a Python check script to use with <a href="http://www.nagios.org" onclick="pageTracker._trackPageview('/outgoing/www.nagios.org?referer=');">Nagios</a> to monitor most of the hpasm-enabled components.</p><p>For the use of anyone else, here are some of the links that HP Support sent me after the call:</p><p>Link for users guide for Proliant Support Pack, which includes documentation on HPASM from the CLI:</p><p><a href="http://h18000.www1.hp.com/support/files/server/us/WebDoc/720/psp-users-guide.pdf" onclick="pageTracker._trackPageview('/outgoing/h18000.www1.hp.com/support/files/server/us/WebDoc/720/psp-users-guide.pdf?referer=');">http://h18000.www1.hp.com/support/files/server/us/WebDoc/720/psp-users-guide.pdf</a></p><p>Product manuals:</p><p><a href="http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-003&#038;h_lang=en&#038;h_cc=us&#038;h_product=241435&#038;h_page=hpcom&#038;h_client=z-a-r1002-3&#038;cc=us&#038;lang=en" onclick="pageTracker._trackPageview('/outgoing/h20180.www2.hp.com/apps/Nav?h_pagetype=s-003_038_h_lang=en_038_h_cc=us_038_h_product=241435_038_h_page=hpcom_038_h_client=z-a-r1002-3_038_cc=us_038_lang=en&amp;referer=');">http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-003&#038;h_lang=en&#038;h_cc=us&#038;h_product=241435&#038;h_page=hpcom&#038;h_client=z-a-r1002-3&#038;cc=us&#038;lang=en</a></p><p>ML370 G1</p><p><a href="http://h20000.www2.hp.com/bc/docs/support/UCR/SupportManual/TPM_143091-004/TPM_143091-004.pdf" onclick="pageTracker._trackPageview('/outgoing/h20000.www2.hp.com/bc/docs/support/UCR/SupportManual/TPM_143091-004/TPM_143091-004.pdf?referer=');">http://h20000.www2.hp.com/bc/docs/support/UCR/SupportManual/TPM_143091-004/TPM_143091-004.pdf</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.jasonantman.com/2007/03/managing-g1-proliant-servers-with-modern-linux/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 5/12 queries in 0.013 seconds using disk

Served from: mpac.midlandparkambulance.com @ 2010-07-30 10:03:37 -->