source: trunk/server/doc/install-xvm @ 2375

Last change on this file since 2375 was 2318, checked in by ezyang, 12 years ago
Notes for setting up XVM test server.
File size: 2.8 KB
Line 
1Installing a test scripts server on XVM
2=======================================
3
4It's useful to have a less secure scripts server for testing
5purposes.  Here's what you have to do:
6
71. Creating the VM
8------------------
9
10To authenticate to xvm.mit.edu 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
14
15    https://xvm.mit.edu:442/*
16
17Then, with active root tickets on your system, navigate to
18
19    https://xvm.mit.edu:442/
20
21You should be logged in as root, and if you are on scripts-root
22you should be able to assign ownership to scripts.
23
24[XXX: there should be a way to do this with remctl too]
25
262. Configure
27------------
28
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.
32
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
37date.)  Since you're doing an install CD, it's going to be an HVM.
38
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:
43
44    athrun xvm invirt-vnc-client -a $AUTHTOKEN
45    vncviewer localhost
46
47where AUTHTOKEN is the contents of the AUTHTOKEN param on the console page
48(which would have had the Java applet.)
49
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:
53
54    ks=http://ezyang.scripts.mit.edu/kickstart/scripts.php?type=xvm&release=$RELEASE_NO&hostname=scripts-f$RELEASE_NO-test.xvm.mit.edu
55
56with $RELEASE_NO interpolated properly.  You should keep around any initrd
57lines since the kernel image still needs to know how to boot up.
58
59    XXX the kickstart file needs to live in a less sketchy place
60
61The install process will ask you for a password.  Do NOT use the
62scripts-root password.  We have a password in
63/mit/scripts/Private/scripts-test-passwd which we tend to use.
64
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.)
68
693. Debugging
70------------
71
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.