I am setting up a Linux-HA(corosync+pacemaker) cluster which includes 2 nodes, and I defined several resources:
primitive virtual-ip
primitive main-service
primitive db
clone db-clone
My question is could we identify which node will be the master node before pacemaker begin or during loading services? I mean which node will virutal-ip
resource running on? Is there any crm
command line api or other method?
thanks,
Emre