[Openstack] Creating a virtual machine using virsh commands

Haitao Jiang jianghaitao at gmail.com
Wed Oct 23 17:17:08 UTC 2013


Krishnaprasad

You do realize that creating VM using virsh will not be recognized by the
Nova, right?

Which OS you are working with? If you use Ubuntu, you can use vm-builder.
If you use CentOS, you can use virt-install. I had success stories with
both.

If you have Nova running with some VMs, you can get an example of XML by
doing
virsh list to list all VMs and then virsh dumpxml <vm>.

Haitao


On Wed, Oct 23, 2013 at 9:17 AM, Narayanan, Krishnaprasad <
narayana at uni-mainz.de> wrote:

>  Hallo all,****
>
> ** **
>
> I am trying to create a virtual machine using a XML file using libvirt.
> But I am getting an error during this creation process.****
>
> ** **
>
> I am using the virsh commands in order to perform this action. Can
> somebody pass me an example XML file and also describe the steps for
> connecting to the VM?****
>
> ** **
>
> Thanks,****
>
> Krishnaprasad****
>
> ** **
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131023/ff874ecf/attachment.html>


More information about the Openstack mailing list