Decomissioning of an old friend

Posted by Admin on January 13, 2009
IT / 4 Comments

Old Faithful

My friends know that I’ve been a geek for some time.  So much so, in fact, that I made a somewhat decent career out of it.  But I’d like to go back for a moment to the year 2000.   At the time, I was the “new kid” in the IP Engineering group.  I studied and got my MCSE, my CCNA and my mentor, Malcolm, taught me the basics in UNIX.  I learned how the web worked, and set up my first server at home.

Fast forward to a year ago.  I was hosting 79 domains, dedicated Celeron 533 for DNS and my personal e-mail, a PIII500 for hosted mail (RedHat 9), PII350 for Apache (RedHat 7.3), a file server (PIII600 win2k), a firewall on a PII350, a desktop and a lot of heat.  Being that I think VMware is the greatest thing since sliced bread (and I teach the stuff professionally,) it was time to put my money where my mouth was.  I bought an HP XW6200 on eBay for about $400 and built out an ESX server.  Granted, these workstations are not on the VMware HCL for ESX for a number of reasons (the least of which is lack of redundancy and it has SATA controllers), but after a few BIOS tweaks, it’s rock solid.  For the money, you can’t beat it.  There are a lot of them coming off lease right now so it’s time to pounce if you want one.

Moving forward to this post, I’ve virtualized the entire shebang. No redundancy, but hey, it’s not like there was any before!  So now I’ve decommissioned all these old machines and am getting rid of them (as well as the spare parts I was keeping on hand).   I mean, it’s not like this equipment can run Vista (or for that matter, OSX or Ubuntu.)

Inwin Case.  When it ran RedHat 6.2 with no GUI, it was a Celeron 533 with 128MB RAM and two 3com NICs.  For its new life as WinXP, the CPU was changed to a PIII 500, 512MB RAM, a single Netgear NIC, a sound card and an ATI Rage AGP adapter.

This is what prompted me to write this post.  I just built my old faithful RedHat 6.2 server with over 3600 days of service into a WindozeXP machine that I’m passing forward to a friend (There was extensive vacuuming btw.)  .  It’s not fast, but it’s got VLC, Open Office, Firefox and AVG.  Hopefully it will help some young kids get their feet wet.  It’s a bittersweet farewell to that old beast.

Starting and Stopping VMs from the command line in ESX

Posted by Admin on November 24, 2008
Personal / Comments Off on Starting and Stopping VMs from the command line in ESX

The command is: vmware-cmd

So start of by running that to see what your options are, or even you can man vmware-cmd.

OK, so now the juicy stuff:

vmware-cmd /<path to VM directory>/server.vmx getstate
vmware-cmd /<path to VM directory>/server.vmx start
vmware-cmd /<path to VM directory>/server.vmx stop
vmware-cmd /<path to VM directory>/server.vmx stop hard

You get the idea 🙂

Crap gas mileage

Posted by Admin on November 09, 2008
Personal / Comments Off on Crap gas mileage

Last week I was working in the greater London area.  Much like New York City, if you’re staying and working in the city, mass transit is the way to go.  However, last week I was staying and working near Heathrow, which qualifies as suburbia.  While there are buses, it’s nowhere near as efficient and practical as the Tube (or Subway) in the city.

VW Golf TDISo I rented a car.  I was astonished at the gas mileage.  As you can see from the photo – taken when I returned the car to AVIS after a week – I used 5/16 of a tank of gas and got 222 miles.  That would mean roughly 800 miles to a tank!!!  Why is it that I have the same car back home in the USA, and I’m lucky if I squeeze out 370 miles before running out of gas?  And I only get those numbers with cruise controlled highway driving.  The UK mileage was a combination of suburban roads, highway and city driving.

I suppose the key was the fact that it was a diesel engine.  Many places in the USA don’t allow the purchase / registration of diesel powered vehicles due to emissions and health concerns; however, with new catalytic converters, diesel particulate exhaust is drastically reduced… even negligible, compared with gasoline engine exhaust.  We’d be better off overhauling those nasty school buses if we really want to improve air quality.

