-# install sipb-xen-base:/etc/apt/sources.list.d/*
-apt-get update
-aptitude install sipb-xen-host-master
-
-# install keytab
+# Add eth0 configuration to /etc/network/interfaces
+# - Replace 18.181.0 with 10.5.128
+# - Replace last octet with $((last octet - 205))
-## clustering should be handled by sipb-xen-clvm-config,
-## but if not then see below
-
-## to take up the new Xen-hypervisor kernel
-# shutdown -r now
+# Copy /etc/hosts from another host
+# install invirt-base:/etc/apt/sources.list.d/*
+apt-get update
+aptitude install invirt-host-master
+# In /etc/default/xendomains
+# - Set XENDOMAINS_MIGRATE to the "next" host
+# - Set XENDOMAINS_SAVE=""
-########### old, more complicated version
+# Add to /etc/rc.local before the "exit 0":
+# echo -17 > /proc/$(pgrep syslogd)/oom_adj
-### for kerberos access; need keytab ###
-aptitude install krb5-user ntpdate
-cat >>/etc/ssh/sshd_config <<EOF
-# accept Kerberos
-GSSAPIAuthentication yes
-GSSAPICleanupCredentials yes
-GSSAPIKeyExchange yes
-EOF
-/etc/init.d/ssh reload
-# Set default realm to ATHENA.MIT.EDU
-printf "krb5-config\tkrb5-config/default_realm\tstring\tATHENA.MIT.EDU" | debconf-set-selections
-dpkg-reconfigure -fnoninteractive krb5-config
-# in an ideal world, all of the above is just
-# aptitude install debathena-{ssh-server,kerberos}-config
+# In /boot/grub/menu.lst:
+# - Configure remote management for GRUB:
+# serial --unit=1 --speed=57600 --word=8 --parity=no --stop=1
+# terminal --timeout=5 serial console
+# - Configure remote management for Xen:
+# # xenhopt=console=com2L,vga
+# - Configure remote management for Linux:
+# # xenkopt=console=tty0 console=ttyS1,57600n8
+# - Run update-grub
# install keytab
-# install /root/.k5login
-ntpdate
-### for collaboration ###
-aptitude install screen
+# Re-order ssh in the boot process to start before cman/clvm, so you
+# can fix it when it inevitably goes bad
+# update-rc.d -f ssh remove
+# update-rc.d -f ssh start 16 S . stop 84 0 6 .
-### the main event ###
-scp black-mesa:/etc/apt/sources.list.d/* /etc/apt/sources.list.d
-apt-get update
-aptitude install sipb-xen-host-master
-# or scp sx-blade-1:*.deb . && dpkg -i *.deb && apt-get -f install
-
-### clustering... ###
-## should become own package once we figure it out.
-scp OLD-HOST:/etc/cluster/cluster.conf /etc/cluster/cluster.conf
-
-aptitude install clvm cman redhat-cluster-modules-2.6-xen-amd64
-cat >>/etc/modules <<EOF
-cman
-dlm
-EOF
+# Add to the *bottom* of /etc/sysctl.conf
+# net.ipv4.conf.eth0.rp_filter=0
+# net.ipv4.conf.eth1.rp_filter=0
-
-# to take up the new Xen-hypervisor kernel
+## to take up the new Xen-hypervisor kernel
# shutdown -r now
-