1 service = many resources
qq.com -> apache
postfix
IPv4
apache,postfix,IPv4 is primitive
we can group the resources
ring: the internal network through all the mathine
node: one mathine
service: qq.com the thing that use all the server(use HA)
resource: apache, IPv4
primitive/group resource
why group? make sure the resource move together
QUORUM: 能容忍failed但仍能有HA的最大数
STONITH: param that if this server can shoot other server
use what to manage the resource? agent (shell scrip)
stickiness: (param) how strong a secourse back to the default node
infinite is the highest level
how to communicate with each other in a ring? multicast
224.0.0.0-239.255.255.255
boardcast is the send massage to all the ip in the LAN
we can encrypt the massage use keys to be safer
corosymc-keygen: tools in the corosymc to create the keys