<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>just a followup with more information:<br>
<br>
</p>
<div>The approach I have tried is to update /etc/sysconfig/libvirt-guests as follows:<br>
<br>
# URIs to check for running guests<br>
# example: URIS='default xen:/// vbox+tcp://host/system lxc:///'<br>
#URIS=default<br>
<br>
# action taken on host boot<br>
# - start   all guests which were running on shutdown are started on boot<br>
#           regardless on their autostart settings<br>
# - ignore  libvirt-guests init script won't start any guest on boot, however,<br>
#           guests marked as autostart will still be automatically started by<br>
#           libvirtd<br>
ON_BOOT=ignore<br>
<br>
# Number of seconds to wait between each guest start. Set to 0 to allow<br>
# parallel startup.<br>
START_DELAY=180<br>
<br>
# action taken on host shutdown<br>
# - suspend   all running guests are suspended using virsh managedsave<br>
# - shutdown  all running guests are asked to shutdown. Please be careful with<br>
#             this settings since there is no way to distinguish between a<br>
#             guest which is stuck or ignores shutdown requests and a guest<br>
#             which just needs a long time to shutdown. When setting<br>
#             ON_SHUTDOWN=shutdown, you must also set SHUTDOWN_TIMEOUT to a<br>
#             value suitable for your guests.<br>
ON_SHUTDOWN=shutdown<br>
<br>
# If set to non-zero, shutdown will suspend guests concurrently. Number of<br>
# guests on shutdown at any time will not exceed number set in this variable.<br>
#PARALLEL_SHUTDOWN=0<br>
<br>
# Number of seconds we're willing to wait for a guest to shut down. If parallel<br>
# shutdown is enabled, this timeout applies as a timeout for shutting down all<br>
# guests on a single URI defined in the variable URIS. If this is 0, then there<br>
# is no time out (use with caution, as guests might not respond to a shutdown<br>
# request). The default value is 300 seconds (5 minutes).<br>
#SHUTDOWN_TIMEOUT=300<br>
<br>
# If non-zero, try to bypass the file system cache when saving and<br>
# restoring guests, even though this may give slower operation for<br>
# some file systems.<br>
#BYPASS_CACHE=0<br>
I have verified the default URIs path in libvirt.conf is correct also and have tried changing the default in the above config file to qemu:///system & qemu:///<br>
<br>
All the guests boot at the same time regardless of changes made.<br>
<br>
I have also tried removing the contents of /etc/libvirt/qemu/autostart/ incase the symbolic links were overriding the libvirt-guests config however nothing starts then (not surprising).</div>
<br>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> libvirt-users-bounces@redhat.com <libvirt-users-bounces@redhat.com> on behalf of Inception Hosting <inbox@inceptionhosting.com><br>
<b>Sent:</b> 22 August 2018 13:43:07<br>
<b>To:</b> libvirt-users@redhat.com<br>
<b>Subject:</b> [libvirt-users] Guest startup delay options ignored</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Folks,</p>
<p><br>
</p>
<p>been searching around for a while on this and see similar issues reported going back a number of years without solution.</p>
<p><br>
</p>
<p>The <span>START_DELAY=(number) seems to be completely ignored in <span>/etc/sysconfig/libvirt-guests which is unfortunate as it means everything starts at once without control.</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>This is fine on NVMe based servers however on the older spinning disks the I/O is creating significant issues.</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Is anyone aware of any other methods to achieve a start up delay for guest virtual machines on boot?</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Thanks.</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Anthony.</span></span></p>
<p><span><span><br>
</span></span></p>
</div>
</div>
</body>
</html>