Hi All , We can set autostart parameter to start the guest automatically when virtual host start .
On Tue, Mar 6, 2012 at 9:25 AM, Alex Jia <a...@redhat.com> wrote: > Hi Daniel, > You may see /etc/init.d/libvirtd carefully, libvirt is default started > on runlevel 3, 4, 5 (# Default-Start: 3 4 5): > > # chkconfig libvirtd --list > libvirtd 0:off 1:off 2:off 3:on 4:on 5:on 6:off > > It may be different for libvirtd location from you, because I'm using > a RHEL OS. > > Good Luck! > Alex > > > ----- Original Message ----- > From: "Daniel Gonzalez" <gonva...@gonvaled.com> > To: "Alex Jia" <a...@redhat.com> > Cc: libvirt-users@redhat.com > Sent: Monday, March 5, 2012 6:08:18 PM > Subject: Re: [libvirt-users] Booting virtual machines automatically > > Thanks Alex, > > > That did the trick. Now I am curious: how is libvirtd started at all? > > > I have Ubuntu 10.10, and I have noticed the presence of a symbolic link: > > > > lrwxrwxrwx 1 root root 21 2011-05-26 09:45 /etc/init.d/libvirt-bin -> > /lib/init/upstart-job > > > But this script is not used in any of the runlevels. Who is starting > libvirtd? > > > Thanks, > Daniel Gonzalez > > On Thu, Mar 1, 2012 at 4:21 PM, Alex Jia < a...@redhat.com > wrote: > > > Hi Daniel, > The following autostart should be okay for you: > > # virsh help autostart > NAME > autostart - autostart a domain > > SYNOPSIS > autostart <domain> [--disable] > > DESCRIPTION > Configure a domain to be automatically started at boot. > > Regards, > Alex > > > > > ----- Original Message ----- > From: "Daniel Gonzalez" < gonva...@gonvaled.com > > To: libvirt-users@redhat.com > Sent: Thursday, March 1, 2012 10:51:45 PM > Subject: [libvirt-users] Booting virtual machines automatically > > > Hello, > > > I am managing several virtual machines (a predefined set) with virsh, and > I would like to make sure that all VMs are booted when the host reboots. > > > What is the recommended approach for this? > > > Thanks, > Daniel Gonzalez > > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users > -- With Best Regards, Nitin Kumar Sr. System Engineer-Unix (CSC India Pvt. Ltd, Noida ) +91-9999706444
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users