Archive for the 'unix / linux' Category

Fun with VMWare

Saturday, May 24th, 2008

Playing around with VMWare Fusion on the Mac tonight.

Fun With VMWare


Running Windows XP, Ubuntu, FreeBSD, NetBSD, and OpenBSD all at the same time, and I still have more than 600M of RAM free.

That was NOT FUN

Tuesday, September 25th, 2007

Early Sunday afternoon, there was apparently a power and/or UPS failure in the datacenter at my office. By 5pm, most of the systems were back up except for one that I’m responsible for.

Fire up the VPN, hit the ILO remote console (one of the few things that makes using x86 systems as servers bearable) and see “Cannot find boot.bin” Uh-oh. I head to the office at 6pm.

It seems that a certain Sun patch turns non-GRUB systems into non-bootable systems after application. There’s a specific set of steps to follow when this patch is installed and a system is “upgraded” to the GRUB bootloader, but apparently Sun’s “smpatch” utility does not follow these steps. The patch had been applied months ago, but the system didn’t get rebooted until the power outage.

I figured “Okay, the system was running Solaris 10 FCS, so its time to do an upgrade install of S10u4 anyway”. After some other problems and workarounds, four hours later, I watch in resignation as the install hangs and locks up (not accepting keyboard input at a Y/N prompt) while trying to install the CPQary package. This package is the drivers that Solaris x86 needs in order to use the hardware RAID built into the Compaq DL360.

I bite the bullet and do a “nuke from orbit” fresh install of S10u4, planning to restore from backups. I ended up having to rebuild most of the services on the box by hand (which was better in the long run, as things needed cleaning up) as our backup system had also been affected by the power outage and it wasn’t available until Monday morning.

To make a long story short, I went to the office at 6pm Sunday, and finally walked out of my office to go home and get some sleep at 10:30am Monday. 16 hours is the longest single shift I’ve ever pulled anywhere, and certainly the longest after-hours session.

I’ve got one more service to restore onto the box on Tuesday, but it’s non-critical and could wait until I got some rest.

I can’t complain - I might have incidents like these once or twice a year, and it’s a lot better than getting called or paged every other day like I was used to at my last job. I really like my job and my managers and coworkers.

In training this week

Wednesday, August 22nd, 2007

I’m out of the office in VMware training this week.

Update: I took pictures of the training facility, mostly to show off the weird artwork in the hallways and the “no smoking” sign right next to an ashtray.

It’s Just Not My Day

Saturday, January 27th, 2007

Went to CompUSA tonight and bought another gig of RAM for the MacBook, intending to upgrade it to a max of 2G (I currently have 1.5G in it).

Got home, installed the RAM, powered up the system - OSX sees all 2G. Great! Then I powered down, put the memory slot cover back on, put the battery back in, and fired everything back up.

BONGNGNGNG

*clunk*
*clunk*
*clunk*

The 60G drive crashed, hard. I needed to take the system in for AppleCare service to get the discolored top plastics replaced, but I wanted to be able to do it on MY schedule and not because other parts of the system had failed as well.

The MacBook has worked fine as my main system for the past week, I wish it hadn’t chosen tonight to kill itself.

update: Instead of dealing with the Galleria Apple Store again, I just called AppleCare and they’re going to send me a postage-paid box to send the system in to them via DHL for repairs. I should have the box tomorrow, and the system will hopefully be back within a week with new top plastics and a new hard drive.

Making do with what’s available

Sunday, May 28th, 2006

I hereby submit my entry for the “Redneck Server Enclosure of the Year” contest, complete with audio, video, and pictures.

Fired up the T1000 tonight

Wednesday, May 3rd, 2006

and boy, is it LOUD. Not just loud, but uncomfortably loud.

My wife is still asleep in bed, so I shut it down before the extended POST finished - so I don’t have any idea yet if it quiets down after boot (like a SB1K does).

I’m going to have to setup a stand for it in my closet and run power and ethernet under the door, it looks like. Leaving it on my desk in the “lab” is right out at this point. They should include earplugs in the country kit (which they forgot with my system - but that just means a power cord, and I’ve got plenty of those around).

Sun T1000 Arrived

Wednesday, May 3rd, 2006

My Sun T1000 server arrived today. I’ll be doing a review of it for the next month and a half, and after that will be migrating it in as the new SunHELP server.

Navel Gazing

Friday, April 21st, 2006

I got Rhapsody DR2 and OpenStep 4.2 running in the Parallels VM on my Intel-based Macintosh.

(OpenStep was the precursor to Rhapsody, which was the precursor to Mac OS X…)

Programming projects..

Monday, April 3rd, 2006

I’m hacking on a system at work to automatically generate network accounts based on employee requests. So far I’ve gotten it authenticating against Active Directory (using adLDAP), and have rebuilt PHP with SQLite support.

Tomorrow I build the majority of the guts of the application and a basic proof-of-concept user interface. Wednesday I’ll automate the actual account creation, by either firing off an Expect script or by using the built-in Expect functions in PHP.

After all that works, I’ll throw the pieces together into a first revision of the production application and put it behind a secure webserver (so passwords don’t get passed in cleartext).

The need for a universal file system format

Sunday, March 12th, 2006

After the past 24 hours, I’ve come to the conclusion that there needs to be a universal file system format that has the same support on all operating systems.

My main “server” system here at the house is a Dell PowerEdge SC420 with a 2.5Ghz Celeron-D CPU, 1G RAM, 160G SATA HD, and GigE. Since I got the machine (for $250 during one of Dell’s CRAAAZY DEALS last year), I’ve been running Fedora Core 4 on it with no problems. On top of FC4, I use rsnapshot to do nightly backups of my colocated server and some client machines.

I decided a few days ago that it was time to ditch FC4 and put Solaris 10 on the machine now that all the hardware is fully supported. First, however, I needed to get my rsnapshot repository off the machine. That was accomplished with a 250G SATA hard drive and a SATA to USB2 adapter with power supply. Now I had my critical data on an ext2-formatted hard drive.

I proceeded to reinstall the Dell with the latest Solaris Express release. I then installed the ext2fs drivers for Solaris 10, and attempted to rsync the data back off the hard drive. Five minutes in, the system wedges hard and requires a reboot.

Okay, so that’s not going to work. I carry the HD and adapter back into the other room, plug it into the Mac, and install ext2fsx. When I try to mount the drive, it complains about a bad superblock. So, a couple hours of forced-fsck_ext2 later, I can mount the drive.

When I try to rsync from the Mac over the network to the Dell, the Mac gripes about filenames on the ext2 partition. Crap. That’s not going to work either, and I don’t have another Linux box to mount the HD on.

It was then that I realized I didn’t *need* another permanent Linux installation. I downloaded Knoppix, booted it on my AMD64 Windows gaming box, then plugged the USB/SATA HD in. It was detected and mounted right up, and has been happily rsync-ing everything back to the Dell/Solaris system for the past couple of hours.

I know that in my situation, having a couple of big disks sitting on an NFS server would have been the easiest way to do things. Others might have suggested FAT32, however my rsnapshot backup repository makes heavy use of UNIX hard links, and would not be “portable” to FAT32.

This all demonstrates the need for a truly portable filesystem that can be easily transported between operating systems without having to use ugly hacks. I’m hoping that ZFS might eventually be the solution, if Sun ports it to Linux as rumored and even maybe OSX.

I’m wondering if it would be usable on single disks, since everything I’ve seen seems to emphasize its mirroring/redundancy and handling of multi-disk pools over its non-dependency on byte endianness and portability between CPU architectures.