Image Breakdown
Here's how I'm setting up my Xen images.
Concept: Hypervisor box is not itself on the internet (except thru VPN? Make it the VPN checkpoint?)
| Image Name |
Description |
Functions |
| mpp |
John's box |
My Photo Partner, RIMSAP, etc. |
| ??? |
|
DNS |
| eng |
engineering machine |
source control, staging machine |
| boxaroo |
boxaroo production machine |
everything boxaroo |
| mattwalsh |
Matt's personal website machine |
mattwalsh.com |
TODO
- Fix PDSH hostfile once I have IP addr's figured out
- Ditto for OpenVPN
Setup For Windows
- In the Xen image directory, make the image file:
dd if=/dev/zero of=mpp oflag=direct bs=4M seek=2047 count=1
- Copy the windows CD to an iso image:
dd if=/dev/cdrom of=win2000.iso bs=2048
- Set up a Xen config file like this:
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '256'
device_model='/usr/lib64/xen/bin/qemu-dm'
# Disks. Node hda and hdc are local to the xen image; they do not
# correspond to the physical drive info on the host
disk = [ 'file:/share/xen/mpp.img,ioemu:hda,w',
'file:/share/xen/windows_images/win2000.iso,ioemu:hdc:cdrom,r' ]
# However, the 'cdrom' specification IS the CDRom of the host;
# though the more I think about it the less I think I actually used it
cdrom='/dev/scd0'
# Hostname
name = 'mpp'
# Networking
vif = ['type=ioemu, bridge=xenbr0']
ne2000=0
# Start with boot='d' first to boot from CDROM.
# After setup restarts, change to 'c'
boot='c'
# if set like this, a VNC window will pop up
vnc=0
vncviewer=1
sdl=0
--
MattWalsh - 20 Oct 2008