Changes between Version 24 and Version 25 of Installation/Nodes


Ignore:
Timestamp:
Jul 26, 2011 5:53:24 PM (13 years ago)
Author:
jhickey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Installation/Nodes

    v24 v25  
    1111
    1212= Setting up the PXE environment on boss =
     13
     14== Setting up the MFS for testbed nodes ==
     15
     16These filesystems are PXE booted over the network via TFTP and allow us to perform various parts of node maintenance.
     17
     18There are three different MFS (memory file system) images that come with DETER/Emulab. 
     19
     20They are:
     21
     22 * The Admin MFS (/tftpboot/freebsd)
     23  * Primarily used to create new operating system images using imagezip and ssh
     24 * The New Node MFS (/tftpboot/freebsd.newnode)
     25  * This is the default image for nodes not explicitly listed in dhcpd.conf.
     26  * Has scripts to try to identify what type of node is being booted based on node_type variables.
     27  * Runs a process to enable auto-detection of which switch ports the node is wired into.
     28 * The Frisbee MFS (/tftpboot/frisbee)
     29  * This image is used when loading an operating system image onto
     30 
     31The reason all these tasks are split up among multiple images is to keep the image size down since they are booted over the network.  With faster networks, these images will likely be rolled into a single Linux based image in the future.
     32
     33Each site will have to install root SSH keys from boss into each MFS and change the root password.
     34
     35This process, along with fetching/unpacking the MFS tarball, has been automated by the script setup_mfs in testbed/install:
     36
     37{{{
     38[jjh@boss ~/testbed/install]$ sudo ./setup_mfs -h
     39Usage: setup_mfs
     40No options will just do the setup phase
     41  -d Download and extract the MFS
     42  -f <filename> Use provided mfs tar.bz2 archive
     43}}}
     44
     45This script will configure all three MFS images with your boss's root ssh key and a password of your choice.
     46
     47{{{
     48[jjh@boss ~/testbed/install]$ sudo ./setup_mfs -d
     49Fetching http://www.deterlab.net/~jjh/Deter%20OS%20Images/deter-mfs.tar.bz2 and extracting to /usr/testbed/tftpboot
     50  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
     51                                 Dload  Upload   Total   Spent    Left  Speed
     52100 37.4M  100 37.4M    0     0  3232k      0  0:00:11  0:00:11 --:--:-- 3350k
     53Please enter your MFS root password
     54Password:
     55Verifying - Password:
     56################################################################################
     57# Setting up MFS: /usr/testbed/tftpboot/freebsd/boot
     58#
     59Created md0...
     60Created /mnt-md0
     61Changing the image root password...
     62Locking toor...
     63Unmounting /mnt-md0
     64Removing mount point /mnt-md0
     65Unconfiguring md0
     66Running prepare on mfs and kernel
     67loader.conf:
     68loader.rc:
     69kernel:
     70mfsroot: mfsroot.gz updated...
     71################################################################################
     72# Setting up MFS: /usr/testbed/tftpboot/freebsd.newnode/boot
     73#
     74Created md0...
     75Created /mnt-md0
     76Changing the image root password...
     77Locking toor...
     78Unmounting /mnt-md0
     79Removing mount point /mnt-md0
     80Unconfiguring md0
     81Running prepare on mfs and kernel
     82loader.conf:
     83loader.rc:
     84kernel:
     85mfsroot: mfsroot.gz updated...
     86acpi.ko:
     87################################################################################
     88# Setting up MFS: /usr/testbed/tftpboot/frisbee/boot
     89#
     90Created md0...
     91Created /mnt-md0
     92Changing the image root password...
     93Locking toor...
     94Unmounting /mnt-md0
     95Removing mount point /mnt-md0
     96Unconfiguring md0
     97Running prepare on mfs and kernel
     98loader.conf:
     99loader.rc:
     100kernel:
     101mfsroot: mfsroot.gz updated...
     102[jjh@boss ~/testbed/install]$
     103}}}
    13104
    14105== Installing a PXE boot loader ==
     
    31122You can also look at modifying '''/usr/local/etc/dhcpd.conf.template'''.  You will have to generate a new dhcpd.conf configuration using '''/usr/testbed/sbin/dhcpd_makeconf > /usr/local/etc/dhcpd.conf''' and restarting dhcpd.
    32123
    33 == Setting up the MFS for testbed nodes ==
    34 
    35 These filesystems are PXE booted over the network via TFTP and allow us to perform various parts of node maintenance.
    36 
    37 There are three different MFS (memory file system) images that come with DETER/Emulab. 
    38 
    39 They are:
    40 
    41  * The Admin MFS (/tftpboot/freebsd)
    42   * Primarily used to create new operating system images using imagezip and ssh
    43  * The New Node MFS (/tftpboot/freebsd.newnode)
    44   * This is the default image for nodes not explicitly listed in dhcpd.conf.
    45   * Has scripts to try to identify what type of node is being booted based on node_type variables.
    46   * Runs a process to enable auto-detection of which switch ports the node is wired into.
    47  * The Frisbee MFS (/tftpboot/frisbee)
    48   * This image is used when loading an operating system image onto
    49  
    50 The reason all these tasks are split up among multiple images is to keep the image size down since they are booted over the network.  With faster networks, these images will likely be rolled into a single Linux based image in the future.
    51 
    52 You will have to install your root SSH keys from boss into each MFS and change the root password.
    53 
    54 This process has been automated by the script setup_mfs in testbed/install.
    55 
    56124= Testbed Nodes =
    57125