Hi,
I have read all threads here on how to change IP on a PVE server node. They all boil down to the same thing, the .members file should update itself
once the correct entry is added to /etc/hosts. I have tried this several times, but my first node always remain on the old wrong IP.
I have changed the subnet, the first node picked up it's correct IP but the other one refuses to update.
pvecm status reports the correct IP for each host. The clusterconf has the correct names. /etc/hosts and DNS has the correct entries, and resolv.conf checks hosts first.
drbd works, I can live migrate from the first node to the second, but not the other way since the IP is wrong...
Expected IPs are
beast 10.6.5.46
beauty 10.6.5.47
But beast always remain on the old IP 10.6.6.46.
What more can I check? Is there a step I have missed?
# pveversion
pve-manager/3.3-5/bfebec03 (running kernel: 2.6.32-32-pve)
root@beast:/etc/pve# pvecm status
Version: 6.2.0
Config Version: 8
Cluster Name: sthlm-bb
Cluster Id: 28546
Cluster Member: Yes
Cluster Generation: 76
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: beast
Node ID: 1
Multicast addresses: 239.192.111.241
Node addresses: 10.6.5.46
root@beauty:/etc/pve# pvecm status
Version: 6.2.0
Config Version: 8
Cluster Name: sthlm-bb
Cluster Id: 28546
Cluster Member: Yes
Cluster Generation: 76
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: beauty
Node ID: 2
Multicast addresses: 239.192.111.241
Node addresses: 10.6.5.47
root@beauty:/etc/pve# cat .members
{
"nodename": "beauty",
"version": 9,
"cluster": { "name": "sthlm-proxmox", "version": 8, "nodes": 2, "quorate": 1 },
"nodelist": {
"beast": { "id": 1, "online": 1, "ip": "10.6.6.46"},
"beauty": { "id": 2, "online": 1, "ip": "10.6.5.47"}
}
}
root@beauty:/etc/pve# cat cluster.conf
<?xml version="1.0"?>
<cluster name="sthlm-proxmox" config_version="8">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<clusternodes>
<clusternode name="beast" votes="1" nodeid="1"/>
<clusternode name="beauty" votes="1" nodeid="2"/></clusternodes>
</cluster>
Best regards,
Johan
I have read all threads here on how to change IP on a PVE server node. They all boil down to the same thing, the .members file should update itself
once the correct entry is added to /etc/hosts. I have tried this several times, but my first node always remain on the old wrong IP.
I have changed the subnet, the first node picked up it's correct IP but the other one refuses to update.
pvecm status reports the correct IP for each host. The clusterconf has the correct names. /etc/hosts and DNS has the correct entries, and resolv.conf checks hosts first.
drbd works, I can live migrate from the first node to the second, but not the other way since the IP is wrong...
Expected IPs are
beast 10.6.5.46
beauty 10.6.5.47
But beast always remain on the old IP 10.6.6.46.
What more can I check? Is there a step I have missed?
# pveversion
pve-manager/3.3-5/bfebec03 (running kernel: 2.6.32-32-pve)
root@beast:/etc/pve# pvecm status
Version: 6.2.0
Config Version: 8
Cluster Name: sthlm-bb
Cluster Id: 28546
Cluster Member: Yes
Cluster Generation: 76
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: beast
Node ID: 1
Multicast addresses: 239.192.111.241
Node addresses: 10.6.5.46
root@beauty:/etc/pve# pvecm status
Version: 6.2.0
Config Version: 8
Cluster Name: sthlm-bb
Cluster Id: 28546
Cluster Member: Yes
Cluster Generation: 76
Membership state: Cluster-Member
Nodes: 2
Expected votes: 2
Total votes: 2
Node votes: 1
Quorum: 2
Active subsystems: 5
Flags:
Ports Bound: 0
Node name: beauty
Node ID: 2
Multicast addresses: 239.192.111.241
Node addresses: 10.6.5.47
root@beauty:/etc/pve# cat .members
{
"nodename": "beauty",
"version": 9,
"cluster": { "name": "sthlm-proxmox", "version": 8, "nodes": 2, "quorate": 1 },
"nodelist": {
"beast": { "id": 1, "online": 1, "ip": "10.6.6.46"},
"beauty": { "id": 2, "online": 1, "ip": "10.6.5.47"}
}
}
root@beauty:/etc/pve# cat cluster.conf
<?xml version="1.0"?>
<cluster name="sthlm-proxmox" config_version="8">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<clusternodes>
<clusternode name="beast" votes="1" nodeid="1"/>
<clusternode name="beauty" votes="1" nodeid="2"/></clusternodes>
</cluster>
Best regards,
Johan