NachoTech Blog

Tech tidbits that have crunch!

Enabling Linux KVM virtualization on RHEL5.4

There’s not too much documentation out there on how to go about enabling Kernel Virtual Machines on RHEL5.4 (even though it’s one of the new features of RHEL5.4). Maybe this will help someone else. This is the list of RPMs (from the RHEL DVD) I had to install to make it work on my machine:

rpm -ivh etherboot-zroms-kvm-5.4.4-10.el5.x86_64.rpm
rpm -ivh kmod-kvm-83-105.el5.x86_64.rpm
rpm -ivh celt051-0.5.1.3-0.el5.x86_64.rpm
rpm -ivh log4cpp-1.0-4.el5.x86_64.rpm
rpm -ivh qpixman-0.13.3-4.el5.x86_64.rpm
rpm -ivh qcairo-1.8.7.1-3.el5.x86_64.rpm
rpm -ivh qffmpeg-libs-0.4.9-0.15.20080908.el5.x86_64.rpm
rpm -ivh qspice-libs-0.3.0-39.el5.x86_64.rpm
rpm -ivh kvm-83-105.el5.x86_64.rpm
rpm -ivh cyrus-sasl-md5-2.1.22-5.el5.x86_64.rpm
rpm -ivh iscsi-initiator-utils-6.2.0.871-0.10.el5.x86_64.rpm
rpm -ivh bridge-utils-1.1-2.x86_64.rpm
rpm -ivh kvm-qemu-img-83-105.el5.x86_64.rpm
rpm -ivh gnome-python2-gnomekeyring-2.16.0-3.el5.x86_64.rpm
rpm -ivh gtk-vnc-0.3.8-3.el5.x86_64.rpm
rpm -ivh gtk-vnc-python-0.3.8-3.el5.x86_64.rpm
rpm -ivh xen-libs-3.0.3-94.el5.x86_64.rpm
rpm -ivh xen-devel-3.0.3-94.el5.x86_64.rpm
rpm -ivh libvirt-0.6.3-20.el5.x86_64.rpm
rpm -ivh virt-viewer-0.0.2-3.el5.x86_64.rpm
rpm -ivh libvirt-python-0.6.3-20.el5.x86_64.rpm
rpm -ivh python-virtinst-0.400.3-5.el5.noarch.rpm
rpm -ivh virt-manager-0.6.1-8.el5.x86_64.rpm

Then I ran these commands:

chkconfig –levels 2345 haldaemon on
service haldaemon start

Later, to get convirt running, I had to install these additional packages:

kernel-xen-2.6.18-164.el5
xen-3.0.3-94.el5
gpg-pubkey-32a349c9-493c185a
socat-1.6.0.1-1.el5.rf
tunctl-1.5-2.el5
python-crypto-2.0.1-13.1.el5.kb.1
python-paramiko-1.7.4-1.el5
convirt-1.1-1.fedora

Internet Telcel Amigo 3G Scam

no amigo!

¿Quién es tu verdadero amigo?

Recently, I became a Telcel Amigo Plan customer, and one of the reasons was that they offer the ability to purchase packages of Internet service on a daily, weekly or monthly basis. I don’t need a full month of service, just occasional use of 3G when I’m away from my WIFI network. So this sounded perfect to me — I could just order the “Internet 1 dia” package to get 24 hours or 100MB of 3G Internet access for just $49.00 MXN pesos. Well, life is only perfect in paradise…

[Read the rest of this entry...]

WordPress Blog PermaLinks Hacked by “ElijahHastings65″!

This morning, I discovered that all of my permalinks (e.g. http://blog.nachotech.com/?p=119) were broken. When the permalinks were used, they would redirect to a URL that was partially correct, but had some extra code added to the end. Here’s what I would see on the end of the URLs:

/wordpress %&evalbase64_decode_SERVERHTTP_REFERER.+&%/

This seems harmless, but it breaks all the permalinks (which is the main way people visit my site, since that’s what Google shows.)
[Read the rest of this entry...]

Opening firewall ports for iLO

If you want to access an iLO behind a firewall, there are some TCP ports that need to be opened on the firewall to allow all iLO traffic to flow through.  Here is a list of the default ports used by iLO, but these can be modified on iLO’s Administration… Access… Services… tab.

[Read the rest of this entry...]

iPhone 3GS Tethering with Telcel Amigo 3G Plan in Mexico

Telcel 3G tethering on iPhone

UPDATE! 3.1 firmware breaks this – see end of the article for more info

The iPhone 3GS works well with Telcel’s Amigo 3G plan (see my other post on this topic) in Mexico. I wanted to take things a step further and see if I could tether my iPhone to my laptop, which would let my laptop use the iPhone’s 3G internet connection. This would be great for the times when my DSL link goes down or there are no WiFi connections nearby. I discovered that this modification is pretty simple.  You just need to use a custom carrier file (.ipcc) that “turns on” the tethering feature for Telcel.  No need for Cydia or any type of snow!  ;-)

[Read the rest of this entry...]

How to Kill iLO 2 Remote VSP Connections

A new feature crept in unannounced in the recent iLO 2 v1.77 firmware update from HP: You can now kill / terminate Virtual Serial Port (VSP) sessions that are open or hung. This is a very useful when you need to connect to the VSP but you (or someone else) is already connected from another location. (The iLO Virtual Serial Port only allows a single connection at any given time.) [Read the rest of this entry...]

Interpreting (decoding) NMI sources from IML log messages

If you are using the HP health drivers for ProLiant servers (or at least the hp-wdt driver), any system hangs or panics caused by NMI’s (non-maskable interrupts) will be logged to the IML (Integrated Management Log) and can be viewed using iLO. The IML log is on the System Status page of the iLO web interface.

This is great, but the error messages logged are not very user friendly. NMI’s will be logged as Unrecoverable System Errors something like this:
[Read the rest of this entry...]

HP is rebranding iLO as the ProLiant Onboard Administrator

You may have noticed something different in HP’s latest ProLiant G6 server announcements. Something called the HP ProLiant Onboard Administrator that doesn’t have anything to do with blades! For example, this page from HP.COM: HP ProLiant Onboard Administrator
[Read the rest of this entry...]

Update iLO firmware en masse with BladeSystem Onboard Administrator (OA)

This OA command I recently came across works like magic. If you’ve ever done it manually, you know how time consuming it can be to update the iLO (Integrated Lights Out) firmware across multiple ProLiant servers. However, with the BladeSystem Onboard Administrator, it can be accomplished in seconds using a single CLI command to update the iLO firmware on all the server blades within a c-7000 or c-3000 enclosure. There’s more info after the jump… [Read the rest of this entry...]

How to find all the iLO’s on your network


Have you ever forgotten an IP address for an iLO on your network? Do you ever wonder “What’s my iLO IP Address?” Maybe you’re using DHCP, and you’ve added a new server to your network, but you don’t know the IP address of its iLO (and you’re not using dynamic dns – so the iLO ‘toe-tag’ name can’t be used as an alias).

Here is a handy script I wrote to search a local network (using nmap) to find all the iLO’s (HP Integrated Lights-Out adapters). It gives you a list of all the iLO’s found, including their firmware version and server hardware type. It’s a good tool to use when a new iLO firmware version comes out and you need to know which servers need to be updated. [Read the rest of this entry...]