SlideShare ist ein Scribd-Unternehmen logo
1 von 26
RedHat Cluster
High-Availability




          Elos technologies
   U Kanálky 1559/5, 120 00 Praha 2
       http://www.elostech.cz
RedHat Cluster
●   Cluster
●   Storage
●   High Availability Overview
●   Quorum
●   Fencing
●   Resources and Services


                          Elos technologies
                   U Kanálky 1559/5, 120 00 Praha 2
                       http://www.elostech.cz
Cluster
●   Load-balancing
●   Compute
●   High-availability




                               Elos technologies
                        U Kanálky 1559/5, 120 00 Praha 2
                            http://www.elostech.cz
Storage
●   Types of data
    –   System data versus user data
    –   Static data versus dynamic data
    –   Current data versus archived data
    –   etc.
●   Storage technologies
    –   Direct atached storage
    –   Shared storage

                                Elos technologies
                         U Kanálky 1559/5, 120 00 Praha 2
                             http://www.elostech.cz
RedHat Storage Model




            Elos technologies
     U Kanálky 1559/5, 120 00 Praha 2
         http://www.elostech.cz
ISCSI and FibreChannel




             Elos technologies
      U Kanálky 1559/5, 120 00 Praha 2
          http://www.elostech.cz
Multipathing




        Elos technologies
 U Kanálky 1559/5, 120 00 Praha 2
     http://www.elostech.cz
High Availibility Overwiew
●   Failover
●   Storage
●   Non-Goals




                       Elos technologies
                U Kanálky 1559/5, 120 00 Praha 2
                    http://www.elostech.cz
Hardware




       Elos technologies
U Kanálky 1559/5, 120 00 Praha 2
    http://www.elostech.cz
Hardware
●   Cluster Nodes
●   Public Network
●   Private Network
●   Networked Power Switch
●   Fibre Channel Switch




                            Elos technologies
                     U Kanálky 1559/5, 120 00 Praha 2
                         http://www.elostech.cz
Software
●   corosync
●   cman
●   fenced
●   modclusterd
●   rgmanager
●   dlm
●   clvmd

                         Elos technologies
                  U Kanálky 1559/5, 120 00 Praha 2
                      http://www.elostech.cz
Software
●   ricci (Conga project)
●   oddjobd




                           Elos technologies
                    U Kanálky 1559/5, 120 00 Praha 2
                        http://www.elostech.cz
Requirements
●   Number of nodes up to 16
●   Single Site – not multiple physical location
●   Supported Fencing Hardware – power, storage
●   ACPI
●   NetworkManager is not compatabile
●   SELinux is fully supported
●   Network - 5404-5/UDP,21064/TCP,16861/TCP

                           Elos technologies
                    U Kanálky 1559/5, 120 00 Praha 2
                        http://www.elostech.cz
Quorum




       Elos technologies
U Kanálky 1559/5, 120 00 Praha 2
    http://www.elostech.cz
Calculating Quorum
●   Expected votes
●   Total votes

●   Quorum = floor(expected votes / 2 + 1)




                            Elos technologies
                     U Kanálky 1559/5, 120 00 Praha 2
                         http://www.elostech.cz
Displaying Quorum
●   /etc/cluster/cluster.conf
    –   <clusternode name=....... votes=“2“/>
●   ccs_tool lsnode
●   cman_tool status
●   clustat
●   clustat -Q && echo Quorate || echo Not Quorate



                              Elos technologies
                       U Kanálky 1559/5, 120 00 Praha 2
                           http://www.elostech.cz
Fencing
●   What is fencing

●   Power fencing
●   Fabric fencing
●   Other fencing




                             Elos technologies
                      U Kanálky 1559/5, 120 00 Praha 2
                          http://www.elostech.cz
Power fencing




        Elos technologies
 U Kanálky 1559/5, 120 00 Praha 2
     http://www.elostech.cz
Fabric fencing




         Elos technologies
  U Kanálky 1559/5, 120 00 Praha 2
      http://www.elostech.cz
Resources and Services
●   Resources
●   Resource Groups (Services)
●   rgmanager
●   Failover domains




                         Elos technologies
                  U Kanálky 1559/5, 120 00 Praha 2
                      http://www.elostech.cz
Failover Domains




          Elos technologies
   U Kanálky 1559/5, 120 00 Praha 2
       http://www.elostech.cz
Failover Domain Settings
●   Prioritized
●   Restricted
●   No Failback




                         Elos technologies
                  U Kanálky 1559/5, 120 00 Praha 2
                      http://www.elostech.cz
Service Group Options
●   Name
●   Automatically Start This Service
●   Run Exclusive
●   Fialover Domain
●   Recover Policy
    –   Restart
    –   Restart-Disable
    –   Relocate
    –   Disable
                                 Elos technologies
                          U Kanálky 1559/5, 120 00 Praha 2
                              http://www.elostech.cz
