Yes. I have installed Pegasus, libcmpiutil and libvirt-cim. But I am
not sure how to use them. Could you please share if you have any
detailed doc? One line answer is not really helping me out.
I don't know your level of CIM expertise. Libvirt-cim is a set of CIM
providers, as with any providers, you can look at the schema
definitions to figure out the interface and how to use them. We don't
have any more documentation. I pointed you to cimtest to give you an
idea of flow of libvirt-cim. It is actually not needed. We use it as
automated test.
You can download the source from
. All schemas are defined
under 'schema' directory.
-Sharad
Best Regards
Raghu
-----Original Message-----
From: snmishra(a)linux.vnet.ibm.com [mailto:snmishra@linux.vnet.ibm.com]
Sent: 04 June 2012 19:46
To: Raghunatha Reddy P (raghunp)
Cc: libvirt-cim(a)redhat.com
Subject: Re: [Libvirt-cim] regarding creating VM using libvirt-cim
Quoting "Raghunatha Reddy P (raghunp)" <raghunp(a)cisco.com>:
> Hi Sharad,
>
> Thanks for the information.
>
> We need to use CIM-Schemas, defined by DMTF, to create and work on
> VMs. Could you please share the following,
> - What are all soft-wares do I need to install to start working on
> this. Would be good if you can provide step step procedure for this.
It is really simple. All you need are libcmpiutil and libvirt-cim.
Are you using pegasus cimom?
> - What are all the hyper-visors are supported by libvirt-cim?
> Deos it support ESX hypervisor?
KVM, Xen and linux containers.
> - Do we have any detailed documentation/ wiki for this in addition
> to
http://www.libvirt.org/CIM/
>
> Best Regards
> Raghu
> ________________________________________
> From: snmishra(a)linux.vnet.ibm.com [snmishra(a)linux.vnet.ibm.com]
> Sent: Wednesday, May 30, 2012 9:21 PM
> To: Raghunatha Reddy P (raghunp)
> Subject: Re: [Libvirt-cim] regarding creating VM using libvirt-cim
>
> Quoting "Raghunatha Reddy P (raghunp)" <raghunp(a)cisco.com>:
>
>> Hi All,
>> I am very new to libvirt-cim. We wanted to create a VM using
>> libvirt-cim using CIM schemas. Could you please detail the steps
>> involved in this task, procedures, softwares to be installed and run,
>> docs, wikipages, blogs..etc.
>
> Hi Raghu,
>
> Welcome to libvirt-cim.
> Best way to learn how to use libvirt-cim is to create a VM using
> cimtest. You can download cimtest snapshot from
>
http://libvirt.org/git/?p=cimtest.git;a=tree. Go to cimtest directory
> and run the following command -
>
> CIM_NS=root/virt CIM_USER=<<YOUR USERNAME>> CIM_PASS=<<YOUR
PASSWORD>>
> ./runtests libvirt-cim -i localhost -c -d -v KVM -g ComputerSystem -t
> 06_paused_active_suspend.py
>
> Replace <<YOUR USERNAME>> and <<YOUR PASSWORD>> with your
username and
> password.
>
> You may have some missing packages that cimtest needs. Once you have
> them installed, you can follow the test to learn how VMs are created.
> There are lot more tests under cimtest which do more advanced things
> like adding disk/memeory/CPU to existing VM.
>
> Feel free to post on the mailing list if you have any more questions.
>
> -Sharad Mishra
> IBM
>
>>
>> Thanks in advance.
>>
>>
>> Best Regards
>> Raghu
>>
>> -----Original Message-----
>> From: libvirt-cim-bounces(a)redhat.com
>> [mailto:libvirt-cim-bounces@redhat.com] On Behalf Of
>> libvirt-cim-request(a)redhat.com
>> Sent: 30 May 2012 10:50
>> To: Raghunatha Reddy P (raghunp)
>> Subject: Welcome to the "Libvirt-cim" mailing list
>>
>> Welcome to the Libvirt-cim(a)redhat.com mailing list!
>>
>> To post to this list, send your email to:
>>
>> libvirt-cim(a)redhat.com
>>
>> General information about the mailing list is at:
>>
>>
https://www.redhat.com/mailman/listinfo/libvirt-cim
>>
>> If you ever want to unsubscribe or change your options (eg, switch to
>> or from digest mode, change your password, etc.), visit your
>> subscription page at:
>>
>>
>>
https://www.redhat.com/mailman/options/libvirt-cim/raghunp%40cisco.co
>> m
>>
>>
>> You can also make such adjustments via email by sending a message to:
>>
>> Libvirt-cim-request(a)redhat.com
>>
>> with the word `help' in the subject or body (don't include the
>> quotes), and you will get back a message with instructions.
>>
>> You must know your password to change your options (including
>> changing the password, itself) or to unsubscribe. It is:
>>
>> reddy123
>>
>> Normally, Mailman will remind you of your
redhat.com mailing list
>> passwords once every month, although you can disable this if you prefer.
>> This reminder will also include instructions on how to unsubscribe or
>> change your account options. There is also a button on your options
>> page that will email your current password to you.
>>
>> _______________________________________________
>> Libvirt-cim mailing list
>> Libvirt-cim(a)redhat.com
>>
https://www.redhat.com/mailman/listinfo/libvirt-cim