Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   KVM Guest Startup Order (http://www.linux-archive.org/red-hat-linux/546602-kvm-guest-startup-order.html)

"Christoffersen, Isaac" 06-30-2011 03:31 PM

KVM Guest Startup Order
 
Anyone know if you can set the autostart order for guest KVM images on
a standard RHEL 5.x install?


Isaac

--

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Soeren Grunewald 07-01-2011 03:57 PM

KVM Guest Startup Order
 
Hi Isaac,

i guess you're using libvirt. in this case the autostart of the vm's is
done by placing a symlink of the vm-definition into

/etc/libvirt/qemu/autostart/.
you can prefix these shortcuts to set the required order. e.g.

10-db-server.xml -> /etc/libvirt/qemu/rhel5.6-db-psql.xml
20-web-server.xml -> /etc/libvirt/qemu/rhel5.6-web-wiki.xml

this should to the job, but note: you might get trouble when updateing
autostart settings using tools like virsh or virt-manager.

--
Regards
Soeren



On 06/30/2011 05:31 PM, Christoffersen, Isaac wrote:

Anyone know if you can set the autostart order for guest KVM images on
a standard RHEL 5.x install?


Isaac

--



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

"Christoffersen, Isaac" 07-01-2011 04:09 PM

KVM Guest Startup Order
 
Thanks Soeren. I think this should do the trick.

Isaac

On Fri, Jul 1, 2011 at 11:57 AM, Soeren Grunewald
<soeren.grunewald@avionic-design.de> wrote:
> Hi Isaac,
>
> i guess you're using libvirt. in this case the autostart of the vm's is done
> by placing a symlink of the vm-definition into
> /etc/libvirt/qemu/autostart/.
> you can prefix these shortcuts to set the required order. e.g.
>
> 10-db-server.xml -> /etc/libvirt/qemu/rhel5.6-db-psql.xml
> 20-web-server.xml -> /etc/libvirt/qemu/rhel5.6-web-wiki.xml
>
> this should to the job, but note: you might get trouble when updateing
> autostart settings using tools like virsh or virt-manager.
> --
> Regards
> Soeren
>
>
>
> On 06/30/2011 05:31 PM, Christoffersen, Isaac wrote:
>>
>> Anyone know if you can set the autostart order for guest KVM images on
>> a standard RHEL 5.x install?
>>
>>
>> Isaac
>>
>> --
>>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--

Isaac Christoffersen**| *Contributing Partner, Open Source Solutions |
Colloquium
mobile: *703.980.2836 *| *email: *isaac.christoffersen@colloquium.co
web:*http://www.colloquium.co**| *twitter: @colloquiumco *| *identica:
@colloquiumco

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 06:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.