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@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(a)linux.vnet.ibm.com