update host-master package and notes
[invirt/packages/invirt-host-master.git] / notes
1
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
18 ### for kerberos access; need keytab ###
19 aptitude install krb5-user ntpdate
20 cat >>/etc/ssh/sshd_config <<EOF
21 # accept Kerberos
22 GSSAPIAuthentication yes
23 GSSAPICleanupCredentials yes
24 GSSAPIKeyExchange yes
25 EOF
26 /etc/init.d/ssh reload
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
30 # in an ideal world, all of the above is just
31 #   aptitude install debathena-{ssh-server,kerberos}-config
32
33 # install keytab
34 # install /root/.k5login
35 ntpdate
36
37 ### for collaboration ###
38 aptitude install screen
39
40 ### the main event ###
41 scp black-mesa:/etc/apt/sources.list.d/* /etc/apt/sources.list.d
42 apt-get update
43 aptitude install sipb-xen-host-master
44 # or scp sx-blade-1:*.deb . && dpkg -i *.deb && apt-get -f install
45
46 ### clustering... ###
47 ## should become own package once we figure it out.
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
55
56
57 # to take up the new Xen-hypervisor kernel
58 # shutdown -r now
59