lost and found ( for me ? )

install ovirt-node within KVM


on the KVM host.

enable netsted on kvm_intel ( or kvm_amd )
# cat /sys/module/kvm_intel/parameters/nested
Y

download ovort-node iso file.
ovirt-node-iso-2.6.1-20120228.fc18.iso


Here’s overt-node VM’s xml file.
CPU parameters would differ from what type of CPU you are using.
virsh # dumpxml overt-node-1
<domain type='kvm' id='6'>
 <name>ovirt-node-1</name>
 <uuid>65647276-4fb5-9618-6fe8-5eab743ea473</uuid>
 <memory unit='KiB'>1048576</memory>
 <currentMemory unit='KiB'>1048576</currentMemory>
 <vcpu placement='static'>1</vcpu>
 <os>
   <type arch='x86_64' machine='pc-1.2'>hvm</type>
   <boot dev='cdrom'/>
   <boot dev='hd'/>
 </os>
 <features>
   <acpi/>
   <apic/>
   <pae/>
 </features>
 <cpu mode='custom' match='exact'>
   <model fallback='allow'>Westmere</model>
   <vendor>Intel</vendor>
   <feature policy='require' name='tm2'/>
   <feature policy='require' name='est'/>
   <feature policy='require' name='vmx'/>
   <feature policy='require' name='ds'/>
   <feature policy='require' name='smx'/>
   <feature policy='require' name='ss'/>
   <feature policy='require' name='vme'/>
   <feature policy='require' name='dtes64'/>
   <feature policy='require' name='rdtscp'/>
   <feature policy='require' name='ht'/>
   <feature policy='require' name='dca'/>
   <feature policy='require' name='pbe'/>
   <feature policy='require' name='tm'/>
   <feature policy='require' name='pdcm'/>
   <feature policy='require' name='pdpe1gb'/>
   <feature policy='require' name='ds_cpl'/>
   <feature policy='require' name='pclmuldq'/>
   <feature policy='require' name='xtpr'/>
   <feature policy='require' name='acpi'/>
   <feature policy='require' name='monitor'/>
 </cpu>
 <clock offset='utc'/>
 <on_poweroff>destroy</on_poweroff>
 <on_reboot>destroy</on_reboot>
 <on_crash>destroy</on_crash>
 <devices>
   <emulator>/usr/bin/kvm</emulator>
   <disk type='file' device='disk'>
     <driver name='qemu' type='raw'/>
     <source file='/var/lib/libvirt/images/ovirt-node-1.img'/>
     <target dev='vda' bus='virtio'/>
     <alias name='virtio-disk0'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
   </disk>
   <disk type='file' device='cdrom'>
     <driver name='qemu' type='raw'/>
     <source file='/home/hattori/ISO_files/ovirt-node-iso-2.6.1-20120228.fc18.iso'/>
     <target dev='hdc' bus='ide'/>
     <readonly/>
     <alias name='ide0-1-0'/>
     <address type='drive' controller='0' bus='1' target='0' unit='0'/>
   </disk>
   <controller type='usb' index='0'>
     <alias name='usb0'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
   </controller>
   <controller type='ide' index='0'>
     <alias name='ide0'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
   </controller>
   <interface type='bridge'>
     <mac address='52:54:00:3b:bb:65'/>
     <source bridge='br0'/>
     <target dev='vnet1'/>
     <model type='rtl8139'/>
     <alias name='net0'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
   </interface>
   <serial type='pty'>
     <source path='/dev/pts/9'/>
     <target port='0'/>
     <alias name='serial0'/>
   </serial>
   <console type='pty' tty='/dev/pts/9'>
     <source path='/dev/pts/9'/>
     <target type='serial' port='0'/>
     <alias name='serial0'/>
   </console>
   <input type='tablet' bus='usb'>
     <alias name='input0'/>
   </input>
   <input type='mouse' bus='ps2'/>
   <graphics type='vnc' port='5902' autoport='yes' listen='0.0.0.0'>
     <listen type='address' address='0.0.0.0'/>
   </graphics>
   <video>
     <model type='cirrus' vram='9216' heads='1'/>
     <alias name='video0'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
   </video>
   <memballoon model='virtio'>
     <alias name='balloon0'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
   </memballoon>
 </devices>
 <seclabel type='none'/>
</domain>

virsh #

install ovort-node.




after log into overt-node.



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.