public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dylan Whyte <d.whyte@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH v2 pve-docs 2/4] fix #844: document first VM/CT start-up delay
Date: Tue, 31 Aug 2021 12:44:21 +0200	[thread overview]
Message-ID: <20210831104423.3602837-2-d.whyte@proxmox.com> (raw)
In-Reply-To: <20210831104423.3602837-1-d.whyte@proxmox.com>

adds subsection to the "PVE Node Management" section, discussing the
initial VM/CT startup delay feature.

also makes reference to this in the Qemu & LXC sections of the
documentation.

Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
---

changes from v1:
* Add section to PVE node management section and cross reference in
pct.adoc and qm.adoc.

 pct.adoc     |  5 +++++
 pvenode.adoc | 18 ++++++++++++++++++
 qm.adoc      |  3 +++
 3 files changed, 26 insertions(+)

diff --git a/pct.adoc b/pct.adoc
index b88569f..c5ed243 100644
--- a/pct.adoc
+++ b/pct.adoc
@@ -433,6 +433,11 @@ 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.
 
+If you require a delay between the host boot and the booting of the first
+container, see the section on
+xref:first_guest_boot_delay[Proxmox VE Node Management].
+
+
 Hookscripts
 ~~~~~~~~~~~
 
diff --git a/pvenode.adoc b/pvenode.adoc
index bace13c..f7835f5 100644
--- a/pvenode.adoc
+++ b/pvenode.adoc
@@ -83,6 +83,24 @@ of `<node>` obtained from the `wakeonlan` property. The node specific
 pvenode config set -wakeonlan XX:XX:XX:XX:XX:XX
 ----
 
+
+[[first_guest_boot_delay]]
+First guest boot delay
+~~~~~~~~~~~~~~~~~~~~~~
+
+In case your VMs/containers rely on slow-to-start external resources, for
+example an NFS server, you can also set a per-node delay between the time {pve}
+boots and the time the first VM/container that is configured to autostart boots
+(see xref:qm_startup_and_shutdown[Automatic Start and Shutdown of Virtual Machines]).
+
+You can achieve this by setting the following (where `10` represents the delay
+in seconds):
+
+----
+pvenode config set --startall-onboot-delay 10
+----
+
+
 // TODO: extend and improve chapter!
 
 ifdef::manvolnum[]
diff --git a/qm.adoc b/qm.adoc
index c291cb0..80734e3 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -923,6 +923,9 @@ 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.
 
+If you require a delay between the host boot and the booting of the first VM,
+see the section on xref:first_guest_boot_delay[Proxmox VE Node Management].
+
 
 [[qm_qemu_agent]]
 Qemu Guest Agent
-- 
2.30.2





  reply	other threads:[~2021-08-31 10:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-31 10:44 [pve-devel] [PATCH v2 pve-docs 1/4] remove pvenode.adoc from chapter 18 Dylan Whyte
2021-08-31 10:44 ` Dylan Whyte [this message]
2021-08-31 10:44 ` [pve-devel] [PATCH v2 pve-docs 3/4] pvenode: add task & migrate/stop/startall sections Dylan Whyte
2021-08-31 15:00   ` Thomas Lamprecht
2021-08-31 10:44 ` [pve-devel] [PATCH v2 pve-docs 4/4] pvenode/wake-on-lan: language fix-up Dylan Whyte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210831104423.3602837-2-d.whyte@proxmox.com \
    --to=d.whyte@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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