| [453] | 1 |  | 
|---|
| [675] | 2 | # install sipb-xen-base:/etc/apt/sources.list.d/* | 
|---|
|  | 3 | apt-get update | 
|---|
|  | 4 | aptitude install sipb-xen-host-master | 
|---|
|  | 5 |  | 
|---|
|  | 6 | # install keytab | 
|---|
|  | 7 |  | 
|---|
|  | 8 | ## clustering should be handled by sipb-xen-clvm-config, | 
|---|
|  | 9 | ## but if not then see below | 
|---|
|  | 10 |  | 
|---|
|  | 11 | ## to take up the new Xen-hypervisor kernel | 
|---|
|  | 12 | # shutdown -r now | 
|---|
|  | 13 |  | 
|---|
|  | 14 |  | 
|---|
|  | 15 |  | 
|---|
|  | 16 | ########### old, more complicated version | 
|---|
|  | 17 |  | 
|---|
| [461] | 18 | ### for kerberos access; need keytab ### | 
|---|
|  | 19 | aptitude install krb5-user ntpdate | 
|---|
| [453] | 20 | cat >>/etc/ssh/sshd_config <<EOF | 
|---|
|  | 21 | # accept Kerberos | 
|---|
|  | 22 | GSSAPIAuthentication yes | 
|---|
|  | 23 | GSSAPICleanupCredentials yes | 
|---|
|  | 24 | GSSAPIKeyExchange yes | 
|---|
|  | 25 | EOF | 
|---|
| [481] | 26 | /etc/init.d/ssh reload | 
|---|
| [483] | 27 | # Set default realm to ATHENA.MIT.EDU | 
|---|
|  | 28 | printf "krb5-config\tkrb5-config/default_realm\tstring\tATHENA.MIT.EDU" | debconf-set-selections | 
|---|
|  | 29 | dpkg-reconfigure -fnoninteractive krb5-config | 
|---|
| [568] | 30 | # in an ideal world, all of the above is just | 
|---|
|  | 31 | #   aptitude install debathena-{ssh-server,kerberos}-config | 
|---|
|  | 32 |  | 
|---|
| [453] | 33 | # install keytab | 
|---|
|  | 34 | # install /root/.k5login | 
|---|
| [461] | 35 | ntpdate | 
|---|
| [453] | 36 |  | 
|---|
| [461] | 37 | ### for collaboration ### | 
|---|
|  | 38 | aptitude install screen | 
|---|
| [453] | 39 |  | 
|---|
| [461] | 40 | ### the main event ### | 
|---|
| [568] | 41 | scp black-mesa:/etc/apt/sources.list.d/* /etc/apt/sources.list.d | 
|---|
| [461] | 42 | apt-get update | 
|---|
|  | 43 | aptitude install sipb-xen-host-master | 
|---|
| [568] | 44 | # or scp sx-blade-1:*.deb . && dpkg -i *.deb && apt-get -f install | 
|---|
| [453] | 45 |  | 
|---|
| [461] | 46 | ### clustering... ### | 
|---|
|  | 47 | ## should become own package once we figure it out. | 
|---|
| [468] | 48 | scp OLD-HOST:/etc/cluster/cluster.conf /etc/cluster/cluster.conf | 
|---|
|  | 49 |  | 
|---|
|  | 50 | aptitude install clvm cman redhat-cluster-modules-2.6-xen-amd64 | 
|---|
|  | 51 | cat >>/etc/modules <<EOF | 
|---|
|  | 52 | cman | 
|---|
|  | 53 | dlm | 
|---|
|  | 54 | EOF | 
|---|
| [469] | 55 |  | 
|---|
|  | 56 |  | 
|---|
|  | 57 | # to take up the new Xen-hypervisor kernel | 
|---|
|  | 58 | # shutdown -r now | 
|---|
|  | 59 |  | 
|---|