[ClusterLabs] node1 and node2 communication time question

권오성 kwonos.kau at gmail.com
Tue Aug 9 02:23:12 EDT 2022


Hello.
I installed linux ha on raspberry pi as below.
1) 1) sudo apt-get install pacemaker pcs fence-agents resource-agents
2) Host Settings
3) 3) sudo reboot
4) 4) sudo passwd hacluster
5) 5) sudo systemctl enable pcsd, sudo systemctl start pcsd, sudo systemctl
enable pacemaker
6) 6) sudo pcs cluster destroy
7) 7) sudo pcs cluster auth <node1> <node2> -u hacluster -p <password for
hacluster>
8) 8) sudo pcs cluster setup --name <clusterName> <node1> <node2>
9) 9) sudo pcs cluster start —all, sudo pcs cluster enable —all
10) sudo pcs property set stonith-enabled=false
11) sudo pcs status
12) sudo pcs resource create Virtual IP ocf:heartbeat:IPaddr2 ip=<address>
cidr_netmask=24op monitor interval=30s

So, I've set it up like this way.
By the way, is it correct that node1 and node2 communicate every 30 seconds
and node2 will notice after 30 seconds when node1 dies?
Or do we communicate every few seconds?
And can node1 and node2 reduce communication time?
What I want is node1 and node2 to communicate every 10 ms and switch as
fast as possible.
Please answer.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20220809/03055543/attachment.htm>


More information about the Users mailing list