Skip to contentSkip to conversation

Xen 1.3/2.0 and stability. what i'm goign to do with it.....

DISCUSSION Brian Wolfe 2 participants 2 messages May 29, 2004

lore
Share & tools
lore
#0 lore raw

Due to the plethora of "in-30-days" and online learning sites, what url would you reccomend for learning python quickly?

I can make out the general semantics, so it'd be mostly a crash course for someone that is already used to programing in general.

Thanks!

Brian Wolfe
TerraBox.com Inc

--
------sig------
If anything about this email is malformed, please let me know. This is pre-beta webmail software and I need feedback. Thanks!.

On Sat, 29 May 2004 08:52:40 +0100 Ian Pratt <[email protected]> said...

Quoted 1 line

I have been running Xen 1.3 on a machine for over 2 months now. No instabilities, no glitches, nothing (cept for a minor NFS server timeout once in a while, I think it's the server, not the box).

Thats good to hear.

Quoted 1 line

Because of this I am doing a broader testing of xen in a cluster setup. I will be working on a set of perl (yes, I know python exists, but I don't know how to code python. 8-P) scripts and apps that will allow me to manage this cluster of xen boxes and their images. The purpose of the scripts is to monitor, start, stop, restart, etc xenolinux (and others like BSD/windows). In addition it will be used to do the automatic provisioning of new xenolinux instances after they are sold from the terrabox website.

Having these kinds of tools would be very useful.

I'd really recommend that you have a play with python -- its very quick to learn and you'll find that the scripts are _far_ more maintainable. It'll be easier for other people to collaborate.

Quoted 1 line

For now i'll be selling mini dev environments for people that still (god only knows why) code and run MUDs. :) Later I want to expand it to be a "scale as you need it" hosting setup. I'd like to be able to increase the maximum ammt of ram realtime. I know that xen can (in theory, not tried yet) do cpu slice limiting. And i've also seen indications that iSCSI is workable.

I've found iSCSI to work really well. I've been using the Cisco initiator code with an initrd to mount the domain's root file system over iSCSI. I've been using a NetApp F840 to provide the iSCSI LUNs.

As regards CPU slice limiting, I've observed strange scheduling behaviour from both the BVT and Atropos schedulers over the last week, so I think we'll have to bug hunting session...

Ian

#1 lore raw
Quoted 3 lines

Due to the plethora of "in-30-days" and online learning sites, what url would you reccomend for learning python quickly?

I can make out the general semantics, so it'd be mostly a crash course for someone that is already used to programing in general.

The main python.org site has some good docs, both online and in pdf.

http://python.org/2.3.4/

There's a good tutorial, along with the standard library reference. I find I often have the library reference up in a web browser window as the range of available modules is superb and it's always worth searching to see if there's something off the shelf you can use. There's loads of 3rd party modules for niche stuff too.

We try to have the python used in the Xen project compliant with the python 2.2 spec, as this is what is shipped with RH9. There's some nice new features in the 2.3 release, but nothing we can't live without.

As always, the best way to learn is just to look at someone else's code. I wouldn't particularly recommend looking at ours!

Ian

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click