From popdata
Jump to: navigation, search


apt-get install fai-client fai-doc fai-kernels fai-quickstart fai-server dhcp3-server tftpd-hpa</tt>
cd /home
mv /srv /home
ln -s srv fai
cd /
ln -s /home/srv
  • setup config files in /etc/fai
  • setup nfsroot: fai-setup -v (or copy old one)
  • install/config /etc/dhcp3/dhcpd.conf base:
option domain-name "";
option domain-name-servers;
option subnet-mask;
use-host-decl-names on;
server-name install;
filename "fai/pxelinux.0";

default-lease-time 600;
max-lease-time 7200;

subnet netmask {
    option routers;
    option ntp-servers;
    server-name install;
    next-server install;
    option root-path "/srv/fai/nfsroot";

host phlo2 {
    hardware ethernet 00:18:fe:31:5a:86;
    fixed-address phlo2;
  • add eth0 to INTERFACES in /etc/default/dhcp3-server
  • make sure /var/lib/tftpboot/fai is populated (fai-setup does it)
  • install/config /etc/exports add:
  • prepare a machine: fai-chboot -vFI -k "console=ttyS1,38400" phlo7

to rebuild the packages list on cabot

cd /home/www/debian
dpkg-scanpackages packages /dev/null | gzip -9 > packages/Packages.gz

to build kernel packages:

  • make sure that /etc/initramfs-tools/modules has cciss at the bottom
cd /usr/src/linux-3.4
make oldconfig
make-kpkg --initrd --append-to-version .20130511 kernel_image
make-kpkg --initrd --append-to-version .20130511 kernel_source
make-kpkg --initrd --append-to-version .20130511 kernel_headers

64 bit linux

  • install ia32-libs to run 32 bit applications
  • add ia32_emul to kernel config

Install a Machine

  • go to hudson2
  • add machine to /etc/hosts
  • add machine to /etc/dhcp/dhcpd.conf (you need the mac address of the ethernet used to install - boot from the network and it will be in the logs on cabot)
  • restart dhcp /etc/init.d/isc-dhcp-server restart
  • connect machine to adm (vlan 89) network
  • on hudson2:
fai-chboot -vFi -u nfs:// -k "console=tty0 console=ttyS0,38400 nomodeset" einstein
fai-chboot -vFI -u nfs:// einstein  # if not a machine with serial console
  • boot from network, remember to change booting settings to boot from "legacy BIOS"
    • on iLO: vsp
    • at the right time, do "boot from network", F12 is ESCAPE,@
  • change networt port to appropriate place
  • change /etc/network/interfaces to proper static address


  • test StorageSpeed : bonnie -f -u sgomes
  • update DNS with new hostname
  • setup syspulse

PROM settings

HP power saving settings

HP Proliant DL360G7 server Kelsey crashed suddenly 6 times with no logs (except HP integrated Lights Out whatsit). Suspect power issue.