source: trunk/server/doc/install-xvm

Last change on this file was 2318, checked in by ezyang, 12 years ago
Notes for setting up XVM test server.
File size: 2.8 KB
[1618]1Installing a test scripts server on XVM
4It's useful to have a less secure scripts server for testing
5purposes.  Here's what you have to do:
71. Creating the VM
10To authenticate to with root tickets, you need
11a browser that suppors SPNEGO;  Firefox is one such browser and
12the following instructions will assume it.  Browse to about:config
13and modify the key 'network.negotiate-auth.trusted-uris' to be
17Then, with active root tickets on your system, navigate to
21You should be logged in as root, and if you are on scripts-root
22you should be able to assign ownership to scripts.
24[XXX: there should be a way to do this with remctl too]
[2315]262. Configure
[2315]29Lest you be tempted to skimp on RAM:  you must have more than 700MBish
30to install Fedora; 1024MB is a good amount is a good amount to give to
31the server.  Disk space on order of 40G is probably good enough.
[2315]33While it is best to use the install CD from the most recent version
34of Fedora, any kernel which supports Kickstarting can be used.  A good
35bet is to use the Netboot CD from the latest version of Fedora that
36XVM has (since XVM is sort of bad about keeping their boot CDs up to
[2318]37date.)  Since you're doing an install CD, it's going to be an HVM.
[2315]39You will need VNC access to perform the installation process.  If you have
40Java, just go to the Console page for the VM; if you do not, you can use
41the following set of incants to setup a local VNC server which can talk
42to the console:
[2315]44    athrun xvm invirt-vnc-client -a $AUTHTOKEN
45    vncviewer localhost
[2315]47where AUTHTOKEN is the contents of the AUTHTOKEN param on the console page
48(which would have had the Java applet.)
[2315]50On the bootloader screen (usually it gives you a bunch of options
51such as "Install" or "Advanced"), press TAB and edit the kernel boot
52line to append the text:
[2315]54    ks=$RELEASE_NO&hostname=scripts-f$
56with $RELEASE_NO interpolated properly.  You should keep around any initrd
57lines since the kernel image still needs to know how to boot up.
59    XXX the kickstart file needs to live in a less sketchy place
61The install process will ask you for a password.  Do NOT use the
62scripts-root password.  We have a password in
[2317]63/mit/scripts/Private/scripts-test-passwd which we tend to use.
65We don't know how to convert to ParaVM yet, because latest Fedora
66uses Grub2 but XVM's bootloader doesn't understand how to read it
67(see also the Scripts patches we manually applied to our hosts.)
693. Debugging
72Get dropped into dracut:#/ ?  Check for 'Warn' in dmesg (dmesg | grep Warn)
73and fix any problems that are stopping Dracut from proceeding.
Note: See TracBrowser for help on using the repository browser.