wiki:Old/VirtualizationImplementationNotes

Version 6 (modified by (none), 18 years ago) ( diff )

System Virtualization

vconsole runs Xen. Instances of Xen are configured in /etc/xen/*.cfg and their raw images in /var/img. The Xen host (dom0) is configured in /etc/xen/*.sxp and by our custom bridge creation scripts in /etc/xen/scripts/*-orbit. We have plenty of disk, so we don't bother using LVM2 to share images yet — each domU has its own full image. Most of the instructions we needed are at https://help.ubuntu.com/community/XenOnUbuntuBinaryInstall. Don't use the Xen packages Edgy/universe, run 6.06 like a sensible Ubuntu admin, and install the xensource binary tarball over it using the given script. Seriously.

From The Xen User Guide:

"… MAC address from the range 00:16:3E:xx:xx:xx, assigned by IEEE to XenSource as an OUI (organizationally unique identifier). XenSource Inc. gives permission for anyone to use addresses randomly allocated from this range for use by their Xen domains."

We use specific MAC addresses, and manage them with DHCP as if they were otherwise physical devices.

mac ip notes
00:16:3E:00:00:01 10.50.71.10 guest1 eth0
00:16:3E:00:00:02 10.71.0.10 guest1 eth1
00:16:3E:00:00:03 10.50.72.10 guest2 eth0
00:16:3E:00:00:04 10.72.0.10 guest2 eth1
00:16:3E:00:00:05 10.50.73.10 guest3 eth0
00:16:3E:00:00:06 10.73.0.10 guest3 eth1
00:16:3E:00:00:07 10.50.74.10 guest4 eth0
00:16:3E:00:00:08 10.74.0.10 guest4 eth1

Network Virtualization

Here are the VLANs for our virtualized grid.

vlan name usual IP range notes
31 vgrid1-co 10.71 command console
32 vgrid1-da 10.81 data collection
33 vgrid2-co 10.72 command console
34 vgrid2-da 10.82 data collection
35 vgrid3-co 10.73 command console
36 vgrid3-da 10.83 data collection
37 vgrid4-co 10.74 command console
38 vgrid4-da 10.84 data collection

Here are the IP addresses of the virtual consoles as they interface to their vgrid VLAN.

vgrid side name dmz side
10.71.0.10 vconsole1 10.50.71.10
10.72.0.10 vconsole2 10.50.72.10
10.73.0.10 vconsole3 10.50.73.10
10.74.0.10 vconsole4 10.50.74.10

Each virtual console runs on a single system, which has 10.10.0.11 on the regular grid and 10.50.10.11 on the dmz.

10.7n.0.40 is repository2 (frisbee, pxe, and home). 10.7n.0.1 is the PIX interface. The current PIX can only be homed on 25 VLANS, so among these it is only homed on VLAN 31.

Note: See TracWiki for help on using the wiki.