Hello!
I have 2 nodes in test lab and cluster configured (https://www.relianoid.com/resources/knowledge-base/community-edition-v7-administration-guide/cluster-configuration-in-relianoid-community-edition-v7/) on both nodes.
Cluster working before reboot, bud if you reboot any node – cluster service not starting after reboot (cluster service enabled by systemctl)
I see this (systemctl status relianoid-ce-cluster.service) with relianoid ce cluster after reboot:
[ERROR] Unable to open interface [eth0:cluster] : eth0:cluster: That device is not up
I see in web-interface status “Up”, and green icon.
In file /usr/local/relianoid/app/ucarp/etc/cluster.conf I set these settings (other parameters are also set, I just won’t list them below):
$interface=”eth0:cluster”
$cluster_ip=”200.200.200.150″
In my testlab i use this settings for virtual interface:
name: “eth0:cluster”
ipaddress: 200.200.200.150
I tested other versions in testlab 7.2.0-7.6.0, and in different versions the cluster service works and doesn’t work, with the same settings in the cluster.conf file after reboot node.
What is wrong I do, or maybe it is some bug?
Hello iampip!
Thanks for reporting this, some rules in /etc/systemd/system/relianoid-ce-cluster.service are missing.
Add to the [Unit] section:
After=relianoid.service
Wants=relianoid.service
Then, run:
systemctl daemon-reload
Reboot again.
If everything seems correct you can apply this change to the other node. We will include this fix on the next release.
Thanks again for reporting this issue.
Hello!
I tried applying the fix to the file /etc/systemd/system/relianoid-ce-cluster.service and now the cluster works fine!
Thanks for the help!