1 | |
---|
2 | # Add eth0 configuration to /etc/network/interfaces |
---|
3 | # - Replace 18.181.0 with 10.5.128 |
---|
4 | # - Replace last octet with $((last octet - 205)) |
---|
5 | |
---|
6 | # Copy /etc/hosts from another host |
---|
7 | |
---|
8 | # install invirt-base:/etc/apt/sources.list.d/* |
---|
9 | apt-get update |
---|
10 | aptitude install invirt-host-master |
---|
11 | |
---|
12 | # In /etc/default/xendomains |
---|
13 | # - Set XENDOMAINS_MIGRATE to the "next" host |
---|
14 | # - Set XENDOMAINS_SAVE="" |
---|
15 | |
---|
16 | # Add to /etc/rc.local before the "exit 0": |
---|
17 | # echo -17 > /proc/$(pgrep syslogd)/oom_adj |
---|
18 | |
---|
19 | # In /boot/grub/menu.lst: |
---|
20 | # - Configure remote management for GRUB: |
---|
21 | # serial --unit=1 --speed=57600 --word=8 --parity=no --stop=1 |
---|
22 | # terminal --timeout=5 serial console |
---|
23 | # - Configure remote management for Xen: |
---|
24 | # # xenhopt=console=com2L,vga |
---|
25 | # - Configure remote management for Linux: |
---|
26 | # # xenkopt=console=tty0 console=ttyS1,57600n8 |
---|
27 | # - Run update-grub |
---|
28 | |
---|
29 | # install keytab |
---|
30 | |
---|
31 | # Re-order ssh in the boot process to start before cman/clvm, so you |
---|
32 | # can fix it when it inevitably goes bad |
---|
33 | # update-rc.d -f ssh remove |
---|
34 | # update-rc.d -f ssh start 16 S . stop 84 0 6 . |
---|
35 | |
---|
36 | # Add to the *bottom* of /etc/sysctl.conf |
---|
37 | # net.ipv4.conf.eth0.rp_filter=0 |
---|
38 | # net.ipv4.conf.eth1.rp_filter=0 |
---|
39 | |
---|
40 | ## to take up the new Xen-hypervisor kernel |
---|
41 | # shutdown -r now |
---|