I've been running on blogger for awhile without a real domain name. A lot of people I know are running wordpress and seem to like it. I set up a hosted wordpress for Alexa a while back. It definitely looks nicer than blogger and has a lot more features. It's a little easier to add plugins, too.
It's not worth switching unless I get a new domain name. So, I'm now proud to present my new blog: The Cult of Gary.
I've imported all of my blogger articles. There's a new Feedburner feed too, so make sure you update your clients if you're following me! I'll leave the blogger site up for a bit, but I will be shutting it down.
I decided to host my own instead of the hosted option. I wanted to be able to have cookies (for google analytics) and patch any bugs. In particular, there's a nasty Safari one.
I have an EC2 host up that's not doing too much, so my blog is running on an EC2!
Sunday, January 20, 2008
Taking the Wordpress Plunge
Posted by
Gary
at
12:44 PM
0
comments
Links to this post
Labels: ec2
Friday, January 18, 2008
facter -- where to find puppet variables
Posted by
Gary
at
3:03 PM
0
comments
Links to this post
Labels: puppet
Thursday, January 17, 2008
Timecapsule: every Mac house should have one
About two weeks ago, Alexa's parents were ready to take the Mac plunge. Of course, I offered my help. We decided the 20" iMac was the right fit for them. My brothers in law that are still at home both now have laptops, one of them is a MacBook.
Posted by
Gary
at
5:09 AM
0
comments
Links to this post
Wednesday, January 16, 2008
Puppet just made me about 3000% more efficient
I've spent the afternoon playing with puppet. It's brilliant and I wish I would have set it up sooner.
- creates a file called /tmp/hello_world
- makes sure that screen and vim-enhanced
- makes sure ntp is installed, running and configured to start (using the default config)
- makes sure the perforce cli is installed
- make sure snmp is configured the way I like it
- /etc/resolv.conf is configured as I expect it
define snmp_server($community = "public",
$location = "Unknown (edit /etc/snmp/snmpd.conf)",
$contact = "Root (configure /etc/snmp/snmp.local.conf)"
) {
file { "/etc/snmp/snmpd.conf":
ensure => present,
mode => "0644",
owner => "root",
group => "root",
content => template("snmpd.conf.erb"),
}
include snmp_apps
}
class snmp_apps {
package { net-snmp: ensure => installed, }
package { net-snmp-devel: ensure => installed, }
package { net-snmp-utils: ensure => installed, }
service { snmpd:
ensure => true,
enable => true,
subscribe => File["/etc/snmp/snmpd.conf"]
}
}
And this into a snmpd.conf.erb template file in your template directory:
com2sec notConfigUser default
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
view systemview included .1 <%= community %>
access notConfigGroup "" any noauth exact systemview none none
syslocation <%= location %>
syscontact <%= contact %>
Then configure your systems with:
snmp_server { "not used" : community => 'your_commnity', location => 'Springfield', contact => 'root@apple.com' }
Posted by
Gary
at
3:49 PM
0
comments
Links to this post
Labels: puppet, sysadmin practices
MySQL Meetup Last Night
It's a strange world. Last night, I attended my first Vancouver MySQL meetup. This morning, my google reader is filled with news that Sun is buying MySQL.
Posted by
Gary
at
9:18 AM
0
comments
Links to this post
Sunday, January 13, 2008
So this is it
Friday was my last day at the old job. It was a very bitter-sweet day. Eight years, two months is a long time to be anywhere in the IT world, especially since it has been my only real day job.
Posted by
Gary
at
7:33 AM
2
comments
Links to this post
Labels: cfengine, puppet, sysadmin practices
Thursday, January 10, 2008
My Last EC2 Availability Post
Tomorrow is my last day at the current gig, so this will be my last EC2 uptime report. I won't have access to these graphs/machines any longer.
So far, 100% availability of this EC2 dating back to November 27.
Unfortunately, there have been two other incidences with different EC2 hosted machines in the past couple of weeks. One machine rebooted itself. I'm not sure if it crashed or if there was another issue. It came back up fine, other than a few services that weren't configured to start at boot (that's mostly how we knew it rebooted).
Another machine disappeared for about an hour. It wasn't reachable at all -- ping, ssh, etc. When it came back to life, everything was fine. No change in uptime, so it didn't reboot. It was clustered with another EC2, which was fine during the outage, though it also couldn't access the down machine.
We're still in development, so at any one time, we're currently running 6-8 EC2's. With that rate of failure, be sure to back up your data and keep tabs on them with some sort of remote monitoring.
Posted by
Gary
at
10:50 AM
0
comments
Links to this post