<div dir="ltr"><div>Message: 2</div><div>Date: Sun, 13 May 2018 10:20:36 +0300</div><div>From: Andrei Borzenkov <<a href="mailto:arvidjaar@gmail.com">arvidjaar@gmail.com</a>></div><div>To: <a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a></div><div>Subject: Re: [ClusterLabs] Two-node cluster fencing</div><div>Message-ID: <<a href="mailto:f61a61bc-f618-bdb1-ee1a-bc5e856c8d61@gmail.com">f61a61bc-f618-bdb1-ee1a-bc5e856c8d61@gmail.com</a>></div><div>Content-Type: text/plain; charset=utf-8</div><div><br></div><div>12.05.2018 07:31, Confidential Company ?????:</div><div>> Hi,</div><div>> </div><div>> This is my setup:</div><div>> </div><div>> 1. I have Two vMware-ESXI hosts with one virtual machine (RHEL 7.4) on each.</div><div>> 2. On my physical machine, I have four vmnic --> vmnic 0,1 for uplink going</div><div>> to switchA and switchB --> vmnic 2,3 for heartbeat corosync traffic (direct</div><div>> connect to other ESXI host)</div><div>> 3. I plan on clustering my two virtual machines via corosync and create a</div><div>> virtual-IP via pacemaker.</div><div>> 4. I plan on using the uplink interface for data and totem interface for</div><div>> corosync packets(heartbeat messages).</div><div>> 5. These two virtual machines doesnt need for a shared storage, or a shared</div><div>> LUN because the application is, by nature, a standalone application that</div><div>> doesnt need to have a centralized location as it does not store any data</div><div>> that needs to be synchronized between two servers.</div><div><br></div><div>>Then why you need fialover cluster in the first place? Why cannot you</div><div>have both nodes running at the same time and use virtual server to let</div><div>clients connect to either of them?</div><div><br></div><div><br></div><div><b>Reply to Andrei: </b>I want to it to be simple as possible. If I setup them as active/active, i need a loadbalancer (nginx I assume). Or maybe you have suggestions. Thanks bro<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>> 6. I have a PC that only needs to contact the Virtual IP of the rhel</div><div>> virtual servers.</div><div>> 7. Seamless failover from primary to secondary is not required.> 8. Active/Passive setup</div><div>> </div><div>> </div><div>> Given the setup above,</div><div>> 1. Is there any drawbacks?</div><div>> 2. Do I need fencing? Can you explain me by giving a scenario on the above</div><div>> setup? What instances will occur if I didnt put a fence device?</div><div>> 3. If I need a fence device? what fence device you recommend? SAN, vmWare,</div><div>> or PDU?</div><div>> </div><div>> </div><div>> Thanks,</div><div>> </div><div>> imnotarobot</div><div>> </div><div>> </div><div>> </div><div>> _______________________________________________</div></div>