Changes between Version 3 and Version 4 of Internal/VMHostSetup


Ignore:
Timestamp:
Nov 28, 2011, 10:48:32 PM (12 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/VMHostSetup

    v3 v4  
    4646    openvswitch-switch_1.2.2.10448_amd64.deb
    4747    }}}
    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.
    4949    [[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 dameon
     50 1. Once these are installed and the system freshly restarted, you can query the module.
    5151    {{{
    52     /etc/init.d/openvswitch-switch
     52root@external3:~# ovs-vsctl show
     53d03e1847-34f4-4129-8821-63fff3403553
     54ovs_version: "1.2.2.10448"
    5355    }}}
     56    lsmod should also show the running openvswitch_mod.
    5457 1. The readme refrenced [http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.KVM;hb=HEAD here] recomends installing
    5558    the uml utilities, I didn't need them but I installed them any way.
     
    115118    However we'll want to add a few parameters to get the machine in a usable mode.
    116119    {{{
    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 d
     120kvm -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
    118121    }}}
    119122    The paramenters are:
     
    125128    * -drive - the name of the disk drive (there are many ways to specify this flag, include -hda,etc ...)
    126129    * -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 disk
     130    * -boot order=dc - specify boot params like boot order, splash screen, etc... If omitted will default to the first disk
    128131 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
    129132    preform an installation.
     
    131134 1. Next "remove" the cdrom and start the vm again. It should boot appropriately. Note the missing -boot param.
    132135    {{{
    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.img
     136kvm -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
    134137    }}}
    135138----