
# install sipb-xen-base:/etc/apt/sources.list.d/*
apt-get update
aptitude install sipb-xen-host-master

# install keytab

## 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



########### old, more complicated version

### 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

# install keytab
# install /root/.k5login
ntpdate

### for collaboration ###
aptitude install screen

### 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


# to take up the new Xen-hypervisor kernel
# shutdown -r now

