Renamed standalone node

SnAkEhIpS

New Member
Aug 20, 2018
13
0
1
51
Renamed standalone node. Changed /etc/hosts and /etc/hostname from "PVE" to "MSI". Now I've gone and done it. When I restarted the node, I see both MSI and PVE. MSI has a green dot. PVE has all of my VM's with '?'. What did the noob miss on this one? I thought "migrating" to MSI would be smart and this is the error I get:

Connection error 596: tls_process_server_certificate: certificate verify failed
 
If you login with SSH you have to change the directory to PVE like this:
Code:
cd /etc/pve

ls -l
lrwxr-xr-x 1 root www-data    0 Jan  1  1970 qemu-server -> nodes/yourserver/qemu-server/
lrwxr-xr-x 1 root www-data    0 Jan  1  1970 openvz -> nodes/yourserver/openvz/
lrwxr-xr-x 1 root www-data    0 Jan  1  1970 lxc -> nodes/yourserver/lxc/
lrwxr-xr-x 1 root www-data    0 Jan  1  1970 local -> nodes/yourserver/
drwx------ 2 root www-data    0 Mär 19  2019 priv/
drwxr-xr-x 2 root www-data    0 Mär 19  2019 nodes/
-rw-r----- 1 root www-data 1675 Mär 19  2019 pve-www.key
-rw-r----- 1 root www-data 2057 Mär 19  2019 pve-root-ca.pem
-rw-r----- 1 root www-data  594 Mär 19  2019 corosync.conf
drwxr-xr-x 2 root www-data    0 Mai 12 15:00 virtual-guest/
-rw-r----- 1 root www-data   13 Mai 12 19:48 datacenter.cfg
drwxr-xr-x 2 root www-data    0 Mai 31 00:06 sdn/
drwxr-xr-x 2 root www-data    0 Mai 31 00:06 ha/
-rw-r----- 1 root www-data  275 Sep 13 00:11 domains.cfg
-rw-r----- 1 root www-data  639 Sep 19 22:17 vzdump.cron
-rw-r----- 1 root www-data 1156 Sep 20 19:34 storage.cfg
-rw-r----- 1 root www-data  624 Sep 23 01:05 replication.cfg
-rw-r----- 1 root www-data  451 Sep 28 18:12 authkey.pub.old
-rw-r----- 1 root www-data  451 Sep 28 18:12 authkey.pub
-rw-r----- 1 root www-data  919 Sep 28 21:58 user.cfg

Under nodes you see the old folders. I don't know exactly, it is a time ago, but if you have a look in the foldertree, all Configs should moved to the new place/new Nodename. After that, the old Nodefolder can be deleted.
 
Post your tree.
Code:
tree /etc/pve
ls -l /etc/pve
ls -l /etc/pve/nodes
 
The folder structure looks like this
Code:
ls -l /etc/pve
total 4
-rw-r----- 1 root www-data  451 Sep 30 13:37 authkey.pub
-rw-r----- 1 root www-data  451 Sep 30 13:37 authkey.pub.old
-rw-r----- 1 root www-data   13 Sep 25 12:22 datacenter.cfg
drwxr-xr-x 2 root www-data    0 Sep 23 13:37 ha
lrwxr-xr-x 1 root www-data    0 Jan  1  1970 local -> nodes/AnzahProxmox
lrwxr-xr-x 1 root www-data    0 Jan  1  1970 lxc -> nodes/AnzahProxmox/lxc
drwxr-xr-x 2 root www-data    0 Sep 23 13:37 nodes
lrwxr-xr-x 1 root www-data    0 Jan  1  1970 openvz -> nodes/AnzahProxmox/openvz
drwx------ 2 root www-data    0 Sep 23 13:37 priv
-rw-r----- 1 root www-data 2074 Sep 23 13:37 pve-root-ca.pem
-rw-r----- 1 root www-data 1679 Sep 23 13:37 pve-www.key
lrwxr-xr-x 1 root www-data    0 Jan  1  1970 qemu-server -> nodes/AnzahProxmox/qemu-server
-rw-r----- 1 root www-data    0 Sep 24 18:21 replication.cfg
drwxr-xr-x 2 root www-data    0 Sep 23 13:37 sdn
-rw-r----- 1 root www-data  208 Sep 24 08:56 storage.cfg
-rw-r----- 1 root www-data  165 Sep 24 22:54 user.cfg
drwxr-xr-x 2 root www-data    0 Sep 23 13:37 virtual-guest
-rw-r----- 1 root www-data  120 Sep 24 18:21 vzdump.cron
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!