archive_xen
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| archive_xen [2008/10/07 13:30] – Big changes for wotan. mediawiki_default | archive_xen [2026/09/27 00:52] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | ====== Overview ====== | ||
| - | |||
| - | |||
| - | * We currently have a single Xen host: [[wotan]]. | ||
| - | * We run i386 Xen 3.0.3 with PAE (as packaged in Debian etch). | ||
| - | * We use LVM to create volumes for each domU's root and swap partitions. | ||
| - | * We have a homebrew [[http:// | ||
| - | |||
| - | |||
| - | ====== How to Add New Instances ====== | ||
| - | |||
| - | |||
| - | The VM creation script gets the new system' | ||
| - | |||
| - | Login to wotan, which is the main xen machine. Use the mkdomU.bash script to create the new instance like so: | ||
| - | |||
| - | < | ||
| - | mkdomU.bash -vh < | ||
| - | </ | ||
| - | |||
| - | Say yes to shadow passwords, type in root password (twice), say no to creating a user account. | ||
| - | |||
| - | If you want to do something complicated, | ||
| - | |||
| - | Don't forget to unmount the domU filesystem! | ||
| - | |||
| - | < | ||
| - | umount /mnt/mkdomU | ||
| - | </ | ||
| - | |||
| - | Run | ||
| - | |||
| - | < | ||
| - | xm create -c < | ||
| - | </ | ||
| - | |||
| - | to get the instance up and running. You should be able to log in. Use ctrl+] to get back to vislor' | ||
| - | |||
| - | |||
| - | ====== Booting and Shutting Down ====== | ||
| - | |||
| - | |||
| - | Xen's init scripts are set up to perform an `xm save` (copy the RAM to disk) for each domU that's running when vislor and/or adric are shut down and to restore saved domUs on boot. This should take care of the cases where tardis is shut down intentionally, | ||
| - | |||
| - | To start all domUs on vislor do: | ||
| - | for foo in / | ||
| - | <WAIT FOR A LOGIN PROMPT> | ||
| - | ctrl+] | ||
| - | <WAIT FOR A LOGIN PROMPT> | ||
| - | ctrl+] | ||
| - | .... | ||
| - | |||
| - | |||
| - | |||
archive_xen.1223386211.txt.gz · Last modified: (external edit)
