| Subscribe via RSS

The Nightmare Before Christmas

November 20th, 2008 | No Comments | Posted in Projects, Thoughts

I guess this is a kind of things to do list with added panic.

  • Documentation (The Consolidation Of)

You see, I actually do write documentation, notes, screenshots, snippets of code etc.
I have no problem at all with this part of my job, I actually quite enjoy it (alarming I know), the problem lies with the fact that I take notes and screen dumps, probably like most people on whichever computer I happen to be on at the time, some stuff goes on an Intranet, some stuff goes on a blog, some stuff goes on Google Docs/Notes and reams of it lives in various folders marked *To Do*, *Sort This* and variations thereof.
I have many tools at my disposal that could help me correct this but the evolution of various projects causes so many changes both major and minor that makes bringing order to this documentation a daunting task. Perhaps a couple of weeks on “Project Freeze” (aside from emergencies) would help.

  • A Similar Chaos Exists On My Hard Drive

You’d think I was the kind of guy that thrived on this kind of disarray.
Nothing could be further from the truth. Just ask my family.
It’s an effort for me not to buy a box of tiny clothes hangers and line up all those Barbie outfits by colour (as well as by category.. casual, dressy).
Don’t get me started on those toys that come from cereal packets.

  • Finish Those Courses

There’s a big push on getting more rich media on Moodle.
Fantastic, just the sort of thing I like to see, as well as going some way to justifying my existence it’s also, on a personal level, immensely satisfying to see people getting a rich and supportive experience from work that I’ve done whether they be staff or student or indeed, anyone.
The problem being (although it’s not really a problem when you have a team - albeit a small one - working on a solution to this) is, as always, time. So, I’m building a course chock full of tutorials on how to create rich content just from the stuff that pretty much just *appears* (or is easily and freely available) on people’s computers.. on Windows/Office, stuff like Movie Maker, Office Picture Manager, Photo Story on Mac.. marvellous things to do with the iLife suite which tends to get ignored a bit when specialist pro-apps are installed and used but iLife is often a quick and easy way of creating rich content from photo slideshows to full on bells and whistles podcasts.
Anyway, this is a nice change of scenery for me and it helps me to help them to help me to help them and all of that other circular stuff that will hopefully be a strong foundation for moving to a more open development model. Forge a stronger communication and bond between all involved in delivering course materials.. I start to get a bit happy clappy from this point so I’m going to move on.
(You should also see the system I’m trying to come up with for booking and tracking loaned equipment, it’s dead geeky and incredibly anal, you’d love it).

  • Buying A Christmas Tree

It’s not that easy is it?
If I lived in Alaska or Norway or somewhere else snowy and tree-like I would pile on my bearskins (or whatever, stereotypes are allowed in fantasy worlds ok?) go out and chop one down and get my pack of tame wolves to drag it back to my cathedral like log cabin, I’d put the thing up and watch my family decorate it whilst I settled down in an astonishingly large chair with an equally large scotch and a couple of chapters of Hemingway.
As it happens we have to go to the garden centre and check that the trees are in fact “tree-tops” and not small trees pulled out of the ground and avoid artificial trees at all costs, even if the label claims that the convenience of these monstrosities genuinely will change my life for the better.

  • ..And Then Some

There’s food shopping, let’s go careful, there’s a credit crunch going on and nobody really likes beetroot anyway. There’s also a whole other bunch of work stuff going on that I am at the very least going to need to be able to sit straight down with in January and crack on with.

It’s Christmas already.
Didn’t you know?

Tags: , , , , , , , , , ,

Static Guests On VMware Fusion

October 30th, 2008 | No Comments | Posted in Projects, Technology

I’m currently trying to build a working model of our future Virtual Learning Environment on VMware Fusion 2, in effect, create an isolated “micro-network” with which to emulate the processes involved in getting various applications to interact with each other, for example: Moodle/Mahara integration, multiple networked Moodles to single Mahara instance with both/all connecting to a dedicated (Virtual) database server (PostreSQL).
VMware Fusion has several options in it’s management GUI for networking but none of them give any obvious indication for setting static IP addresses to guest machines on the internal virtual network.
In order to fix the address of various workstations and servers we need to take a look at using VMware itself as a DHCP server. VMware takes it’s main internet connection from the host machine (in this case the Airport Card of my iMac, I’ll be moving all this to my work MacBook eventually but I’m on my iMac to begin with because let’s face it, my eyes are old and weak).
In order to try out these settings we first need the ethernet hardware information from one of our Virtual Machines (Guests), at the time of writing I have a Windows XP Guest and a Ubuntu Desktop Guest, I’m going to find this information for the Ubuntu Guest. I could do this by firing up the Virtual Machine and running an “ifconfig” from the terminal but that’s going to take too long (I’m twitchy and I want to get my teeth into this right away).

