Good time of day.
There is a cluster consisting of three nodes (pve1, pve3, pve4). PVE-4.2 was installed. And it was made common space DRBD. There is a need to add new node (pve2). On adding a node, I set PVE-4.3, then turn updated the existing three-node (pve1, pve3, pve4) and then added a new node (pve2) to the cluster. When you try to add a section DRBD get the error.
on the first node, I do
Since I have all written
on all nodes in /etc/network/interfaces, I picked up one by one and restart all nodes. The output after the restart
Tell me where and what went wrong and how to fix it?
There is a cluster consisting of three nodes (pve1, pve3, pve4). PVE-4.2 was installed. And it was made common space DRBD. There is a need to add new node (pve2). On adding a node, I set PVE-4.3, then turn updated the existing three-node (pve1, pve3, pve4) and then added a new node (pve2) to the cluster. When you try to add a section DRBD get the error.
on the first node, I do
Code:
root@pve1:~# drbdmanage add-node -q pve2 172.20.1.2
WARNING:root:Could not read configuration file '/etc/drbdmanaged.cfg'
Operation completed successfully
Operation completed successfully
Executing join command using ssh.
IMPORTANT: The output you see comes from pve2
IMPORTANT: Your input is executed on pve2
WARNING:root:Could not read configuration file '/etc/drbdmanaged.cfg'
Error: Operation not allowed on satellite node
Code:
root@pve1:~# drbdmanage list-nodes
WARNING:root:Could not read configuration file '/etc/drbdmanaged.cfg'
+------------------------------------------------------------------------------------------------------------+
| Name | Pool Size | Pool Free | | State |
|------------------------------------------------------------------------------------------------------------|
| pve1 | 65536 | 65234 | | ok |
| pve2 | unknown | unknown | | pending actions: adjust connections |
| pve3 | 65536 | 65234 | | ok |
| pve4 | 65536 | 65234 | | ok |
+------------------------------------------------------------------------------------------------------------+
Since I have all written
Code:
post-up drbdadm adjust all
Code:
root@pve1:~# drbdmanage list-nodes
WARNING:root:Could not read configuration file '/etc/drbdmanaged.cfg'
+------------------------------------------------------------------------------------------------------------+
| Name | Pool Size | Pool Free | | State |
|------------------------------------------------------------------------------------------------------------|
| pve1 | 65536 | 65234 | | ok |
| pve2 | unknown | unknown | | OFFLINE, pending actions: adjust connections |
| pve3 | 65536 | 65234 | | ok |
| pve4 | 65536 | 65234 | | ok |
+------------------------------------------------------------------------------------------------------------+
Tell me where and what went wrong and how to fix it?