I've made a mess and need some help please as not quite sure what I've done wrong and can see it getting worse at this stage, probably several things but I'm learning
When I come to add the 2nd node to the cluster I can see it's using the peer address of 172.31 when I was hoping it would use the 192 direct connection as understood it was better to have corosync communicating over a separate connection
To explain:
2 instances of proxmox 5.4.3.
Note: Hostname on proxmox.rml is still PVE as I wasn't sure I could change it after I'd added VMs- seen different answers on the forum/ help and didn't want to risk it. Long term plan was to cluster them, move over the VMs to proxrml, demote proxmox and rebuild it correctly.
192.168 addresses are a direct 1Gb connection cable (no switch) between them - hence the /etc/hosts .cluster entries. Probably wrong?
I've just created a cluster on proxmox but when I look at the Join information it's showing the 172. address. I put proxrml.cluster.rml in the Ring 0. I'm assuming that was wrong
See "Cannot use default address safely in
https://imgur.com/a/sRqkir7
Questions:
1) Can I safely remove this "cluster" without affecting the virtual machines as it's the only one joined to it. So that I can redo it properly, though I'm not sure what I've done wrong
2) Should I have edited the hostname beforehand or, as it's still unique does it not matter? Could I have done that ok with virtual machines/ containers on there?
3) What should I have put in Ring 0 when creating the cluster?
4) I'm just backing up machines from proxmox now. They were created before I made this cluster mess but will that affect them in any way if I need to restore to a fresh install.
Please let me know if I can post more information, I'm still googling so will add what I work out but it's a bit above me at present.
Huge thanks in advance for any help and your patience
proxmox.rml pvecm status output
proxmox.rml ip a
proxmox.rml /etc/hosts
proxmox.rml /etc/network/interfaces
proxmox.rml ip a
proxplay.rml /etc/hosts
proxplay.rml /etc/network/interfaces
EDIT: I can post the imgur photo links properly
When I come to add the 2nd node to the cluster I can see it's using the peer address of 172.31 when I was hoping it would use the 192 direct connection as understood it was better to have corosync communicating over a separate connection
To explain:
2 instances of proxmox 5.4.3.
- proxmox.rml - hostname=PVE 172.31.187.51 (also .52) 192.168.0.1
- proxplay.rml - hostname=proxplay 172.31.187.56 192.168.0.1
Note: Hostname on proxmox.rml is still PVE as I wasn't sure I could change it after I'd added VMs- seen different answers on the forum/ help and didn't want to risk it. Long term plan was to cluster them, move over the VMs to proxrml, demote proxmox and rebuild it correctly.
- This says "This must be done on a empty node." - https://pve.proxmox.com/wiki/Renaming_a_PVE_node
- This seems to say you can - https://forum.proxmox.com/threads/proxmox-node-name-change.14327/
192.168 addresses are a direct 1Gb connection cable (no switch) between them - hence the /etc/hosts .cluster entries. Probably wrong?
I've just created a cluster on proxmox but when I look at the Join information it's showing the 172. address. I put proxrml.cluster.rml in the Ring 0. I'm assuming that was wrong
See "Cannot use default address safely in
https://imgur.com/a/sRqkir7
Questions:
1) Can I safely remove this "cluster" without affecting the virtual machines as it's the only one joined to it. So that I can redo it properly, though I'm not sure what I've done wrong
2) Should I have edited the hostname beforehand or, as it's still unique does it not matter? Could I have done that ok with virtual machines/ containers on there?
3) What should I have put in Ring 0 when creating the cluster?
4) I'm just backing up machines from proxmox now. They were created before I made this cluster mess but will that affect them in any way if I need to restore to a fresh install.
Please let me know if I can post more information, I'm still googling so will add what I work out but it's a bit above me at present.
Huge thanks in advance for any help and your patience
proxmox.rml pvecm status output
root@pve:/etc/pve/nodes# pvecm status
Quorum information
------------------
Date: Thu May 2 13:51:08 2019
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1/4
Quorate: Yes
Votequorum information
----------------------
Expected votes: 1
Highest expected: 1
Total votes: 1
Quorum: 1
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 192.168.10.1 (local)
root@pve:/etc/pve/nodes# cat /etc/pve/.members
{
"nodename": "pve",
"version": 3,
"cluster": { "name": "rmlcluster", "version": 1, "nodes": 1, "quorate": 1 },
"nodelist": {
"pve": { "id": 1, "online": 1, "ip": "172.31.187.51"}
}
}
proxmox.rml ip a
root@pve:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp4s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:15:17:a6:cc:0a brd ff:ff:ff:ff:ff:ff
inet 192.168.10.1/24 brd 192.168.10.255 scope global enp4s0f0
valid_lft forever preferred_lft forever
inet6 fe80::215:17ff:fea6:cc0a/64 scope link
valid_lft forever preferred_lft forever
3: enp1s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
link/ether 00:25:90:69:e3:e4 brd ff:ff:ff:ff:ff:ff
4: enp4s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:15:17:a6:cc:0b brd ff:ff:ff:ff:ff:ff
inet 172.31.186.107/23 brd 172.31.187.255 scope global enp4s0f1
valid_lft forever preferred_lft forever
inet6 fe80::215:17ff:fea6:cc0b/64 scope link
valid_lft forever preferred_lft forever
5: enp1s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:25:90:69:e3:e5 brd ff:ff:ff:ff:ff:ff
inet 172.31.187.52/23 brd 172.31.187.255 scope global enp1s0f1
valid_lft forever preferred_lft forever
inet6 fe80::225:90ff:fe69:e3e5/64 scope link
valid_lft forever preferred_lft forever
6: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:25:90:69:e3:e4 brd ff:ff:ff:ff:ff:ff
inet 172.31.187.51/23 brd 172.31.187.255 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::225:90ff:fe69:e3e4/64 scope link
valid_lft forever preferred_lft forever
7: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 96:f7:cc:92:c6:71 brd ff:ff:ff:ff:ff:ff
8: tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether c6:29:2b:38:dc:13 brd ff:ff:ff:ff:ff:ff
10: tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 26:c6:5c:13:fa:b8 brd ff:ff:ff:ff:ff:ff
14: tap104i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 7a:96:23:55:d1:62 brd ff:ff:ff:ff:ff:ff
21: veth106i0@if20: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr106i0 state UP group default qlen 1000
link/ether fe:d9:e0:49:28:9d brd ff:ff:ff:ff:ff:ff link-netnsid 0
22: fwbr106i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 3a:a9:52:ce:7d:95 brd ff:ff:ff:ff:ff:ff
23: fwpr106p0@fwln106i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
link/ether ee:7b:6b:0f:46:d5 brd ff:ff:ff:ff:ff:ff
24: fwln106i0@fwpr106p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr106i0 state UP group default qlen 1000
link/ether 3a:a9:52:ce:7d:95 brd ff:ff:ff:ff:ff:ff
proxmox.rml /etc/hosts
root@pve:/etc/pve/nodes# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
172.31.187.51 proxrml.rml proxrml pve
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
# corosync network hosts
192.168.10.1 proxrml.cluster.rml
192.168.10.2 proxplay.cluster.rml
proxmox.rml /etc/network/interfaces
root@proxplay:~# cat /etc/hosts
root@pve:/etc/pve/nodes# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp1s0f0 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge_ports enp1s0f0
bridge_stp off
bridge_fd 0
auto enp1s0f1
iface enp1s0f1 inet dhcp
auto enp3s0f0
iface enp3s0f0 inet dhcp
auto enp3s0f1
iface enp3s0f1 inet dhcp
auto enp4s0f0
iface enp4s0f0 inet static
address 192.168.10.1
netmask 255.255.255.0
auto enp4s0f1
iface enp4s0f1 inet dhcp
proxmox.rml ip a
root@proxplay:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
link/ether d4:ae:52:d3:5e:95 brd ff:ff:ff:ff:ff:ff
3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether d4:ae:52:d3:5e:96 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.2/24 brd 192.168.10.255 scope global eno2
valid_lft forever preferred_lft forever
inet6 fe80::d6ae:52ff:fed3:5e96/64 scope link
valid_lft forever preferred_lft forever
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether d4:ae:52:d3:5e:95 brd ff:ff:ff:ff:ff:ff
inet 172.31.187.56/23 brd 172.31.187.255 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::d6ae:52ff:fed3:5e95/64 scope link
valid_lft forever preferred_lft forever
proxplay.rml /etc/hosts
root@proxplay:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
172.31.187.56 proxplay.rml proxplay
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
# corosync network hosts
192.168.10.1 proxrml.cluster.rml
192.168.10.2 proxplay.cluster.rml
proxplay.rml /etc/network/interfaces
root@proxplay:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge_ports eno1
bridge_stp off
bridge_fd 0
auto eno2
iface eno2 inet static
address 192.168.10.2
netmask 255.255.255.0
EDIT: I can post the imgur photo links properly
Last edited: