Sometimes postgresql nodes start randomly before creating pacemaker resources stop both databases . after creating resources refresh and cleanup postgresql resource