public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve-docs] fix #844: document first VM/CT start-up delay
@ 2021-08-25 13:15 Dylan Whyte
  2021-08-25 13:55 ` Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dylan Whyte @ 2021-08-25 13:15 UTC (permalink / raw)
  To: pve-devel

adds paragraphs in the respective qm/pct boot order sections, mentioning
the initial VM/CT startup delay feature.

Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
---
 pct.adoc | 10 ++++++++++
 qm.adoc  |  8 ++++++++
 2 files changed, 18 insertions(+)

diff --git a/pct.adoc b/pct.adoc
index b88569f..deb57ef 100644
--- a/pct.adoc
+++ b/pct.adoc
@@ -433,6 +433,16 @@ always start after those where the parameter is set, and this parameter only
 makes sense between the machines running locally on a host, and not
 cluster-wide.
 
+In case your containers rely on slow-to-start resources, for example an external
+NFS server, you can also set a per-node delay between the time {pve} boots and
+the time the first container boots. This can be achieved by setting the
+following:
+
+ pvenode config set --startall-onboot-delay 10
+
+where `10` represents the delay in seconds.
+
+
 Hookscripts
 ~~~~~~~~~~~
 
diff --git a/qm.adoc b/qm.adoc
index c291cb0..7f23ede 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -923,6 +923,14 @@ start after those where the parameter is set. Further, this parameter can only
 be enforced between virtual machines running on the same host, not
 cluster-wide.
 
+In case your VMs rely on slow-to-start resources, for example an external NFS
+server, you can also set a per-node delay between the time {pve} boots and the
+time the first VM boots. This can be achieved by setting the following:
+
+ pvenode config set --startall-onboot-delay 10
+
+where `10` represents the delay in seconds.
+
 
 [[qm_qemu_agent]]
 Qemu Guest Agent
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-25 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 13:15 [pve-devel] [PATCH pve-docs] fix #844: document first VM/CT start-up delay Dylan Whyte
2021-08-25 13:55 ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal