Posts Tagged ‘Thinking’

Closing out the first week: Monit, Mongrel, and MySQL

Friday, August 3rd, 2007

One of the things I’ve realized with this new position is that I am my own worst taskmaster, driving myself to work longer hours in tightly focused stretches of time rarely punctuated by breaks. I suppose on some level that I feel like I need to be even more productive because of the absence of “face-time”, that there is no boss leaning over me making sure that I at least have the appearance of being busy. In contrast, though, I really am enjoying the work and the challenge that it presents, so I often feel that itch in the back of my brain to tray and solve the puzzle before I go to bed.

What have I been working on? Well, half the week was spent training Monit to play nice with Mongrel and I am decently confident that it works as advertised in the test environment. This afternoon we did a test deploy with Capistrano nesting it between Monit stop and start statements and everything appeared to work without a hitch. The challenge we faced with Monit in our environment was that we are unable to actually issue Mongrel starts and stops inside the config file. The solution was to take those statements and drop them into bash scripts, so at the moment I have an kludgey but operational method of fourteen scripts for seven mongrels (one start and one stop). When I get a moment, I plan on cleaning them up and making a single one that executes with variables, ie $ monit-mongrel stop 8001 but at the moment I am epically lazy. If I have the time I would like to figure out what exactly it is about the environment that doesn’t like mongrels being started or stopped inside Monit.

Half of yesterday and all of today I have been pounding my head against a nail studded board trying to get secure replication rolling inside EC2 for our MySQL boxen. The masters and slaves (yes, the developers on the crew with a more PC sensibility have chided me saying that the correct terms are primary and secondary. Fine we can meet in the middle with boss and underling) fire up fine and do what they are supposed to except actually perform replication of any shape, form, or fashion. To pipe them together I went the Stunnel route–could not for the life of me get SSL in MySQL to actually do anything–and I know that something is happening because the moment I issue a SLAVE START; command this shows up in the stunnel logs on the master: 2007.08.03 15:46:10 LOG5[13077:3083316112]: localhost.3306 connected from xx.xx.xx.xx:36769. I’m thinking that possibly it is how I set up the replication account permissions on the master, GRANT REPLICATION SLAVE ON *.* TO ‘replicantsarepeopletoo’@'%.mydomain.com’ IDENTIFIED BY ‘s3KrEtpa5Sw0rd’;. Taking shot in the dark, since I am tunneling the traffic it likely should just be ‘replicantsarepeopletoo’@'localhost’ so when I’m feeling a little less punchy I’m going to take a look at that again but after twelve hours I pretty much hate MySQL and EC2 at the moment.

What I haven’t been doing is taking pictures, writing, reading something other than man pages and long-winded newsgroup threads, and really listening to some of the new albums I just picked up (Nicole Willis & The Soul Investigators – Keep Reachin’ Up and Red Bumb Ball: Rare and Unreleased Rocksteady (1966-1968) are fucking amazing albums though). Hopefully, I’ll find my stride soon and build a sort of groove where I’m not pushing myself so hard that I’m dreaming about how the company abandons it current market focus and I’m forced to look into re-architecting the mongrel cluster for their plans to launch a fried chicken franchise. Yeah, I do need more sleep.

It was my last day.

Sunday, July 29th, 2007

Eight years, that’s how long I was there. I had just graduated college and moved in with Management when I began with the company as a fixed assets analyst–a truly glorious title for an individual whose purpose is to keep track how many chairs, desks, and filing cabinets a company has purchased. I was excited as this was my first job that did not entail lifting, carrying, cutting, welding, machining, or the wearing of steel-toed boots. With the job came more money and we were now able to afford a bed–sleeping on an air mattress for several months was beginning to impact our fledgling engagement–as well as purchase a television and subscribe to cable. We had arrived.

Those years saw our wedding, my starting and finishing graduate school, three apartments, our first home, and our first child. We have had four cats, well five if you count the rescue we had for one tortuous week, a dog, twenty or so fish, countless houseplants, and only one real vacation: our honeymoon. On the job, I became a project coordinator then project manager, which evolved into an Access developer position. When the department I was originally hired into reorganized I found myself in IT as an application and database developer and after the company began downsizing it was a struggle to hold onto my job as a helpdesk support technician and occasional systems administrator, a job I performed for most of my career with them.

It was that position within IT that fueled my love for Microsoft and which, after time, permanently soured me on them and their products. It was on that job that I was given the time to explore Open Source and to foster my devotion for “Free as in speech” software. My general malaise with my daily routine pushed me to design and develop networks and service architectures at home and to pick up side jobs with my meager skills. Without that job, or the good friend who believed in me enough to get me hired, as well as the understanding flexibility of my former boss I would not be walking into my new position as a network administrator tomorrow.

I am thankful for those years. Each one has taught me something about people, life, and myself and it will be odd to awake next morning and not drive those same streets, to sit in that same chair, and have the same conversation about setting print areas in Excel. Yet for all its strangeness it will be exhilarating to see what tomorrow and the next day bring, especially since there will be no office, no hours, no face time. Rather, I will be judged on merit and ability. I look forward to see how my life grows and changes in these years to come.

ummmm…

Thursday, June 28th, 2007

Uh....What?

Not much to report other than the fact that I am pouring over HowTo’s for building and deploying MySQL clusters and chewing up my insides with anxiety over the added wrinkle of tossing them up in to Amazon’s EC2. After some heady and heavy reading on the subject I’m feeling a little bit like Gab’s up there. Hopefully, in the next couple of days I can get something working and maybe, just maybe, I’ll have a quick and dirty How-To of my own posted if all is a resounding success–you can be certain if it isn’t there’ll be a post about it!

ZaReason throws a curveball into my laptop decision making process

Tuesday, June 19th, 2007

