search for: phate867

Displaying 16 results from an estimated 16 matches for "phate867".

2014 Mar 07
3
"connection refused", but server is listening
netstat -lptu gives me tcp6 0 0 [::]:16514 [::]:* LISTEN 1314/libvirtd so the server is correctly listening on interfaces. My /etc/libvirt/libvirtd settings are defaulted. My /etc/default/libvirt-bin has "-d -l" options so server is listening. If I do virsh -c qemu://143.225.229.190/system (that is my ip or an ip belonging to my network) I
2014 Feb 26
1
Problems with tls connection when ran with user privileges
I set up my certificates, ca client and server, as described in your documentation: http://wiki.libvirt.org/page/TLSCreateServerCerts. I followed it step by step so it must be ok. However, when I run virsh -c qemu://192.168.1.2/system and I try a command like list --all I get: error: impossible connect to the hypervisor errore: no valid connection errore: Unable to set x509 CA certificate:
2014 Mar 07
0
Re: "connection refused", but server is listening
...let it be local or remote, just hangs indefinitely. The is no *censored* way to restart the libvirt daemon: it just leads to hang. The only *censored* way to restart it is to restart the whole system and pray libvirt starts after the name resolution. 2014-03-07 10:26 GMT+01:00 Pasquale Dir <phate867@gmail.com>: > netstat -lptu > gives me > tcp6 0 0 [::]:16514 [::]:* LISTEN > 1314/libvirtd > > so the server is correctly listening on interfaces. > > My /etc/libvirt/libvirtd settings are defaulted. > My /etc/default/libv...
2014 Mar 15
0
Re: Problem in getting memory statistics
...rall cpu time given to this vm...but the sum doesn't add up: user_time+system_time != cpu_time. As I would need to get a %cpu usage, like virt-manager does (so it IS possible, and it IS in python), what operation do I need to do to make this happen? 2014-03-12 13:36 GMT+01:00 Pasquale Dir <phate867@gmail.com>: > Hello, > I need to get how much memory is used by a guest system, in order to > implement some monitoring function which tells me if the system is > overstressed. > > I am currently using java apis and the binding which was suggested to me > was > Domain.me...
2014 Mar 12
4
Problem in getting memory statistics
Hello, I need to get how much memory is used by a guest system, in order to implement some monitoring function which tells me if the system is overstressed. I am currently using java apis and the binding which was suggested to me was Domain.memoryStats(); This is a binding to int virDomainMemoryStats (virDomainPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainPtr>dom,
2014 Mar 30
2
Re: Programmatically force shutdown a guest: possible?
Yes, you are right. Listen, as the documentation is not very exaustive, can you explain briefly to me how a guest agent works? After installing it via the apt-get on the hypervisor (I am using ubuntu as host system) how can I create a script which would do this? That is waiting for an acpi signal and actually shut down the guest. And what other operation can you actually do with a guest agent? I
2014 Feb 28
1
Set a domain name instead of an ip address into tls certificate
I tried to set cn=myMachine instead of cn=192.168.1.x and...everything frezees! virsh -c qemu://.../system tries to connect forever. You really need static ip addresses in the cn field?? I think this is an HUGE bug: you are saying to me that each time I change network or ip (because, dear sirs, dhcp exists) I have to generate a whole new couple of certificates?? I hope it is not the case....
2014 Mar 01
0
What is the best virtual network for my case?
I have an openvswitch switch controlled by a controller. I want to have a group of virtual machines which can be on different nodes but sharing the same ip address thus having the illusion of being on the same network. So, each vm I start gets an ip (I was thinking about something like 192.168.y.x 255.255.0.0 where y would be the node and x the vm, this way each node can have its own dhcp
2014 Mar 04
1
Live migration (kvm) not working if any I/O operation is in progress
Hello, I'd like to know if this is an hypervisor related problem or a libvirt one. I did this experiment: on VM I started watching a video on youtube. While video was in progress I started migration. Migration did not complete until video was not finished. I did another experiment: I installed a web server on VM. I then started an httperf stress test. As before migration did not complete
2014 Mar 05
1
Flags in java api bindings
I am currently using Connect(String,ConnectAuth,int) constructor, as I decided to use tcp connection and I need the auth part. It works, but I still need the read/write flag which, in the Connect(String, boolean) is a boolean. I need to enable write permits. In the javadoc no flags are defined...so which is the flag for allow write? And where can I find a list?
2014 Mar 31
0
Specify a disk image file which is on an iscsi target
Hello, for my vm I'd like to specify a disk image which would be on an iscsi target. Currently, by using targets directly, I'd just specify the path in /dev/disk/by-path/ip-192.168.1.2:3260-iscsi-iqn.myiqn but how to specify a file which is actually INSIDE this path, ex. /dev/disk/by-path/ip-192.168.1.2:3260-iscsi-iqn.myiqn/myVmImage.img ? I saw that there is another path in
2014 Apr 01
2
Async migration: possible?
I am seeing that migrate() function is blocking, isn't there a non blocking function with a callback associated to it, so to report events like end migration, migration progress (job domain info informations) and so on? Pasquale -------------- next part -------------- An HTML attachment was scrubbed... URL:
2014 Apr 01
0
Advice request for building a centralized vm disk provider server
Hello again, sorry for mailing in so short time but I have another question about live migration. >From redhat documentation I see that the storage for a VM which has to be migrated has to be shared throught some mechanism and I have chosen iscsi. Anyway I now would need a way to dinamically create a new virtual machine and so a virtual hard disk, note that this vm will have to be migrated
2014 Apr 14
1
Is it possible to get the vm which is using a storage pool's volume?
Hello, how can I programmatically get the vm which is currently using a storage volume? I looked at the apis but I can't find anything about it. Pasquale
2014 Apr 17
0
"failed to send audit message operation not permitted"
Hello, I have a remote ubuntu server on which I have a kvm hypervisor installed. Now, on my ubuntu desktop, I create a new connection with virt-manager and start a remote guest. The guest successfully starts, however I can't see it in the console and, on client side, I get that remote user closed it. Looking at the /var/log/libvirtd on the server side I get that error: "failed to send
2014 Mar 29
2
Programmatically force shutdown a guest: possible?
I am looking at the shutdown method, but if the guest system is a desktop system, like for example ubuntu, it just has the effect to show a box prompting the user for a shutdown/reboot/ and such. I could enter the guest and change this default behaviour and it actually works..but I'd like for a way to send a shutdown command without doing so. Is it possible?