Category Archives: Computer geek stuff

rtorernt and wtorrent (How to)

So I came across this tonight. I’ve been looking at a way to get a web interface for rtorrent, but could never get wtorrent to work properly (actually, at all).

So this guide may be what I need. I’m sure I can adopt it to use under openSuSE (if not I can just install Debian Lenny as a VM, and try out the tutorial)

Compile And Set Up rTorrent and wTorrent In Debian 5 Lenny [Complete How-to]

XenServer 5.5.0 and IDE drives

A few days ago I moved from runing a openSuSE DomU host to the Free XenServer 5.5.0 that Citrix is offering.

I had noticed that the VMs were running very slowly. Much slower then I remembered them running on the openSuSE DomU. So I did some tests, and it came down to theĀ  fact that hdparm -tT /dev/sda was reporting about 1-2MB/sec for the buffered disk reads. This was taken at the console of the xenserver terminal, not on a VM.

After some research, I found out that the generic IDE drivers don’t allow for UDMA to be enabled. So I did the next best thing. I had a SATA drive of similar size in another machine, and swapped the two.

Now I get about 60MB/sec buffered disk reads. That’s what it should be. And from within a VM I get about 55MB/sec, but I don’t quite believe that. Will have to do some more extensive testing with bonnie++.

HowTo: OpenSuSE 11.2 PV running on XenServer 5.5.0

I’ve been running virtual machines for a while now (maybe 3 years?) and they have all been running on some bare minimal OpenSuse installation (in Dom U) with Xen being the hypervisor.

I decided the other day to give XenServer 5.5.0 (the free version) a try. I had a few days of unhappiness, mainly because I love openSuse, and it seemed that nobody knew how to get it installed in XenServer, as a PV guest.

I finally got it working. Finally got openSuSE 11.2 running in XenServer, as a PH guest, with the Server Tools installed and working. Continue reading

rtorrent config file

Since I decided to get a new motherboard to try to solve what I thought was a memory problem, I also decided (on a whim) to look into the rtorrent rc file.

Came across this site. Turns out the reason the xen server kept hanging may have been related to the max memory usage option… I’ve made some changes… we’ll see how they work.

I need to re-visit that site since there’s so much info on there, that I’d like to read and absorb. Continue reading

Car Control School website

UPDATE: Scratch everything. I will do everything in a wordpress blog format.

UPDATE2: I am actually very impressed at how flexible wordpress is for designing websites… I’m thinking of doing all future web designs in wordpress.

I will need rollover images (at least for the 3 main images)

Features to implement:

– add blog section. Ability to edit blog. Excerpts of the blog (the first dozen words or so) get displayed on the side bar.
– Side bar displays news, and new/upcoming schools.
– Need to decide if the side bar will be present in all pages or just some. Upcoming schools should be visible all the time. Upcoming school should have a link to the school type page.
– Ability to edit the school schedule. School schedule page should be generate dynamically.

Changes to make:

– program a simple news/blog tool in PHP and integrate it.

New XEN virtual machine management

So after installing OpenSuSE 11.2 on the server machine, I decided to take a step back nd decide how to manage all the current and future virtual machine.

For starters, I will use LVM for the disk space they use. I have created a template/minimal install of OpenSuse11.2 into a file based VM. The file disk it’s installed on is 1GB. gzipped, the file is only 250MB.

This will be the basis/starting point for all the new VMs. I have used dd to copy the virtual file based disk to an LVM volume on any size. Once that’s done, I can resize the partition to whatever size I want. (Note 1 on resizing) I can also make as many copies I want and run them as anything I want.