Hi Daniel,

  You sent this to clusterlabs owners, instead of users. I've changed the CC to send it to the list for a larger discussion.

  The biggest problem with stretch clustering is knowing the difference between a link fault and a site loss. Pacemaker Booth was designed to solve this problem by using a "cluster of clusters". The logic being that if a site is lost, an arbiter node at a third site can decide which site should live, and trust the lost side will either behave sensibly (because it is itself a cluster), or it's destroyed.

  After this, it just becomes a question of implementation details. Have the master side update a DNS entry should be fine (though you may need to write a small resource agent to do it, not sure if one exists for DNS yet).

digimer

On 2020-04-17 11:44 a.m., Daniel Smith wrote:

I have been searching how to customize pacemaker to manage NFS servers in separate datacenters, but I am finding older data that suggests this is a bad idea and not much information about how to customize it to do this without the 1 IP being moved back and forth. If this isn’t the best tool, please let me know, but here is the setup I am trying to do if someone can help point me to some information on how the best way is to do this.

 

Server 1:              DC01-NFS01, 10.0.1.10/24

Server 2:              DC02-NFS01, 10.0.2.10/24

NFS share:           nfs01.domain.local:/opt/nfsmounts using drbd to sync between datacenters

DC01 to DC02 has a 2Gb layer 2 connection between the datacenters

 

I would like to have pacemaker manage the NFS services on both systems in an active/passive setup where it updates the DNS servers with the active server’s IP for nfs01.domain.local. Eventually, we will have a virtual switch in VMWare that I would like pacemaker to update, but for now, the delay in DNS updates will be acceptable for failover.

 

Thank you in advance for any help you can provide.

Daniel Smith
Network Engineer
15894 Diplomatic Plaza Dr | Houston, TX 77032
P: 281-233-8487 | M: 832-301-1087
daniel.sm...@craneww.com

-- 
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould

_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to