Changes between Version 3 and Version 4 of Internal/VMHostSetup
- Timestamp:
- Nov 28, 2011, 10:48:32 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/VMHostSetup
v3 v4 46 46 openvswitch-switch_1.2.2.10448_amd64.deb 47 47 }}} 48 and then Installed them in that order with "dpkg -i". 48 and then Installed them in that order with "dpkg -i". It will recommend a restart. 49 49 [[BR]]'''NOTE:''' The package '''openvswitch-brcompat_1.2.2.10448_amd64.deb''' was removed because we are not using bridge compatability. 50 1. Once these are installed you can start/restart the openvswitch dameon50 1. Once these are installed and the system freshly restarted, you can query the module. 51 51 {{{ 52 /etc/init.d/openvswitch-switch 52 root@external3:~# ovs-vsctl show 53 d03e1847-34f4-4129-8821-63fff3403553 54 ovs_version: "1.2.2.10448" 53 55 }}} 56 lsmod should also show the running openvswitch_mod. 54 57 1. The readme refrenced [http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.KVM;hb=HEAD here] recomends installing 55 58 the uml utilities, I didn't need them but I installed them any way. … … 115 118 However we'll want to add a few parameters to get the machine in a usable mode. 116 119 {{{ 117 kvm - vnc :0 -m 2048 -smp 2 -net nic,macaddr=00:11:22:EE:EE:EE -net tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -drive file=/root/test_mac.img -cdrom /root/ubuntu-11.04-server-amd64.iso -boot d120 kvm -daemonize -vnc :0 -m 2048 -smp 2 -net nic,macaddr=00:11:22:EE:EE:EE -net tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -drive file=/root/test_mac.img -cdrom /root/ubuntu-11.04-server-amd64.iso -boot order=dc 118 121 }}} 119 122 The paramenters are: … … 125 128 * -drive - the name of the disk drive (there are many ways to specify this flag, include -hda,etc ...) 126 129 * -cdrom - location of the iso to use as a cd-rom (alternatively you could use /dev/cdrom) 127 * -boot d - specify boot params like boot order, if omitted will default to the first disk130 * -boot order=dc - specify boot params like boot order, splash screen, etc... If omitted will default to the first disk 128 131 1. Once this done you can point your vnc client (locally, or if you specified the parameters correctly remotely) to the specfied port and answer the prompts to 129 132 preform an installation. … … 131 134 1. Next "remove" the cdrom and start the vm again. It should boot appropriately. Note the missing -boot param. 132 135 {{{ 133 kvm - vnc :0 -m 2048 -smp 2 -net nic,macaddr=00:11:22:EE:EE:EE -net tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -drive file=/root/test_mac.img136 kvm -daemonize -vnc :0 -m 2048 -smp 2 -net nic,macaddr=00:11:22:EE:EE:EE -net tap,script=/etc/ovs-ifup,downscript=/etc/ovs-ifdown -drive file=/root/test_mac.img 134 137 }}} 135 138 ----