I’ve been busily slaving away weighing the pros and cons of System76 and Dell when I stumbled onto ZaReason and they are offering a laptop that seems to good to be true.

  • Display–17″ WXGA LCD display @ 1440×900 pixels
  • Graphics–Intel GMA 950
  • Processor–Core 2 Duo T7200
  • Memory–2 GB (DDR2-667)
  • Hard Drive–100 GB (7200 RPM SATA)
  • Optical Drive–CD-RW / DVD-RW (included)
  • Expansion
    • MMC.SD.MS/Pro slot
    • E-SATA port
    • 4 USB ports total (2 USB ports on each side)
  • Networking–WiFi + Ethernet (both included)
  • OS–Ubuntu 7.04 Feisty Fawn (Gnome)
  • AC Adapters–2
  • Warranty–1 year (included)

Subtotal–$1465.00
UPS Ground–$18.16
CA Sales Tax–$128.19 (no charge if ordering outside CA!)
Total–$1611.35 $1483.16

A quick note with a wicked fast and friendly response assured me that no sales tax would be applied so this laptop really smacks of value to me.  For one, a 17″ screen which will make it much more comfortable to work longer hours and the 100GB 7200 RPM SATA will make life easier sorting and storing my growing library of Gabi pictures.  Now, the graphics is a bit of a downer but seeing as I don’t play games they will likely be more than adequate especially with 2GB of RAM.

Yet again, I find another reason to continue dithering, though I’m really leaning towards this unit.

Dell vs System76 or The baby is drinking my IT budget.

Monday, June 18th, 2007

So here’s my dilemma: I need a new laptop and I have been drooling over the System76 series laptops for a better part of a year now as they were the first Ubuntu OEM and not to mention an independent retailer which goes a long way to tickle my heartstrings. Recently, Dell entered the market and with their clout are able to offer a whole lot of bang for the buck and while their base product selection is limited the options are excellent so here I find myself torn with regards to the value proposition of the purchase.

Below are the specs from each company for the laptop I am looking to buy:

  • Inspiron E1505–$1,578.00 ($1,672.67 S&H and Tax)
    • Processor–Intel® Core™ 2 Duo processor T7200 (4MB Cache/2.00GHz/667MHz FSB)
    • OS–Ubuntu Edition version 7.04
    • LCD Panel–15.4 inch UltraSharp™ Wide Screen SXGA+ Display with TrueLife™ (1400×1050)
    • Memory–2GB DDR2 SDRAM at 667MHZ, 2 DIMM
    • Video Card–256MB NVIDIA® GeForce® Go 7300 TurboCache™
    • Hard Drive–100GB 7200rpm SATA Hard Drive
    • CD/DVD–8X CD/DVD Burner (DVD+/-RW) with double-layer DVD+R write capability
    • Sound–Integrated Audio
    • Wireless–IntelPRO/Wireless 3945a/g
    • Battery–85 WHr 9-cell Lithium Ion Primary Battery
    • Warranty–1Yr Ltd Warranty and Mail-In Service
    • Extra Power–90 Watt Spare AC Adapter
    • Bluetooth–No
  • Serval–$1,859.00 (includes S&H)
    • Processor–Intel® Core™ 2 Duo processor T7200 (4MB Cache/2.00GHz/667MHz FSB)
    • OS–Ubuntu Edition version 7.04
    • LCD Panel–15.4 inch WXGA (1280×800)
    • Memory–2GB DDR2 SDRAM at 667MHZ, 2 DIMM
    • Video Card–256MB NVIDIA® GeForce® Go 7600 VRAM
    • Hard Drive–100GB 5400rpm SATA Hard Drive
    • CD/DVD–8X CD/DVD Burner (DVD+/-RW) with double-layer DVD+R write capability
    • Sound–Integrated Audio
    • Wireless–Intel 802.11 abg
    • Battery–6-cell Lithium Ion Primary Battery
    • Warranty–1Yr Ltd Warranty and Mail-In Service
    • Extra Power–90 Watt Spare AC Adapter
    • Bluetooth–Yes

The difference is about $186 in Dell’s favor but with that savings comes a better screen and faster hard drive furthering the technical gap. In System76′s favor is a wealth of positive reviews about their service and support, largely due to the fact that they are a small company which makes every customer count, the inclusion of a Bluetooth adapter as well as a built in webcam. I find myself torn between personal politics and maximizing the value of my purchase.

Here are the things I am keen on:

  • Big bright screen
  • Large and fast SATA hard drive
  • Plenty of fast RAM
  • 100% compatibility

System76 is guaranteed 100% compatibility and supplies many of the drivers themselves to ensure it. Dell on the other hand, I’m not too sure about. Yes, they are selling Ubuntu laptops but are they 100% compatible? I’ve read some articles about early screw ups with grub which doesn’t give me the warm and fuzzies about either their commitment or capabilities but they seem to be making some sort of an effort with their wiki.

Like the camera I’m giving myself 30 days to sort it out and weigh the pros and cons but I want to know what would you buy and why?

Ass Busting, Guilt Cleansing

Wednesday, June 13th, 2007

I’ve been putting in some crazy hours with side work (cool stuff with Amazon’s EC2 and S3 services which I’ll be posting about soon) and while I see Gabi everyday I feel like I’m just not there enough. That last two nights she has stayed at my folks so I could crank out until the wee hours of the morning–extra sleepless–and I miss her something terrible.  So, to assuage my guilt and give myself some warm and fuzzies, here are some extra cute pictures of her tearing through a bowl of mashed bananas after knocking back four tablespoons of oatmeal and four tablespoons of squash.

Hold that thought.

B-A-N-A-N-A-S! Ba-Ba-Bananas!

See, I can feed myself!

I just love this girl!