![]() |
|
The EverLab Project Documentation - Client SidePreparing for installationAllocate two IBM blades on the evergrow cluster.Requirments: Nodes must have an External IP address, and a DNS name which matches the address (both DNS and reverse DNS) and network connectivity for the Internet Send the following to EverLab support Once we got this information we will create a boot CD Image file that can be downloaded here Installing an EverLab nodeThe EverLab Project Documentation - Server SideInstalling an EverLab servera. Add http_proxy=<proxy server> (http://wwwproxy.cs.huji.ac.il:8080) to /etc/profile before the export command.b. Add to the end of the export command: http_proxy. a. Must: CVS (disk 2). b. Helpfull: 1) telnet-server 2) rsh-server (use: "chkconfig rsh on;service xinetd restart" to activate). For example: yum -y install telnet-serverinstall chkconfig telnet onservice xinetd restartAdd user for telneting.
cvs -d:pserver:anon@cvs.planet-lab.org:/cvs checkout pl_box
a. Set site name and prefix. b. Set machine network configuration (name, ip, etc.). c. Set root password both txt and encripted (from /etc/shadow). d. Set the rest of the options (rate limit, hardware check, etc.). /root/pl_box/setup_plc.sh
Overriding the need of floppy
/planetlab/bootcd/configurations/<server name dir>/ (everboot1.cs.huji.ac.il)
/planetlab/bootcd_v3/configurations/<server name dir>/configuration (everboot1.cs.huji.ac.il)
Add to the end of it:
NODE_CONFIGURATION_FILE=<cnf file> (planet10.cnf).
Creating an ISO image
/planetlab/bootcd_v3/build.sh build <server name dir>
(everboot1.cs.huji.ac.il) The image will be created on: ./build/<server name dir>Overriding the CD-ROM driveCompiling the PlanetLab kernelcvs -d:pserver:anon@cvs.planet-lab.org:/cvs checkout build
make kernelCompiling modified kernelcvs -d:pserver:anon@cvs.planet-lab.org:/cvs checkout build
cd build/linux-2.6.12make rpm
Checking out 2.6.10 stable kernelcvs -d :pserver:anon@cvs.planet-lab.org:/cvs co -r planetlab-3_1-branch linux-2.6
Replacing CD-ROM kernel/var/www/html/install-rpms/bootcd/
yum-arch /var/www/html/install-rpms/bootcd
/var/cache/yum/BootCDRepo/ has no contradicting kernel
Replacing kexec kernel/var/www/html/install-rpms/planetlab-v3/
yum-arch /var/www/html/install-rpms/planetlab-v3/
/var/cache/yum/BootCDRepo/ has no contradicting kernel
Compiling kernel + all modulesThe following packages are needed:Changing debug ssh keyssource/debug_files/debug_root_ssh_key
Changing the kexec kernel root passwordThe shadow and passwd files used by nodes are taken from the archive/planetlab/plc_www/boot/alpina-BootstrapRPM.tar.bz2 on installation of a node (First stage of installation after creating
the root partition and filesystem is extracting that archive to the root filesystem and it contains, amongst necessary
bootstrap binaries and libraries, also some of /etc including passwd, shadow, and group).
So to change it, extract /planetlab/plc_www/boot/alpina-BootstrapRPM.tar.bz2 to some directory, chroot to that directory, enter "passwd root", and
enter a password.
Then recreate the archive:
Note that the setup_plc.sh script by default re-downloads that file when needing to remake the bootmanager step (when /var/pl_boxed/bootmanager does not exist). However I've commented out that line so you can make changes there and they will not be overridden when one reruns setup_plc.sh. |
|
|
|
|
Original site design by Pegasus Web Design Resources, modified by David Rabinowitz |
|