carlopmart
2010-Feb-22 13:51 UTC
[CentOS-virt] Boot delay and startup order for KVM guests
Hi all, Finally, I have migrated my rhel/centos guests from vmware to kvm server using virtio drivers without problems. But I need to startup these guests using certain order and assign boot delays. How can I do this?? Does kvm provides some type of tool to do it?? Or do I need to create virsh scripts to do it?? I have tried autostart option from libvirt but starts all guests at the same time. Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
carlopmart
2010-Feb-23 10:11 UTC
[CentOS-virt] Boot delay and startup order for KVM guests
carlopmart wrote:> Hi all, > > Finally, I have migrated my rhel/centos guests from vmware to kvm > server using virtio drivers without problems. But I need to startup > these guests using certain order and assign boot delays. How can I do > this?? Does kvm provides some type of tool to do it?? Or do I need to > create virsh scripts to do it?? > > I have tried autostart option from libvirt but starts all guests at the > same time. > > Thanks. >Nothing?? -- CL Martinez carlopmart {at} gmail {d0t} com
Benjamin Franz
2010-Feb-23 10:54 UTC
[CentOS-virt] Boot delay and startup order for KVM guests
carlopmart wrote:> carlopmart wrote: > >> Hi all, >> >> Finally, I have migrated my rhel/centos guests from vmware to kvm >> server using virtio drivers without problems. But I need to startup >> these guests using certain order and assign boot delays. How can I do >> this?? Does kvm provides some type of tool to do it?? Or do I need to >> create virsh scripts to do it?? >> >> I have tried autostart option from libvirt but starts all guests at the >> same time. >> >> Thanks. >> > > Nothing?? >http://tinyurl.com/yc356j7 -- Benjamin Franz
carlopmart
2010-Feb-23 11:57 UTC
[CentOS-virt] Boot delay and startup order for KVM guests
Benjamin Franz wrote:> carlopmart wrote: >> carlopmart wrote: >> >>> Hi all, >>> >>> Finally, I have migrated my rhel/centos guests from vmware to kvm >>> server using virtio drivers without problems. But I need to startup >>> these guests using certain order and assign boot delays. How can I do >>> this?? Does kvm provides some type of tool to do it?? Or do I need to >>> create virsh scripts to do it?? >>> >>> I have tried autostart option from libvirt but starts all guests at the >>> same time. >>> >>> Thanks. >>> >> Nothing?? >> > http://tinyurl.com/yc356j7 >Thanks for the link Benjamin, but I only see how to configure boot order for drives, nics, etc and not for vm guests and configure delay boot for guests, which is all I need ... -- CL Martinez carlopmart {at} gmail {d0t} com
On Tue, 23 Feb 2010, carlopmart wrote:> Benjamin Franz wrote: >> carlopmart wrote: >>> carlopmart wrote: >>> >>>> Hi all, >>>> >>>> Finally, I have migrated my rhel/centos guests from vmware to kvm >>>> server using virtio drivers without problems. But I need to startup >>>> these guests using certain order and assign boot delays. How can I do >>>> this?? Does kvm provides some type of tool to do it?? Or do I need to >>>> create virsh scripts to do it?? >>>> >>>> I have tried autostart option from libvirt but starts all guests at the >>>> same time. >>>> >>>> Thanks. >>>> >>> Nothing?? >>> >> http://tinyurl.com/yc356j7 >> > Thanks for the link Benjamin, but I only see how to configure boot order for drives, > nics, etc and not for vm guests and configure delay boot for guests, which is all I > need ... > >You could start your VMs manualy via the kvm command line. This will give you more control, including the start-up order (I imagine you could use `sleep` in a init script).