Fencing and Adding a Failover to Clustering – Part 3

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Thilina Uvindasiri

I'm a BSc Special (Hons) graduate in Information Technology and works as an Engineer-Systems. Love to work, explore and research Linux and play rugby as a hobby.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

37 Responses

  1. Vinay Gupta says:

    Thankyou for this article.

    can we use this article to setup cluster in centos 7 ?

    • Thilina Uvindasiri says:

      Thanks Vinay. Ofcourse you can.

      • Vinay Gupta says:

        Thankyou so much for your response but using this article we are not able to setup cluster on centos 7 becuase of package difference and there is lots of different in configuration as well.

        • Thilina Uvindasiri says:

          Vinay, Your question has been raised by another user in Part two. RHEL/CentOS 7 have deprecated the packages I’ve mentioned in the article. But that doesn’t mean you cannot do this in RHEL or CentOS 7.You can use corosync, pacemaker and pcs instead.

  2. Trung says:

    Thank you so much, this post gave me a better knowledge about clustering than thousands writing out there. However, I still wondering what fence options you can use to create a fence device if you used real machines for your setup?

    And, what is the point of method in fencing? Can you please put more explanation or references resource that I can work to understand them?

    Again, thank you so much for your work.

  3. Ariel Mendoza says:

    Hi Thilina,
    Fist of all, thanyou very much for this article…it so much helpfull.
    i can´t find the Part4 and…can you post the lisnk pls.
    Best regards.

    PS, sorry for my english.

  4. aza says:

    when the continuation?

  5. Arjun k Mukundan says:

    Hi Thilina,

    Thanks for providing this valuable document. awaiting for your next post.

  6. Raj says:

    Hi TecMint,
    The concept of clustering had always baffled me. However, this tutorial has cleared up all my doubts.
    Thank you for sharing this.

  7. Nguyen Thanh says:

    Hi Mr.Uvindasiri
    Thank you very much for your sharing,
    I am waiting for your last post for this serie.
    I hope you will post it soon.
    Thank you again
    Good job !

  8. Ashish says:

    Thank you so much for all the parts ( Linux clustering with two nodes).I like the way it was explained very systematic step by step. waiting for its last part and final part with resource such as webserver,NFS etc.

  9. Daniel Bello says:

    Thank you so much my friend for this third part. I have a question: I tried to set a fence virtual device in a virtual environment, but it doesn’t work for me, in some part of my configuration the node doesn’t come back to the cluster after a failure. So i have added a quorum disk, and finally my cluster works ok (the node goes down and after the failure come back to the cluster), so my question is: what is the difference between a fence device and a quorum disk in a virtual environment?

    • Thilina Uvindasiri says:

      Hi Daniel,

      First of all you should know that a quorum disk is more useful in clusters which contains lesser nodes than a multiple node cluster which in case of a node fails. But of course having a quorum disk in any cluster would be great for its well being. In your case, what you have gone through is identified as a “fencing war” in the tech world. What i will do is, I will post a new article about the scenario you have faced in near future. It will answer all your questions and will help to understand more about fencing and quorum disks. Will put a comment here when the article is ready or send me your email and i will inform you. Thanx for your interest and nice comments.

    • Hi Daniel,

      Last part is out now

  10. Md Ariful Islam says:

    Thank you very much for your new post about clustering. I am very much enjoying and waiting for your next post. I would like to request you that if you may have time then please make a series about “Redhat OpenStack”. Actually the world is now moving towards “Cloud Technology” and now we have to learn those cloud technology.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.