From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <yannis.milios@gmail.com>
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) server-digest SHA256)
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 1CF7D66448
 for <pve-user@pve.proxmox.com>; Sat, 25 Jul 2020 19:39:46 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 07AFF1200D
 for <pve-user@pve.proxmox.com>; Sat, 25 Jul 2020 19:39:16 +0200 (CEST)
Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com
 [IPv6:2a00:1450:4864:20::236])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id CDDB011FF8
 for <pve-user@pve.proxmox.com>; Sat, 25 Jul 2020 19:39:14 +0200 (CEST)
Received: by mail-lj1-x236.google.com with SMTP id q4so13128415lji.2
 for <pve-user@pve.proxmox.com>; Sat, 25 Jul 2020 10:39:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=Rh4tgOgx9CW4nb1mc0Zu+qHIWQtpP/e2tUrjDc1hxRY=;
 b=i+ZQf/SDLujvJeCrwZQZxI2qSabQDMNmYLg8/3UgRaS9Zu77doIUGpMNyVKi6wGufD
 hV2IdXX7429kag49eu3cyrwb5Mv7skLKmE6FWfXYN7WY5yAdl0dKrA41k63NO2xAxCRm
 f++j5CO6CNQA2uOyVxL/3YuGaEL7PyGpBOajtlY86JuAjNNwHqqvMNtqlUv2xvBP0RM5
 fpteajxXYauCUgiKh+4IrRUl+5TR3YyYeq7Z0aKAgr+nwnRDAE0FqAB1Tzk/04Qi2veD
 aeNAM8489myJIw+Zlkfn14pL35pFYAsK6erK9OFxIA8Sy9KM1RRYfLRFOYplRUIOPdel
 5d9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=Rh4tgOgx9CW4nb1mc0Zu+qHIWQtpP/e2tUrjDc1hxRY=;
 b=ma483Qsrqe+Q3zPpbLHtZ8M9a2q/ZPw8Pqtp3/ns3I9NdQ7gaWNf3O81YPcUCPLNgQ
 NywnAxtfrAYVz0YnFVsh0Cia64W+hy15hHdMYmOa2qdWXaVHp4azbOqbfUtiF4kWO3/j
 6hKzAfIo6e0XNjFze7Z58mAgrlxrbvG8oRI1qwdz3Fwx9RJNXrFm4mYdKm4MzCruKLO2
 rCLCnVdjx9QtnAoP5HQ40UccqA4TgDQoSX9Z1fhgI8rrTMNx7S18+McD4O9oCTaHA1hO
 QvBGGIGOGxKHS2+Q//Co0zQ9oXopdvq7Dq7aNJSK83j7oXjEYbPEaXAlfCgl4kbWUFJh
 eKSg==
X-Gm-Message-State: AOAM533hvHXO1NCMNfcOZa7htWX2eF6/Of2d3ywz7R+xrLMX0g+HDayG
 +26L5gtXxs5S9auUvab6dKf2Vhz3Z6wRaWUvWKo63w==
X-Google-Smtp-Source: ABdhPJwYCMeo06lJwvL9Yl/PwnVN4K0kkdMJsXAh1Rj1vhcN8NnzSk2h5HJ+Z/uLSwp8s3Y8afjWtx6q6ip30UWvZ10=
X-Received: by 2002:a2e:b167:: with SMTP id a7mr7002232ljm.83.1595698747688;
 Sat, 25 Jul 2020 10:39:07 -0700 (PDT)
MIME-Version: 1.0
References: <20200725125208.GA24275@lilliput.linux.it>
In-Reply-To: <20200725125208.GA24275@lilliput.linux.it>
From: Yannis Milios <yannis.milios@gmail.com>
Date: Sat, 25 Jul 2020 18:38:56 +0100
Message-ID: <CAFiF2Opc5Lt20wcDT=RmWa=gVkbBtsnE+9=d32FKNbFeaWibHA@mail.gmail.com>
To: PVE User List <pve-user@pve.proxmox.com>
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
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
 FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider
 HTML_MESSAGE            0.001 HTML included in message
 RCVD_IN_DNSWL_NONE     -0.0001 Sender listed at https://www.dnswl.org/,
 no trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 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, proxmox.com]
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
Subject: Re: [PVE-User] Temporary add a node to a cluster...
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Sat, 25 Jul 2020 17:39:46 -0000

Are you trying to convert (P2V) a physical server into a VM and then after
repurpose the same server into a standalone PVE host?
If so, then definitely it won't be quick, especially without some kind of
shared storage.

You could potentially reduce the time needed by following these steps...

- P2V your physical server into a VM at your test PVE cluster.

- Shutdown original server and then start its VM version on your test
cluster. Leave it running there for some days and see if everything
is working properly.

- Repurpose original server into a PVE host but do _not_ add it as a new
cluster member on your test cluster. Just connect it to the same physical
network.

- Start copying the running VM onto this standalone PVE host. You could use
rsync for example or zfs send/recv if you are using ZFS at both sides.

- Once transfer is finished,  shutdown the VM on the test cluster and then
immediately do a final rsync or zfs send/receive so that the latest changes
are replicated on the target server.

- Create a new VM on standalone server and attach the VM disk onto it.

- Start the VM on standalone server and delete it from your test cluster.



Yannis



On Sat, 25 Jul 2020 at 14:00, Marco Gaiarin <gaio@sv.lnf.it> wrote:

>
> I need to do a P2V 'in place' for a server, and i can use for that a
> 'test cluster' (two HP Microserver) i own.
> But the final result would be two different clusters.
>
> Also, i don't have too much space or time, so my idea is (as just done
> before):
>
> 1) P2V the server in my test cluster
>
> 2) reinstall the server with pve, join to the cluster
>
> 3) migrate the VM to the server.
>
> 4) 'detach' the cluster, eg, following:
>
>         https://pve.proxmox.com/wiki/Cluster_Manager
>
>  delete from server my test cluster and delete from test cluster my
>  server.
>
>
> But is this way the server will belong to my 'test cluster', and
> clusters cannot be renamed, right?
>
> There's some way to 'uncluster' a server?
>
>
> Thanks.
>
> --
> dott. Marco Gaiarin                                     GNUPG Key ID:
> 240A3D66
>   Associazione ``La Nostra Famiglia''
> http://www.lanostrafamiglia.it/
>   Polo FVG   -   Via della Bont=C3=A0, 7 - 33078   -   San Vito al Taglia=
mento
> (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)
>
>
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
> --
Sent from Gmail Mobile