[Libvirt-cim] regarding creating VM using libvirt-cim

Raghunatha Reddy P (raghunp) raghunp at cisco.com
Mon Jun 4 16:17:23 UTC 2012


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.

Best Regards
Raghu

-----Original Message-----
From: snmishra at linux.vnet.ibm.com [mailto:snmishra at linux.vnet.ibm.com] 
Sent: 04 June 2012 19:46
To: Raghunatha Reddy P (raghunp)
Cc: libvirt-cim at redhat.com
Subject: Re: [Libvirt-cim] regarding creating VM using libvirt-cim


Quoting "Raghunatha Reddy P (raghunp)" <raghunp at 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 at linux.vnet.ibm.com [snmishra at 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 at 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 at redhat.com
>> [mailto:libvirt-cim-bounces at redhat.com] On Behalf Of 
>> libvirt-cim-request at 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 at redhat.com mailing list!
>>
>> To post to this list, send your email to:
>>
>>   libvirt-cim at 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 at 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 at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvirt-cim







More information about the Libvirt-cim mailing list