Pacemaker node go on or off

hi,
In 2 nodes pacemaker one node enter the cluster the other leave the cluster.
how to resolve this?