Archive for November, 2009

XMC now on github

Sunday, November 29th, 2009

In an effort to get all my projects out in to the wild, I’ve pushed the XMC project out to github to mirror CSH’s local git repository server.

For those of you who don’t know what XMC is: Xen Management Console. About a year ago I began setting up a Xen “cluster” for CSH to use. With about 10 physical machines we needed a way to manage Xen and the VMs on them. We set up the hardware to be as dumb as possible by having them all PXE boot a nicely modified version of Gentoo that myself and Dan W. put together. These machines keep no state and have read-only root filesystems. Storage is on another system and shared via AoE (ATA over Ethernet) and a custom python server I wrote to manage the A0E exports. DNS/DHCP and are handled by another machine which is CSH’s central DNS/DHCP system as not to replicate services.

XMC allows for some fun things like drag and drop live migrations, basic load balancing when booting new VMs, and basic access permissions to allow users to boot/reboot/shutdown their own VMs.

The project was my first large scale working with Xen and python, so the code isn’t the prettiest you’ve ever seen. I hacked a lot of thing to “just work” and never had time to clean most of it up. Since I was concerned with making it work quickly I wrote some of the worst Javascript I have in a long time. I did use my jscore library, though, so that makes me a little happier.

At the moment the project is pretty dead and barely running due to hardware failures this past summer. Also, since I’ve moved on from school there seems to be some enterprising new CSH members who want to replace the system (hardware and all). Because of this I figure this project is probably dead, but maybe it’ll come in handy to someone, somewhere.

XMC on github

MailWrangler Source Code on github

Thursday, November 12th, 2009

I’ve received a number of requests for the source code of MailWrangler over the past year. Recently I finally spent the time to prepare and post it to github. Sadly I was unable to actually import it from SVN due to the repository being corrupted and not having a complete backup. I simply imported my most recent checkout of the code in to git, and pushed that. Not my first choice, but it works.

I’ve licensed MailWrangler under the Apache 2.0 License. It’s a little more restrictive of a license than my other projects, but it is also much more “popular” of a project than my others. I have no idea if anyone will really care — but hey, maybe someone will. I don’t have much intention to personally do much with the project going forward (a big part of me just letting it out in to the wild). I’m more than willing to accept patches and merge forks back in to the project and keep the code on github up to date from others. I suppose it could be a decent alternative gmail “client” for those of us with developer licenses.

The thing to note about the current state of the code is that it doesn’t really work. I wrote it for the first SDK released by Apple and never updated it. An update at some point broke some parts of it, namely being able to add an account. If anyone fixes it I’ll be glad to patch up my copy of it for others.

Enjoy.

http://github.com/adinardi/mailwrangler