Then again, what do I know about anything.  After all, I’m sure the petroleum industry wouldn’t want us Americans to be mass consumers of gasoline, right?  I mean, if we all got 2.5 times more miles out of our cars, that wouldn’t be a good thing, right?

I think the proliferation of diesel powered cars in Europe stems from the cost of fuel over there.  For example, in the UK, fuel is sold by the liter.  Diesel was £1.09 a liter.  So at 3.8 liters to the gallon, that would be £4.14 to the gallon, and with the exchange rate £1=$1.59, that’s USD $6.58/Gallon.  No wonder they have more efficient cars than we do.

Repeated Keystrokes with Linux VMs on ESX

Posted by Admin on October 30, 2008
Personal / Comments Off on Repeated Keystrokes with Linux VMs on ESX

It’s a very common problem when using "other" as the operating system type.  As such, ESX doesn’t know what settings to put in the VMX file.  You need to follow a few simple steps to fix this.

For starters, make sure the VM is off, then edit the VMX file.  Go to the bottom and add the following line (mind the syntax and CaSe SeNsItIvItY)

Keyboard.TypematicMinDelay = "2000000"

That’s it!
Save your VMX and start the VM, you should be all set.

-j

Completely reset a Treo 650: the Zero Out Reset

Posted by Admin on October 26, 2008
IT / Comments Off on Completely reset a Treo 650: the Zero Out Reset

If you’re a geek like me, you probably see a qwerty keyboard on a cellphone as something you should have copyrighted back in the 90s so you could be living in a yacht in the Carribbean right now.  Well, we missed out.  At any rate, the point of this post is because I’m now a Blackberry Curve fan (with WiFi and the UMA offered by TMobile) and I have this old Treo650 that’s been collecting dust.  It was faithful and tweakable (allbeit unreliable by poweruser standards).   A friend of mine was in need of a phone and I offered up the old Treo… offer accepted.

It’s easy to wipe the Treo memory, but how do you wipe it so it can’t be recovered by someone with crafty tools?  I admit, while writing this post I googled for about 60 seconds looking for such utilities and didn’t find any.  But I’m sure with a little effort and patience, I could.  There have been several articles on the subject from reputable sources like this one in the Washington Post.  Here’s an excerpt:

[some dude] buys about 300 used cellphones each year from eBay and other sites for training sessions. Though the sellers think they have wiped the devices clean, 80 to 85 percent of the devices still have data intact, Schroader said.

“We’ve recovered everything from complete address books . . . to pictures taken in intimate moments. It’s like, well, I didn’t need to see that,” Schroader said.

The fact that cellphones can give up secrets makes them as valuable to law enforcement as to criminals.

Not that I didn’t trust the friend to whom I am hand-me-down’ing the phone, but hey, how do you securely wipe a Treo650?  Seaching Google only yielded the “factory reset” which is dramatically insufficient.  So once I found the instructions, I figured I’d post them in my blog to help anyone out there who may be trying to do the same.

It’s called the Zero Out Reset.

Go to the Palm website and search for solution ID: 887 in the Knowledge Library entitled: Zero Out Reset.

This procedure will reformat the 650’s internal memory:

  • Connect the HotSync cable (it does not need to be connected to your PC or power).
  • Press and hold the Power button, the Up on the 5-way navigator and the HotSync button, and then simultaneously press and release the RESET button (using the stylus in your mouth if doing it by yourself). Then release the other three buttons.
  • The screen will go blank and appear to be dead for up to ten minutes while your internal memory is being reformatted. Your 650 will then “wake up” and the PalmOne and palm POWERED logos will appear. You will then be prompted to calibrate the touchscreen and set the date & time.

The bottom line: if you merely do a hard reset, the data can be recovered using inexpensive software.