Guest Configuration Information

Open a Finder window and navigate to your Virtual Machines folder, probably /username/Documents/Virtual Machines. Locate the VM package for the guest you want to use for this procedure (Virtual Machines are represented by a single file which is a package containing multiple disk and configuration files).
CTRL-CLICK the Virtual Machine and select “Show Package Contents”, this displays the components of your Virtual Machine. Find Guest.vmx (in my case “UbuntuGnome.vmx”), CTRL-CLICK again and open with your text editor (in my case TextMate, can’t live without it). This action will show the default configuration of “UbuntuGnome”. Search this text file for “ethernet0.generatedAddress” and you fill find the following (similar) information:

ethernet0.generatedAddress = "00:0c:29:8b:a4:4f"

This is your Virtual Machine’s “MAC” or Ethernet Hardware Address.
Copy this information to a text file because I doubt most people can remember such things for more than a second or two.

Accessing VMWare Fusion’s DHCP Settings

VMware Fusion’s DHCP configuration file is located in “Application Support”.
Open a terminal and set a command to open this config file in your text editor of choice.

~ user$ mate "/Library/Application Support/VMware Fusion/vmnet8/dhcpd.conf"

This is what you should see:


# Configuration file for ISC 2.0b6pl1 vmnet-dhcpd operating on vmnet8.
#
# This file was automatically generated by the VMware configuration program.
# If you modify it, it will be backed up the next time you run the
# configuration program.
#
# We set domain-name-servers to make some DHCP clients happy
# (dhclient as configued in SuSE, TurboLinux, etc.).
# We also supply a domain name to make pump (Red Hat 6.x) happy.
#
allow unknown-clients;
default-lease-time 1800; # 30 minutes
max-lease-time 7200; # 2 hours
subnet 172.16.27.0 netmask 255.255.255.0 {
range 172.16.27.128 172.16.27.254;
option broadcast-address 172.16.27.255;
option domain-name-servers 172.16.27.2;
option netbios-name-servers 172.16.27.2;
option domain-name "localdomain";
option routers 172.16.27.2;
}

Note the subnet range, we need to set a fixed address for our Virtual Machine outside of this range.
We do this like so:
Append the open file (dhcpd.conf) with the following, obviously using your own settings including the Ethernet Hardware Address you previously copied to a text file, the name of Guest.vmx and the IP address you wish to assign to this Virtual Machine.

host UbuntuGnome {
hardware ethernet 00:0c:29:8b:a4:4f;
fixed-address 172.16.27.20;
}

Save this file, you will prompted to enter your administrator password as we have opened dhcpd.conf as a read only file in TextMate.

We now need to restart networking for VMWare Fusion:

sudo "/Library/Application Support/VMware Fusion/boot.sh" --restart

Configuring Hosts In Linux Guest

That’s a confusing title I must admit.
Fire up your Virtual Machine..
NOTE:
I am using this Ubuntu Guest as it was a machine already on my system, the following configuration information will differ slightly between distros and interfaces. For my “Micro-Network” experiments I will be using minimal, command line installations of CentOS 5.02 and I will cover this in later posts.

If you are using the Gnome Desktop navigate to:

System> Administration> Network

Use your superuser password to unlock the network applet and select “Wired Connection (Properties)”.
Disable roaming mode (it’s set this way by default on a new Ubuntu installation) and enter the settings for Configuration (Static IP Address).

IP ADDRESS: (The Address You Set In The VMWare DHCP Settings)
SUBNET: (Usually 255.255.255.0)
GATEWAY: (The Address Of The VMware Fusion Server)*

* “option routers XXX.XX.XX.X” in dhcp.conf

Save these settings and restart networking (or your Virtual Machine).

This procedure can repeated for each Virtual Machine you want to add to your “Virtual Network” by adding a host entry for each guest machine in “/Library/Application Support/VMware Fusion/vmnet8/dhcpd.conf”.

Tags: , , , , , , , , , , ,

Rip It Up And Start Again

September 7th, 2008 | No Comments | Posted in Projects

I’ve reached a point where I am tired of all the music I have previously written.
This is not to say that there is anything wrong with anything I’ve done (although obviously the expression “Beauty Is In The Eye Of The Beholder” springs to mind) it’s just that I am tired of it, even the most recent things I’ve come up with aren’t hitting the spot for me.
So, I’m asking for a chord, a guitar chord.
I’m no genius guitarist by any stretch of the imagination and often don’t know the names of the chords I’m playing so if you happen to suggest a particularly fancy chord please link me to a diagram or something.
There are no prizes for the best chord I’m afraid but I will use it as starting point.
PS. I’ve been very busy lately, hopefully I’ll post a bit of a catch up soon.

Tags: , ,