Tinkerbell

From CSLabsWiki
Revision as of 19:39, 12 February 2014 by Lundar (talk | contribs) (Setup)
Tinkerbell
Contact Person: Ethan Miller
Last Update: unknown
Services: COSI Lab Build, PXE


Hostname: tinkerbell.cslabs.clarkson.edu
Operating system: Debian Wheezy
NIC 1: Clarkson Network (Bonded)
MAC: TODO
CPU: Intel(R) Xeon(TM) CPU 3.20GHz
RAM: 3.0GB


Note: Work on Tinkerbell is in progress. Expect updates at meetings.


Setup

Base install

RAID 10 (software) on hard drives set up from previous build. Installed Debian Wheezy via network; used server setup script.

Configure NFS

NFS is used to serve the filesystem over the network to boot from.

  1. Install nfs-kernel-server
  2. edit /etc/exports to include the location of the lab build. Here it is located at /srv/debian. The line should read as /srv/debian *(ro,no_root_squash,no_subtree_check,async)

Setup TFTP

TFTP is used to send files from the server to the client. Usually these files are intermediate software that load the OS via AoE, or NFS.

  1. Install tftp-hpa
  2. In the root folder for tftp (usually /srv/tftp, but can be set to another folder) create a folder called pxelinux.cfg
  3. In the pxelinux.cfg folder create a file called default. This is the default configuration file.


Creating the Lab Build

This is where we make the lab build. The script used is based on the one used for the ITL build, forked at version TBD. The build takes place on your system - i.e., NOT ON TINKERBELL! It requires at least 6GB of RAM to create the build - so do it on a machine with a lot of memory. Recommendation here is 16GB.

Required packages: binutils debootstrap

  1. Clone the repository holding the scripts (TBD - for now, github.com/COSI-Lab/itl_lab_creation).
  2. Run create_build.sh as root.
  3. Following the completion of the script, copy the files to the NFS share on Tinkerbell - I use rsync -avz to do so.

Details on Windows

Talk to Austin. Lots. Until he adds documentation.