public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Uwe Sauter <uwe.sauter.de@gmail.com>
To: PVE User List <pve-user@pve.proxmox.com>
Subject: [PVE-User] Any way to notify VM that it was migrated?
Date: Fri, 9 Jun 2023 11:47:49 +0200	[thread overview]
Message-ID: <480f81a5-bcf3-08a4-1a62-e161ad494306@gmail.com> (raw)

Hi all,

is there a way to notify a VM (and subsequently trigger some action) when it was migrated from one
host to another?

Recently some updates (either on the Proxmox hosts or in the CentOS 7 VM) caused a change in
behavior for the chronyd that ist running inside some of my VMs.
It seems that chronyd is loosing its synchronization with the remote NTP servers during/shortly
after a migration.
I'd like to trigger a "chronyc burst 5/5" whenever a host was migrated so that chronyd will
re-synchronize.

Regards,

	Uwe



                 reply	other threads:[~2023-06-09  9:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=480f81a5-bcf3-08a4-1a62-e161ad494306@gmail.com \
    --to=uwe.sauter.de@gmail.com \
    --cc=pve-user@pve.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