From 8be0a810bb11b5e10cc8d617e4283e3003172081 Mon Sep 17 00:00:00 2001 From: Adam Glasgall Date: Sun, 21 Jul 2013 19:12:18 -0400 Subject: [PATCH] updated with notes for precise --- xvm-host-setup-notes | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/xvm-host-setup-notes b/xvm-host-setup-notes index 3ba8a4d..4a078d1 100644 --- a/xvm-host-setup-notes +++ b/xvm-host-setup-notes @@ -91,3 +91,37 @@ Currently allocated backend IPs: 10.6.128.129 RAID device/management 10.6.128.229 g-d IPMI (temporary hardware) + + +Precise hosts: + +Copy /etc/invirt/conf.d/iscsi from another prod host before trying to +start iscsi (possibly before installing xvm-host) + +After installing xen: +/etc/default/grub (note the commenting out!): +GRUB_DEFAULT=2 +#GRUB_HIDDEN_TIMEOUT=0 +#GRUB_HIDDEN_TIMEOUT_QUIET=true +GRUB_TIMEOUT=10 +GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` +GRUB_CMDLINE_LINUX="console=hvc0 earlyprintk=xen nosplash" +GRUB_CMDLINE_XEN="loglvl=all guest_loglvl=all com2=115200,8n1 console=com2,vga" +GRUB_DISABLE_OS_PROBER="true" + +update-grub + +ln -s /usr/share/qemu-linaro /usr/share/qemu + +Change /etc/hostname to the host's FQDN + +/etc/sysctl.conf (yes, you need all three): +net.ipv4.conf.eth0.rp_filter = 0 +net.ipv4.conf.eth1.rp_filter = 0 +net.ipv4.conf.all.rp_filter = 0 + +On boot, you'll need to run /usr/lib/xvm-iscsi-connect to bring up +iscsi. Multipath will come up automatically along with that. + +Make sure corosync is running before starting clvmd (I know, obvious, but still) + -- 1.7.9.5