Dependency Trees
●   /usr/share/cluster/service.sh
     <special tag="rgmanager">
        <attributes maxinstances="1"/>
        <child type="lvm" start="1" stop="9"/>
        <child type="fs" start="2" stop="8"/>
        <child type="clusterfs" start="3" stop="7"/>
        <child type="netfs" start="4" stop="6"/>
         <child type="nfsexport" start="5" stop="5"/>
         <child type="nfsclient" start="6" stop="4"/>
        <child type="ip" start="7" stop="2"/>
        <child type="smb" start="8" stop="3"/>
        <child type="script" start="9" stop="1"/>
      </special>



                                    Elos technologies
                             U Kanálky 1559/5, 120 00 Praha 2
                                 http://www.elostech.cz
Dependency Trees
●   cluster.conf
    <service domain=.............>
       <fs ref=“myfs“>
          <apache ref=“myapache“/>
       </fs>




                                 Elos technologies
                          U Kanálky 1559/5, 120 00 Praha 2
                              http://www.elostech.cz
Documentation
http://access.redhat.com/knowledge/docs


Red Hat Enterprise Linux
–   Cluster Administration
–   High Availibility
–   Fence Configuration




                               Elos technologies
                        U Kanálky 1559/5, 120 00 Praha 2
                            http://www.elostech.cz

Weitere ähnliche Inhalte

Ähnlich wie High availability RH Cluster solution

03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdfJean-Frederic Clere
 
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...Junho Suh
 
IOT and System Platform From Concepts to Code
IOT and System Platform From Concepts to CodeIOT and System Platform From Concepts to Code
IOT and System Platform From Concepts to CodeAndy Robinson
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and CaliforniumJulien Vermillard
 
Experiences building a distributed shared log on RADOS - Noah Watkins
Experiences building a distributed shared log on RADOS - Noah WatkinsExperiences building a distributed shared log on RADOS - Noah Watkins
Experiences building a distributed shared log on RADOS - Noah WatkinsCeph Community
 
PLNOG 5: Merike Kaeo - Something Old Is New Again
PLNOG 5: Merike Kaeo - Something Old Is New AgainPLNOG 5: Merike Kaeo - Something Old Is New Again
PLNOG 5: Merike Kaeo - Something Old Is New AgainPROIDEA
 
SDN/OpenFlow #lspe
SDN/OpenFlow #lspeSDN/OpenFlow #lspe
SDN/OpenFlow #lspeChris Westin
 
Oracle Traffic Director - a vital part of your Oracle infrastructure
Oracle Traffic Director - a vital part of your Oracle infrastructureOracle Traffic Director - a vital part of your Oracle infrastructure
Oracle Traffic Director - a vital part of your Oracle infrastructureSimon Haslam
 
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...Megumi Takeshita
 
HTTP/2, HTTP/3 and SSL/TLS State of the Art in Our Servers
HTTP/2, HTTP/3 and SSL/TLS State of the Art in Our ServersHTTP/2, HTTP/3 and SSL/TLS State of the Art in Our Servers
HTTP/2, HTTP/3 and SSL/TLS State of the Art in Our ServersJean-Frederic Clere
 
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...NETWAYS
 
Osdc2014 openstack networking yves_fauser
Osdc2014 openstack networking yves_fauserOsdc2014 openstack networking yves_fauser
Osdc2014 openstack networking yves_fauseryfauser
 
Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015aioughydchapter
 
Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014bryan_call
 
OpenNebulaConf 2013 - OpenNebula in a Multi-Customer-Environment by Bernd Erk
OpenNebulaConf 2013 - OpenNebula in a Multi-Customer-Environment by Bernd ErkOpenNebulaConf 2013 - OpenNebula in a Multi-Customer-Environment by Bernd Erk
OpenNebulaConf 2013 - OpenNebula in a Multi-Customer-Environment by Bernd ErkOpenNebula Project
 
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...PROIDEA
 

Ähnlich wie High availability RH Cluster solution (20)

03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
03_clere-HTTP2 HTTP3 the State of the Art in Our Servers.pdf
 
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
From Fixed-Function to Programmable Switching Chip for Network Packet Broker ...
 
Tomcat next
Tomcat nextTomcat next
Tomcat next
 
IOT and System Platform From Concepts to Code
IOT and System Platform From Concepts to CodeIOT and System Platform From Concepts to Code
IOT and System Platform From Concepts to Code
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and Californium
 
Experiences building a distributed shared log on RADOS - Noah Watkins
Experiences building a distributed shared log on RADOS - Noah WatkinsExperiences building a distributed shared log on RADOS - Noah Watkins
Experiences building a distributed shared log on RADOS - Noah Watkins
 
Stun turn poc_pilot
Stun turn poc_pilotStun turn poc_pilot
Stun turn poc_pilot
 
PLNOG 5: Merike Kaeo - Something Old Is New Again
PLNOG 5: Merike Kaeo - Something Old Is New AgainPLNOG 5: Merike Kaeo - Something Old Is New Again
PLNOG 5: Merike Kaeo - Something Old Is New Again
 
