From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 79DB0603F8 for ; Fri, 16 Oct 2020 16:46:41 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6FC7C1C0C1 for ; Fri, 16 Oct 2020 16:46:41 +0200 (CEST) Received: from smtp1.ngi.it (smtp1.ngi.it [IPv6:2001:4c91::112]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6FD981C0B7 for ; Fri, 16 Oct 2020 16:46:40 +0200 (CEST) Received: from tank.sv.lnf.it (unknown [88.147.114.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.ngi.it (Postfix) with ESMTPS id EBC1A60E66 for ; Fri, 16 Oct 2020 16:46:27 +0200 (CEST) Authentication-Results: smtp1.ngi.it; dkim=pass (1024-bit key; unprotected) header.d=sv.lnf.it header.i=@sv.lnf.it header.b="FOGeypUF"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sv.lnf.it; s=2017; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6mL4c1y0dAdjCkyvlxcE+GLyYmVTzo6tPpanOLEo8qg=; b=FOGeypUFHvQiO+RS/2OF0QaGFu CNKftN9Li6aPgmEQQ41cHdMdTmFe+bnT7CZ7LUqW8jQSDnucyk6qAKBvlS+xhDU4+bz7wvr35k6eR Jp7MjgWZk8ODV9Zxfx8HkOUxzSVL8QnFCqCPkeTiEUtFhMj9V11wcxenooRpYUYSBE6s=; Received: from [10.5.1.3] (helo=vdmsv1.ad.fvg.lnf.it) by tank.sv.lnf.it with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1kTQzz-0001qP-B2 for pve-user@lists.proxmox.com; Fri, 16 Oct 2020 16:46:27 +0200 Received: from [10.5.1.44] (helo=hermione.sv.lnf.it) by vdmsv1.ad.fvg.lnf.it with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1kTQzy-0003EL-Ny for pve-user@lists.proxmox.com; Fri, 16 Oct 2020 16:46:26 +0200 Received: by hermione.sv.lnf.it (Postfix, from userid 1000) id 95B56A00138; Fri, 16 Oct 2020 16:46:26 +0200 (CEST) Date: Fri, 16 Oct 2020 16:46:26 +0200 From: Marco Gaiarin To: pve-user@lists.proxmox.com Message-ID: <20201016144626.GR4280@sv.lnf.it> References: <20201014132124.GH30379@sv.lnf.it> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 'Organization: Associazione La Nostra Famiglia - Polo FVG' 'From: Marco Gaiarin ' User-Agent: Mutt/1.9.4 (2018-02-28) X-SPAM-LEVEL: Spam detection results: 0 DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain JMQ_SPF_NEUTRAL 0.5 SPF set to ?all SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record T_SPF_PERMERROR 0.01 SPF: test of record failed (permerror) URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [lanostrafamiglia.it, lnf.it] Subject: Re: [PVE-User] 'HA' on a single node... X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2020 14:46:41 -0000 Mandi! Arjen via pve-user In chel di` si favelave... > Maybe the watchdog option[0] can be of help? You can make the VM restart if it freezes. Interesting... so i will add to my 'firewall' VM: watchdog: model=i6300esb,action=reset and then install and configure watchdog on the VM... > You can also use qm agent ${VMID} ping [1] to check if the QEMU guest agent is still running in the VM. > But you will have to do some scripting and check regularly (crontab?) and reset the VM hard if not responding > (and also give it some time to start the QEMU guest agent). Good also. But there's some sort of 'feedback' for unresponsive VM? I suppose this is only a go/nogo test... > Note that none of those methods may be perfect, but multiple together might help restarting the VM in common cases. [...] > Hope this helps. Maybe other people have more tips and tricks? Probably doing the wrong thing here can be catastrophic, so i hope someone have some more feedback. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)