Archive for July, 2008

End of July Misc post.

Thursday, July 31st, 2008

As usual I’m a bit behind in stuff but the excuse this time is that around 6 months ago I started playing chess competitively again ( previously was when I was still at school) so I’ve been spending a bit of time at it. Right now it involves going to the club ( site being redone soon) one evening a week, the odd tournament and some study and practice on sites like this .

I’m now ranked 332nd= in the country but I think with a bit of work I could be in the top 200 in a few months if I keep at it.

Other stuff that is happening is that a proposal for a Sysadmin Miniconf has been submitted to Linux.conf.au 2009 in Hobart. More details to come.

Some links:

A good paper at Usenix 2008 on Handling Flash Crowds from your Garage PDF version with the diagrams .

…and an interesting article on How long will we be trapped in this mobile hell hole? panders to my dislike of mobile applications.

And finally a Watchmen Trailer / Heroes Mashup video:

Barcamp Auckland 2008

Thursday, July 17th, 2008

On Saturday ( 11th July ) I went to Barcamp Auckland 2 over at Botany Downs. Like last year ( which I seem not to have blogged about) it was a 1 day “web technology” orientated unconference organised by Ludwig Wendzich and a group of helpers.

Once again the venue ( Botany Downs Secondary College ) was great although this time around the weather was nasty so things were a bit cold. I also had a headache and queasy stomach so most of the time I felt like this ( although at one point I felt like this , I think the pills had just kicked in ). So my concentration skills weren’t on their best.

So here is a list of stuff I went to, the programme doesn’t seem to be online anywhere so things are a little spares wrt names, titles and the like. Most of the talks were fairly informal with a lot of audience participation. I have an idea for a website so I went along to a couple of the more commercial talks.

Productivity

A talk from Ben Young followed by a bit of a round table about productivity. The usual stuff like only checking your email now and then and otherwise trying to avoid interruptions plus a few other ideas about.

Suggested Tools: GoTo Meeting , Kayako , OTRS

Advertising

A great overview by Regan from throng ( NZ TV website) about their experiences with advertising and making money from their site. He discussed the various text ads, textlink ads, Video Ads ( recommended Unruly Media ) and affiliate programmes.

Good discussion from others in the room including one guy who is getting 20% clickthoughs on google ads(!). There was also some discussion about getting New Zealand ads onto smaller sites. It sounds like some people are talking about an ad network for independent publishers.

Frontend Performance, Yslow etc

I organised a little session ( with a 5 minute’s notice) about the Best Practices for Speeding Up Your Web Site stuff that has been big for the last year or so and experiences people had had. I can’t say it was a very good session. I didn’t prepare or know the topic backwards so I was pretty disorganised. There was some round table discussion about people’s expediences but I can’t say I was very happy with how it went.

Windows, IE

One of the guys from Microsoft talked about the problem of getting people off IE6 and up to the latest XP service packs. Some 25% of the population are still on IE6 ( another 25% Firefox and around 50% IE7). The idea is to get these people upgraded to secure systems and using standards compliant browsers.

There was also a bit of talk about IE8 and how a good percentage of of sites with “IE hacks” didn’t render nicely anymore because IE8 was now more standards compliant.

SEO

Another session from Ben Young with some general advice of Search Engine optimisation. Lots of good general advice on setting goals, monitoring progress and different areas plus some special sauce on building links in a non-spammy way.

iphone seller

A talk from a guy from Mob about how:

  1. Fly to the US
  2. Buy 15 iphones
  3. Attending technical conference
  4. Fly back to NZ
  5. Unlock and sell iphones
  6. Profit!
  7. Goto 1

Turned into a real business.

Careers

A session of 20 people giving Ludwig Wendzich ( 17 year old main organiser) career advice. More interesting than it sounds.

Other

There was a bunch of other stuff:

  • Ran into the usual suspects and couple of people from back at Telecom
  • Saw Rock Band game.
  • Didn’t see the 5 minute coding competition due to crowd
  • Lunch plus two breaks worth of food served
  • Cute little online app to synchronise stuff, book rooms and see what was happening
  • Around 40 people didn’t show up when others got turned away :(

Other Write ups

END

Kickstart

Monday, July 7th, 2008

My current job involves a wider range of stuff than my previous position. So while I didn’t really deal with hardware at all at Telecom my new job involves everything from the server hardware on up.

As part of that I’m getting my head around some tools to help manage our installations a little bit better with the goal of getting from bare-metal to a “in production” server in around 15 minutes. Several people at the LCA08 Sysadmin Miniconf were at that stage so it seems a good target especially since we have a pretty small team.

So today at home I was playing around with Kickstart a bit. It’s actually fairly easy you just add a few lines of config to the dhcp.conf:

allow booting;
allow bootp;

group { next-server 10.1.1.22; host test4 { hardware ethernet 00:0B:6A:33:B7:36; filename "pxelinux.0"; option host-name "test4"; } }

The IPs above is my DHCP/TFTPD server while I hardcoded the Mac address in the make sure other machines didn’t get in the way.

The TFTP Server was a simple install and I only ended up with a few files:

/memtest86
/pxelinux.0
/centos52
/pxelinux.cfg
/pxelinux.cfg/default
/centos52-initrd
I grabbed the pxelinux.cfg/default file from here while the pxelinux.0 came with the SYSLINUX download.

The memtest86 and centos52 files are just the standard ones that come with the distributions ( they are under /os/i386/images/ in centos ).

Those files enabled me to remote boot memtest86 no problems ( except for my computer need a power cycle between boots in order to network boot correctly).

Next I grabbed a quick mirror of the centos 5.2 ( rsync://mirrors.kernel.org/centos/5.2/os/i386 to be exact ) and this ks.cfg file and that was pretty much it.

I was actually surprised how easy it was. I’ve just done a test install and from power on of an empty system to login prompt on the installed machine it takes just 8 minutes.

The whole process is:

  1. Hardware Boot
  2. Network Boot PXE Image
  3. Boot Centos Kernel/initrd with Kickstart options
  4. Kickstart Downloads packages and installs OS
  5. Reboot
  6. Normal Centos Boot.
  7. Finished

Of course the system has a fairly minimal install since I just used a simple kickstart config. My next stage will probably be to add a few lines at the bottom of the kickstart config to install puppet and from there install additional packages and configure everything.

I think 15 minutes seems a good goal, especially since the work network and machines are faster than what I have at home.

Links: