[Libvirt-cim] Request for all in one instllation page

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Oct 22 14:04:31 UTC 2008


Toshifumi Fujimura wrote:
> Thanks for your reply.
> 
> Currently, WBEM Client works for getting CIM_OperatingSystem.
> But not for getting KVM_ComputerSystem.
> (I attach the wbemcli output.)

> 
> [root at localhost ~]# wbemcli ein
> http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem
> *
> * wbemcli: Cim: (5) CIM_ERR_INVALID_CLASS: KVM_ComputerSystem
> *

This indicates that the CIM schema for libvirt-cim isn't registered. 
Pegasus is aware of the providers, but the proper mof files aren't in 
its repository.

In your libvirt-cim directory, run the following:

sudo make preuninstall
sudo make preinstall
sudo make postinstall

Then restart Pegasus.


The following query: wbemcli ein 
http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem  might not 
return any records if you don't have any guests defined.

In that case, you can also try:

http://user:pass@localhost:5988/root/virt:KVM_VirtualSystemManagementService

That should always return an instance.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list