johnodon Posted June 10, 2015 Share Posted June 10, 2015 Not sure if this was requested previously or not. Can we have the ability to... 1. Control the order in which containers and VMs start as one or more may have dependencies on others 2. Add a delay value to when a container or VM starts Make sense? Maybe it could be bundled with the request here which is kinda related: http://lime-technology.com/forum/index.php?topic=40537.0 John Link to comment
limetech Posted June 17, 2015 Share Posted June 17, 2015 What's an example of an app/vm ordering dependency? The apps on your phone don't have this notion. Link to comment
johnodon Posted June 17, 2015 Author Share Posted June 17, 2015 What's an example of an app/vm ordering dependency? The apps on your phone don't have this notion. Not a hard requirement but Sonarr looks for download clients (NZBGet, Deluge)to available upon startup. This doesn't cause a true issue...just errors in the logs. Sonarr eventually finds the accompanying apps when they come online. A true hard requirement would be Kodi relying on MariaDB as your media libraries will not be present. I have seen a few times when my Kodi VM was up and running prior to my MariaDB docker (although I though this shouldn't happen). I guess a better example would be if you had a Kodi VM and a MariaDB VM. John Link to comment
archedraft Posted June 17, 2015 Share Posted June 17, 2015 This would be nice for me as well. I would prefer if I could set my pfSense VM to boot first and then the other VM's / Dockers after pfSense is on. Link to comment
Rive Posted March 29, 2017 Share Posted March 29, 2017 Yes, would be very nice to get some VMs booted first. ESXi has this feature, for example (boot delay/boot order). Link to comment
binhex Posted March 31, 2017 Share Posted March 31, 2017 This is a good idea, esp as we dont have any easy way of linking containers that rely on each other through the unraid webui currently, containers that rely on other containers to be up before they start is a perfect example of why this is needed, either a simple dependancy that looks to ensure a container is up before it starts, or a weighting scheme such that the lower a value the earlier it starts, larger values denote later starting docker containers, something like that perhaps?. Link to comment
Squid Posted June 10, 2017 Share Posted June 10, 2017 While it would be nice to have, there is a plugin (Docker Autostart Manager) that can accomplish this for containers, and also have the starting related to a port being available on such and such IP which if done correctly can force the container to no start until after a certain VM is up and running. Link to comment
Caedis Posted July 27, 2017 Share Posted July 27, 2017 The issue is with how unRAID starts the Docker service and checks for updates then, not when they autostart. Docker is set to start immediately before libvirt is started in the emhttpd binary. Link to comment
Lev Posted July 27, 2017 Share Posted July 27, 2017 On 6/17/2015 at 3:16 AM, johnodon said: Not a hard requirement but Sonarr looks for download clients (NZBGet, Deluge)to available upon startup. This doesn't cause a true issue...just errors in the logs. Sonarr eventually finds the accompanying apps when they come online. A true hard requirement would be Kodi relying on MariaDB as your media libraries will not be present. I have seen a few times when my Kodi VM was up and running prior to my MariaDB docker (although I though this shouldn't happen). I guess a better example would be if you had a Kodi VM and a MariaDB VM. John +1 Link to comment
Caedis Posted July 27, 2017 Share Posted July 27, 2017 Also, another example would be having a pfSense VM and since all of your containers have no internet, when the auto-check for update occur on Docker service start, it waits like a minutes or 30 seconds to timeout for each of your containers....Last boot when I had pfSense in a VM was 15 mins (most of that was docker checking for updates, a little was the VM trying to pxe boot (anyone know how to disable pxe booting for SeaBios VMs?)) Link to comment
Barry Staes Posted August 23, 2017 Share Posted August 23, 2017 FYI - This Unraid plugin allows me to set a timeout delay per docker and starting them in a specified order. Have been using it for a while now and it helps avoid false alarms in interdependant dockers. Link to comment
Lev Posted August 23, 2017 Share Posted August 23, 2017 I'm going to try that plug-in, thanks for making it more known. Seems like it's Docker Only though. Be nice to get it native built into UnRAID. Just FYI as a good example of prior art where this was been solved before, I always thought this was simple and worked well. https://virtualizationreview.com/Blogs/Everyday-Virtualization/2012/05/How-To-Set-vSphere-VMs-To-Power-Up-Automatically.aspx Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.