PROFIBUS frame analysis - Peter Thomas of Control Specialists
PROFIBUS frame analysis - Peter Thomas of Control SpecialistsPROFIBUS frame analysis - Peter Thomas of Control Specialists
PROFIBUS frame analysis - Peter Thomas of Control Specialists
 
SDN/OpenFlow #lspe
SDN/OpenFlow #lspeSDN/OpenFlow #lspe
SDN/OpenFlow #lspe
 
Oracle Traffic Director - a vital part of your Oracle infrastructure
Oracle Traffic Director - a vital part of your Oracle infrastructureOracle Traffic Director - a vital part of your Oracle infrastructure
Oracle Traffic Director - a vital part of your Oracle infrastructure
 
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
 
Skydive 31 janv. 2016
Skydive 31 janv. 2016Skydive 31 janv. 2016
Skydive 31 janv. 2016
 
HTTP/2, HTTP/3 and SSL/TLS State of the Art in Our Servers
HTTP/2, HTTP/3 and SSL/TLS State of the Art in Our ServersHTTP/2, HTTP/3 and SSL/TLS State of the Art in Our Servers
HTTP/2, HTTP/3 and SSL/TLS State of the Art in Our Servers
 
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
 
Osdc2014 openstack networking yves_fauser
Osdc2014 openstack networking yves_fauserOsdc2014 openstack networking yves_fauser
Osdc2014 openstack networking yves_fauser
 
Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015
 
Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014Choosing A Proxy Server - Apachecon 2014
Choosing A Proxy Server - Apachecon 2014
 
OpenNebulaConf 2013 - OpenNebula in a Multi-Customer-Environment by Bernd Erk
OpenNebulaConf 2013 - OpenNebula in a Multi-Customer-Environment by Bernd ErkOpenNebulaConf 2013 - OpenNebula in a Multi-Customer-Environment by Bernd Erk
OpenNebulaConf 2013 - OpenNebula in a Multi-Customer-Environment by Bernd Erk
 
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
 

Kürzlich hochgeladen

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Kürzlich hochgeladen (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

High availability RH Cluster solution

  • 1. RedHat Cluster High-Availability Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 2. RedHat Cluster ● Cluster ● Storage ● High Availability Overview ● Quorum ● Fencing ● Resources and Services Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 3. Cluster ● Load-balancing ● Compute ● High-availability Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 4. Storage ● Types of data – System data versus user data – Static data versus dynamic data – Current data versus archived data – etc. ● Storage technologies – Direct atached storage – Shared storage Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 5. RedHat Storage Model Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 6. ISCSI and FibreChannel Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 7. Multipathing Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 8. High Availibility Overwiew ● Failover ● Storage ● Non-Goals Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 9. Hardware Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 10. Hardware ● Cluster Nodes ● Public Network ● Private Network ● Networked Power Switch ● Fibre Channel Switch Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 11. Software ● corosync ● cman ● fenced ● modclusterd ● rgmanager ● dlm ● clvmd Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 12. Software ● ricci (Conga project) ● oddjobd Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 13. Requirements ● Number of nodes up to 16 ● Single Site – not multiple physical location ● Supported Fencing Hardware – power, storage ● ACPI ● NetworkManager is not compatabile ● SELinux is fully supported ● Network - 5404-5/UDP,21064/TCP,16861/TCP Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 14. Quorum Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 15. Calculating Quorum ● Expected votes ● Total votes ● Quorum = floor(expected votes / 2 + 1) Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 16. Displaying Quorum ● /etc/cluster/cluster.conf – <clusternode name=....... votes=“2“/> ● ccs_tool lsnode ● cman_tool status ● clustat ● clustat -Q && echo Quorate || echo Not Quorate Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 17. Fencing ● What is fencing ● Power fencing ● Fabric fencing ● Other fencing Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 18. Power fencing Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 19. Fabric fencing Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 20. Resources and Services ● Resources ● Resource Groups (Services) ● rgmanager ● Failover domains Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 21. Failover Domains Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 22. Failover Domain Settings ● Prioritized ● Restricted ● No Failback Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 23. Service Group Options ● Name ● Automatically Start This Service ● Run Exclusive ● Fialover Domain ● Recover Policy – Restart – Restart-Disable – Relocate – Disable Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 24. Dependency Trees ● /usr/share/cluster/service.sh <special tag="rgmanager"> <attributes maxinstances="1"/> <child type="lvm" start="1" stop="9"/> <child type="fs" start="2" stop="8"/> <child type="clusterfs" start="3" stop="7"/> <child type="netfs" start="4" stop="6"/> <child type="nfsexport" start="5" stop="5"/> <child type="nfsclient" start="6" stop="4"/> <child type="ip" start="7" stop="2"/> <child type="smb" start="8" stop="3"/> <child type="script" start="9" stop="1"/> </special> Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 25. Dependency Trees ● cluster.conf <service domain=.............> <fs ref=“myfs“> <apache ref=“myapache“/> </fs> Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz
  • 26. Documentation http://access.redhat.com/knowledge/docs Red Hat Enterprise Linux – Cluster Administration – High Availibility – Fence Configuration Elos technologies U Kanálky 1559/5, 120 00 Praha 2 http://www.elostech.cz