Status
Not open for further replies.

Spetsnaz

Active Member
735
2011
54
0
Is there any way to determine which vps is being abusesive under KVM?
I know in SolusVM it doesn't show anything, but i know there must be some sort of script for my OS (CentOS 6 64bit) to use.
 
27 comments
SSH the node and type top. See the top PID, press q to exit and then type ps aux | grep PID. Then you can see the vm details.
 
Is there a way to improve the horrible I/O read on windows and such?
Like it lags like a mofo.
you should install win virtio drivers, it will improve I/O and network performance by an 500%.

http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/

Edit KVM guest config file and add:
<disk type='file' device='cdrom'>
<source file='/home/kvm/iso/virtio-win-0.1-59.iso'/>
<target dev='hdc'/>
<readonly/>
</disk>

Load the "storage" drivers from windows installer. For net virtio driver, uninstall default network card, reboot the machine and load net drivers "XP" from mounted iso, reboot, configure network.

If you have problems contact me I am sys admin I know, linux, solusvm, kvm, xen, whm/cpanel, sql, apache, db, etc :wave:
 
yes you can, if you create an batch file. See SolusVM developer guide or contact SolusVM developers.


you should check the virtual machine config file editor from SolusVM Master.
 
lPRgFjS.jpg


On SolusVM Master, you should do it for each KVM machine add:
<disk type='file' device='cdrom'>
<source file='/home/kvm/iso/virtio-win-0.1-59.iso'/>
<target dev='hdc'/>
<readonly/>
</disk>

to that config file and save
 
you should add it in <device></device> tags e.g.:

<device>
<disk type='file' device='cdrom'>
<source file='/home/kvm/iso/virtio-win-0.1-59.iso'/>
<target dev='hdc'/>
<readonly/>
</disk>

Other Devices Listed Here.....
</device>

---------- Post added at 08:39 AM ---------- Previous post was at 08:34 AM ----------

oh okay. Thank you.
And for the auto doing it on first time creation I can't seem to find any guide for it on
http://docs.solusvm.com/v2/Default.htm#Developer/Admin-Api/Admin-Api.htm
it's so hard to copy & paste the KVM guest config on Solus Master then add the new cdrom device?
 
Like this?
Code:
<domain type='kvm'>
 <name>kvm432</name>
 <uuid>8a425580-e741-4614-b84d-d4e2cd444064</uuid>
 <memory>6668288</memory>
 <currentMemory>6668288</currentMemory>
  <memtune>
   <hard_limit>6719488</hard_limit>
  </memtune>
 <vcpu>1</vcpu>
 <cpu>
  <topology sockets='1' cores='1' threads='1'/>
 </cpu>
  <os>
   <type machine='pc'>hvm</type>
   <boot dev='cdrom'/>
   <boot dev='hd'/>
  </os>
 <clock sync='localtime'/>
  <devices>
   <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
     <source file='/dev/vg/kvm432_img'/>
     <target dev='hda' bus='ide'/>
     <driver cache='writethrough'/>
    </disk>
<disk type='file' device='cdrom'>
<source file='/home/solusvm/kvm/driver/Windows-Virtio-Drivers-v0.1.30.iso'/>
<target dev='hdc'/>
<readonly/>
</disk> 
    <interface type='bridge'>
     <model type='e1000' />
     <source bridge='br0'/>
     <target dev='kvm432.0'/>
     <mac address='02:00:00:2c:ae:8b'/>
    </interface>
    <graphics type='vnc' port='6033' passwd='password' listen='0.0.0.0'/>
    <input type='tablet'/>
    <input type='mouse'/>
    </devices>
    <features>
    <acpi/>
    <apic/>
    </features>
    </domain>
 
Don't forget it:
84hU5Qs.jpg


reboot the machine and add:
<disk type='file' device='cdrom'>
<source file='/home/solusvm/kvm/driver/Windows-Virtio-Drivers-v0.1.30.iso'/>
<target dev='hdc'/> <readonly/>
</disk>
save and reboot again
 
No, for net virtio you should do it manually when windows start for first time.

For storage drivers its during windows installation when you're going to select the disk drive click on "load drivers" and select wxp folder Viostor drivers
 
Status
Not open for further replies.
Back
Top