SlideShare a Scribd company logo
1 of 11
Open Source in comapnies
Exchange HA Cluster with open
source tools
Purpose
• High availability Exchange
Cluster
• When a server failure occurs,
the other server shall take
over all connections
• Load-Balancing shall reduce
the workload on the
individual servers
Quelle: CC by mzeuner – http://farm3.staticflickr.com/2044/1491186958_0313858e3c_b.jpg
The IT environment
• 2 Exchange Server
• Provide exchange mail databases
• srvexchange01.foo.bar – 192.168.0.101
• srvexchange02.foo.bar – 192.168.0.102
• 2 Microsoft CAS (Client Access Server)
• Provide all associated mail functionalities
• Such as IMAP/POP and Active Sync
• srvcas01.foo.bar – 192.168.0.111
• srvcas02.foo.bar – 192.168.0.112
• Currently all connections are directed to the first CAS
system, neither load-balancing nor HA takes place
between the systems
Visualization of the Environment
Solution for HA
• 2 Linux servers with HAProxy and Heartbeat
• Through Heartbeat a shared IP (192.168.0.110) is
created
• HAProxy directs all connections on defined ports to
the CAS systems
• It further does load-balancing between the systems
on a round-robin basis
Solution for HA – Visualisation
Technical details
• The solutions has been realized with CentOS
• If one HAProxy Server fails, the remaining one takes over
the supplied shared IP
• Active connections are switched automatically to the
remaining active system
• If one of the CAS systems fails all connections are
redirected to the remaining active server
Configuration- HAProxy
• Konfiguration HAProxy Dienst (/etc/haproxy/haproxy.cfg)
listen Exchange2010 192.168.0.110:80
bind 192.168.0.110:135
bind 192.168.0.110:110
bind 192.168.0.110:25
bind 192.168.0.110:139
bind 192.168.0.110:443
bind 192.168.0.110:60000
bind 192.168.0.110:60001
bind 192.168.0.110:6001-6004
bind 192.168.0.110:993-995
mode tcp
option persist
balance roundrobin
stick-table type ip size 10240k expire 30m
stick on src
server srvcas01.foo.bar 192.168.0.111 weight 1 check port 80 inter 5000 rise 2 fall 3
server srvcas02.foo.bar 192.168.0.112 weight 1 check port 80 inter 5000 rise 2 fall 3
option redispatch
option abortonclose
maxconn 40000
Configuration- Heartbeat
• Configuration of Heartbeat service (/etc/ha.d/ha.cf)
• Configuration of Heartbeat service (/etc/ha.d/haresources)
• Configuration of Heartbeat service (/etc/ha.d/authkeys)
keepalive 2
deadtime 10
udpport 694
bcast eth0
mcast eth0 239.0.0.1 694 1 0
ucast eth0 srvhaproxy01.foo.bar # insert name of the other node here
logfacility local0
node srvhaproxy01.foo.bar
node srvhaproxy02.foo.bar
srvhaproxy01.foo.bar 192.168.0.100
auth 2
2 sha1 loadbalancer-ha
Conclusion
• An expensive HA appliance can
be avoided
• The installation is based on
Linux default tools and can
quickly be realized
• There are no changes necessary
to the existing Microsoft
Exchange environment
Quelle: CC FutUndBeidl – http://farm6.staticflickr.com/5199/7369580478_92ccf6bfbd_b.jpg
Do you have further questions or
suggestions?
…. Just contact me!
E-Mail
torsten.maus@cbs-mail.de
Xing
https://www.xing.com/profile/Torsten_Maus3
Twitter
https://twitter.com/TorstenMaus

More Related Content

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, Ocado
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Open source in companies - Exchange HA cluster with open source tools

  • 1. Open Source in comapnies Exchange HA Cluster with open source tools
  • 2. Purpose • High availability Exchange Cluster • When a server failure occurs, the other server shall take over all connections • Load-Balancing shall reduce the workload on the individual servers Quelle: CC by mzeuner – http://farm3.staticflickr.com/2044/1491186958_0313858e3c_b.jpg
  • 3. The IT environment • 2 Exchange Server • Provide exchange mail databases • srvexchange01.foo.bar – 192.168.0.101 • srvexchange02.foo.bar – 192.168.0.102 • 2 Microsoft CAS (Client Access Server) • Provide all associated mail functionalities • Such as IMAP/POP and Active Sync • srvcas01.foo.bar – 192.168.0.111 • srvcas02.foo.bar – 192.168.0.112 • Currently all connections are directed to the first CAS system, neither load-balancing nor HA takes place between the systems
  • 4. Visualization of the Environment
  • 5. Solution for HA • 2 Linux servers with HAProxy and Heartbeat • Through Heartbeat a shared IP (192.168.0.110) is created • HAProxy directs all connections on defined ports to the CAS systems • It further does load-balancing between the systems on a round-robin basis
  • 6. Solution for HA – Visualisation
  • 7. Technical details • The solutions has been realized with CentOS • If one HAProxy Server fails, the remaining one takes over the supplied shared IP • Active connections are switched automatically to the remaining active system • If one of the CAS systems fails all connections are redirected to the remaining active server
  • 8. Configuration- HAProxy • Konfiguration HAProxy Dienst (/etc/haproxy/haproxy.cfg) listen Exchange2010 192.168.0.110:80 bind 192.168.0.110:135 bind 192.168.0.110:110 bind 192.168.0.110:25 bind 192.168.0.110:139 bind 192.168.0.110:443 bind 192.168.0.110:60000 bind 192.168.0.110:60001 bind 192.168.0.110:6001-6004 bind 192.168.0.110:993-995 mode tcp option persist balance roundrobin stick-table type ip size 10240k expire 30m stick on src server srvcas01.foo.bar 192.168.0.111 weight 1 check port 80 inter 5000 rise 2 fall 3 server srvcas02.foo.bar 192.168.0.112 weight 1 check port 80 inter 5000 rise 2 fall 3 option redispatch option abortonclose maxconn 40000
  • 9. Configuration- Heartbeat • Configuration of Heartbeat service (/etc/ha.d/ha.cf) • Configuration of Heartbeat service (/etc/ha.d/haresources) • Configuration of Heartbeat service (/etc/ha.d/authkeys) keepalive 2 deadtime 10 udpport 694 bcast eth0 mcast eth0 239.0.0.1 694 1 0 ucast eth0 srvhaproxy01.foo.bar # insert name of the other node here logfacility local0 node srvhaproxy01.foo.bar node srvhaproxy02.foo.bar srvhaproxy01.foo.bar 192.168.0.100 auth 2 2 sha1 loadbalancer-ha
  • 10. Conclusion • An expensive HA appliance can be avoided • The installation is based on Linux default tools and can quickly be realized • There are no changes necessary to the existing Microsoft Exchange environment Quelle: CC FutUndBeidl – http://farm6.staticflickr.com/5199/7369580478_92ccf6bfbd_b.jpg
  • 11. Do you have further questions or suggestions? …. Just contact me! E-Mail torsten.maus@cbs-mail.de Xing https://www.xing.com/profile/Torsten_Maus3 Twitter https://twitter.com/TorstenMaus