#Failover

20 posts loaded — scroll for more

Text
dclessonsonline
dclessonsonline

Learn how to perform VPC consistency checks and handle failover scenarios effectively. https://www.dclessons.com/vpc-consistency-check-and-failover-scenarios

Text
portalnetbe
portalnetbe

Load Balancing i Failover na MikroTik – Kompletny przewodnik krok po kroku

Load Balancing i Failover na MikroTik – Kompletny przewodnik krok po kroku

🌐 Load Balancing i Failover na MikroTik – Kompletny przewodnik krok po kroku


Współczesna infrastruktura sieciowa wymaga nie tylko wysokiej dostępności usług, ale również ich niezawodności, elastyczności i odporności na awarie. W przypadku routerów MikroTik, które pracują w środowiskach domowych, korporacyjnych oraz ISP, coraz częściej oczekuje się funkcji równoważenia obciążenia (Load Balancing) oraz automatycznego przełączania połączenia przy awarii (Failover).
RouterOS oferuje wiele metod realizacji tych funkcji — od prostych, statycznych routingu opartych na distance lub routing-mark, aż po zaawansowane konfiguracje z użyciem netwatch, check-gateway, PCC i ECMP.
Ten artykuł to kompleksowy przewodnik konfiguracji Load Balancing i Failover na MikroTik. Od podstaw, przez mechanizmy działania, aż po przykładowe skrypty i strategie najlepszych praktyk.

🎯 Cele i założenia


Zakładamy następującą strukturę fizyczną:
Interfejs
Opis
ether1
Pierwszy link WAN (ISP1)
ether2
Drugi link WAN (ISP2)
ether3
Sieć LAN (192.168.88.0/24)
Każde z połączeń ma własne IP oraz bramę. Zakładamy także, że oba łącza mają dostęp do internetu.
Load Balancing i Failover na MikroTik – Kompletny przewodnik krok po kroku
Load Balancing i Failover na MikroTik – Kompletny przewodnik krok po kroku

⚙️ Metody Load Balancing i Failover


Metoda
Opis techniczny
Zalecana do
ECMP
Równoważenie na poziomie routingu (Equal Cost Multi-Path)
Proste sieci
PCC
Per Connection Classifier – inteligentny podział ruchu
Ruch z NAT
Netwatch
Monitoring linków i dynamiczne routowanie
Failover
Routing Rules
Z routing-mark i mangle, pozwala pełną kontrolę
Zaawansowani

🔧 Przykład: Prosty Failover z check-gateway


Najprostsza forma Failoveru polega na ustawieniu dwóch domyślnych tras (default route) z różnymi priorytetami.
/ip route
add dst-address=0.0.0.0/0 gateway=192.0.2.1 check-gateway=ping distance=1
add dst-address=0.0.0.0/0 gateway=198.51.100.1 check-gateway=ping distance=2
🟢 check-gateway=ping – RouterOS sam pingnie bramę. Jeśli nie odpowie – trasa zostanie oznaczona jako nieaktywna.

🔁 Prosty Load Balancing z ECMP (Equal Cost Multi-Path)


/ip route
add dst-address=0.0.0.0/0 gateway=192.0.2.1,198.51.100.1
MikroTik automatycznie będzie balansował ruch, ale per-destination. Nie działa dobrze z NAT – ponieważ każde połączenie może mieć inny IP.

🔍 Load Balancing z PCC (Per Connection Classifier)


Najlepsza metoda do Load Balancing z NAT to użycie PCC – dzieli ruch per-źródło, per-cel lub per-port.
🎯 Cel: 50/50 Load Balancing + Failover
/ip firewall mangle
add chain=prerouting in-interface=ether3 per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=ISP1_conn
add chain=prerouting in-interface=ether3 per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=ISP2_conn
add chain=prerouting connection-mark=ISP1_conn in-interface=ether3 action=mark-routing new-routing-mark=to_ISP1
add chain=prerouting connection-mark=ISP2_conn in-interface=ether3 action=mark-routing new-routing-mark=to_ISP2
/ip route
add gateway=192.0.2.1 routing-mark=to_ISP1 check-gateway=ping
add gateway=198.51.100.1 routing-mark=to_ISP2 check-gateway=ping
/ip route
add dst-address=0.0.0.0/0 gateway=192.0.2.1 distance=1
add dst-address=0.0.0.0/0 gateway=198.51.100.1 distance=2
📌 Powyższa konfiguracja dzieli ruch NAT pomiędzy dwóch dostawców. Jeśli jeden padnie – cały ruch przejmie drugi.

🧠 Netwatch – dynamiczny failover przez skrypty


Jeśli chcesz pełnej kontroli i monitorowania konkretnego hosta (np. 8.8.8.8):
/tool netwatch
add host=8.8.8.8 interval=10s timeout=2s up-script=“/ip route enable ” down-script=“/ip route disable ”
💡 Netwatch umożliwia wykonywanie dowolnych skryptów, np. wysyłanie e-maili, zmiana tras, itp.

📋 Porównanie metod


Metoda
Wydajność
Konfiguracja
NAT-friendly
Monitoring
Elastyczność
ECMP
✅ Wysoka
✅ Prosta
❌ Nie
❌ Nie
❌ Nie
Failover (check-gateway)

✅ Prosta
✅ Tak
✅ Tak
❌ Ograniczona
PCC
✅✅
🔧 Złożona
✅✅ Tak
✅ Z Netwatch
✅✅✅ Duża

🧱 Błędy i pułapki


- ❌ Nieużywanie check-gateway – trasa zostanie uznana za aktywną, mimo awarii
- ❌ Brak oznaczenia połączeń w NAT – prowadzi do zrywania sesji
- ❌ Zbyt szybkie przełączanie w Netwatch – fałszywe pozytywy/negatywy
- ❌ Nieodpowiednie routing-mark w NAT – częsty problem z dostępem z zewnątrz
- ❌ Nieprzemyślane DNS – powoduje problemy z rozwiązywaniem adresów, jeśli nie ma synchronizacji

✅ Dobre praktyki


- Zawsze testuj konfigurację z lokalnego hosta – unikniesz odcięcia dostępu
- Używaj komentarzy w trasach i regułach, np. comment=ISP1
- Do monitorowania używaj adresów zewnętrznych (nie bramy ISP)
- W przypadku PCC, unikaj łączenia z usługami wymagającymi sticky sessions (np. bankowość)

🧠 Zaawansowane: Failover tylko dla ruchu HTTP


Możesz stworzyć reguły NAT + mangle, które pozwolą tylko ruchowi HTTP korzystać z drugiego łącza — reszta idzie przez podstawowy link.

🎯 Podsumowanie


Konfiguracja Load Balancing i Failover na MikroTik może być prosta lub ekstremalnie zaawansowana — zależnie od potrzeb i środowiska. Dzięki potężnym narzędziom jak PCC, Netwatch, routing-mark, można zbudować redundantne, skalowalne i wysoce dostępne rozwiązania sieciowe, które sprawdzą się w domowym biurze, jak i w data center.
Kluczowa jest jednak znajomość mechanizmów działania, poprawna kolejność konfiguracji i testowanie scenariuszy awarii, zanim wystąpią naprawdę.

Read the full article

Text
networkjungle
networkjungle

This video covers the following topics:

How to configure HSRP (Hot Standby Routing Protocol) to avoid a single point of failure in LAN connectivity:

Use more than one router to form a single virtual router with a virtual IP address and virtual MAC address for LAN networks.

Requirements:

Two Routers, Single switch, and End devices

Text
learnmystuff
learnmystuff

Data Guard

Data Guard, A Non Negotiable Duty #learnmystuff #dataguard #oracle #switchover #failover #duty

To care about information you value the most has become very crucial to the present time due to the abondance of information you have available around you. In today’s fast paced digital economy , data has become one of the most crucial asset to be protected whether it may be personal, financial , wellness or business related. It’s protection has become so crucial because of the value it holds for…

Text
dclessonsonline
dclessonsonline

Master vPC consistency check and failover scenarios for resilient network design and operation. Ensure high availability and reliability in your network infrastructure. https://www.dclessons.com/vpc-consistency-check-and-failover-scenarios

Text
richardmhicks
richardmhicks

Always On VPN and VpnStrategy

Always On VPN supports a variety of VPN protocols for the user tunnel. Internet Key Exchange version 2 (IKEv2) and Secure Socket Tunneling Protocol (SSTP) are the most common. I wrote about the advantages and disadvantages of each in this post. To summarize, IKEv2 provides the highest security options but suffers from operational limitations. SSTP offers excellent security and is generally more…


View On WordPress

Text
techdirectarchive
techdirectarchive

High Availability in Azure

High Availability in Azure


View On WordPress

Text
blogygold
blogygold

Force Start a Windows Server Failover Cluster without a Quorum to bring a SQL Server Failover Clustered Instance Online

Force Start a Windows Server Failover Cluster without a Quorum to bring a SQL Server Failover Clustered Instance Online

Problem

The 2-node Windows Server Failover Cluster (WSFC) running my SQL Server failover clustered instance suddenly went offline. It turns out that my quorum disk and the standby node in the cluster both went offline at the same time. I could not connect to the WSFC nor to my SQL Server failover clustered instance. What do I need to do to bring my SQL Server failover clustered instance back…


View On WordPress

Link
oppara
oppara

Amazon Route 53のDNSフェイルオーバー機能を利用したリージョンを跨いだバックアップサイトの構築(EC2 to S3編) | Developers.IO

Amazon Route 53のDNSフェイルオーバー機能を利用したリージョンを跨いだバックアップサイトの構築(EC2 to S3編) | Developers.IO
dev.classmethod.jp
Text
eitanblumin
eitanblumin

Control SQL Jobs based on HADR Role - Taking it to the Next Level

[New #Blog Post] Bam! Let’s knock it up a notch! Enable or Disable #SQLServer Jobs Based on HADR Role - Taking it to the Next Level! #Microsoft @SQLServer #MadeiraData

Bam! Knock it up a notch!

In one of my previous blog posts, Automatically Enable or Disable Jobs based on HADR Role, I provided a solution for automatically enabling or disabling scheduled jobs in combination with Availability Groups and Database Mirroring. In this blog post, I’m going to build upon my previous solution and improve it even further – taking it to the next level of automation!

(more…)

View On WordPress

Link
prachivermablr
prachivermablr

How Hadoop automatically triggers NameNode Failover? - DataFlair

How Hadoop automatically triggers NameNode Failover? - DataFlair
data-flair.training
Link
oppara
oppara

Route53フェイルオーバでSorryページをELB固定レスポンス表示させる | DevelopersIO

Route53フェイルオーバでSorryページをELB固定レスポンス表示させる | DevelopersIO
dev.classmethod.jp
Text
labkomdotcodotid
labkomdotcodotid

Kombinasi Loadbalancing PCC dan Failover 2 ISP

Kombinasi Loadbalancing PCC dan Failover 2 ISP

Topologi

Astinet = 50mbps = ether1 = 192.168.200.1

Indihome= 150mbps = ether5 = 192.168.100.1

/ip firewall address-list
add address=10.0.0.0/8 list=private-lokal
add address=172.16.0.0/12 list=private-lokal
add address=192.168.0.0/16 list=private-lokal
/ip route
add check-gateway=ping comment=exit-1 distance=1 gateway=192.168.200.1 routing-mark=exit-1
add check-gateway=ping…

View On WordPress

Answer
skywalkerthrawn
skywalkerthrawn

not great. our crops are dying and our children are starving. i can’t stop thinking about thrawn and eli being badass rebels and fucking shit up together (and everyone around them marveling at what an amazing team those two are)

Answer
skywalkerthrawn
skywalkerthrawn

TRULY like not to be dramatic but that fic birthed me and raised me and i don’t know how to go on without it

Video
sabiogato
sabiogato

Sabio in action 😁 #sabiothecat #oldcatinaction #cat #failover #catstagram #kittycat #gingercat #pet #animal (at Hornbill Bookshop & Cafe)
https://www.instagram.com/p/BqHHKLKH9wQ/?utm_source=ig_tumblr_share&igshid=w90wgdk7gumt

Link
mmorellm
mmorellm

VMware Metro Cluster Guide

VMware Metro Cluster Guide
d8tadude.com
Photo
usawebbuzi-blog
usawebbuzi-blog

Shared Hosting
Built on the Cloud
Twice as fast
Scales with your traffic
Starts at just $ 7.79 /month. Annual purchase required.
Your Data - Safeguarded
Our industry-leading Ceph-based storage system stores your website data across 3 distinct devices to ensure redundancy and safety.

Automatic Failover
If we detect a hardware issue, we automatically move your site to another server, ensuring that your site is always up and you never lose traffic.

Resource Management
An intuitive dashboard helps you keep an eye on the resources your website is using and its performance. You can ramp up whenever required. #cloud #cloudhosting #hosting #failover #data #safegaurd #sharedcloud #websites #usawebbuzi @usawebbuzi (at Montrose, Colorado)

photo
Photo
cyberfero
cyberfero

What is Disaster Recovery as a Service (#DRaaS)? Disaster Recovery as a Service (DRaaS) is the replication and hosting of physical or virtual servers by a third party to provide fail over in the event of a man-made or natural catastrophe. https://www.secure-od.com/cloud-products-and-services/baas/acronis-cloud-backup/disaster-recovery-cloud/ #backup #recovery

photo
Text
equiinet05-blog
equiinet05-blog

Equiinet Offers Cloud Failover with Auto Attendant

What Is Failover?

In an age when almost everything is connected through the Internet (or at the very least, an electrical outlet), it is imperative for businesses to prepare themselves for potential losses of power. You buy liability insurance in case of fire or natural disasters; why wouldn’t you also ensure your company will run smoothly even if there is a hiccup in your connectivity?

Failover is a feature that acts as a back-up power generator in case your Internet goes out. Equiinet’s traditional 4G Failoveroperates like a hotspot thatassists youif you lose network connectivity.Equiinet algorithms prioritize bandwidth requirements to ensure your most critical systems are always enabled and essential operations continue without any issues.

But what if your power goes out and customers are unable even to call your business?Utilizing Cloud Failover with Equiinet guarantees you will be able to maintain your day-to-day voice operations without skipping a beat. Calls are automatically forwarded from your company’s IP phone system to your desired employee’s personal cell phone. This means customers will always have a way to reach you, no matter what.

Auto Attendant

While sending all your incoming calls to a single phone may work if you don’t expect a high volume of traffic, it is overwhelming for one person to be responsible for every phone call. That’s why Equiinet includes an Auto Attendant with our Cloud Failover. Callers are greeted with a personalized message from your company that gives them the option to be connected to a specific department or to leave a message. This way, customers can reach a particular employee based on the customer’s needs, rather than requiring one individual to handle the entire call load.

Pricing

We believe in providing affordable solutions to all our customers. No business should have to suffer simply because the power goes out. Therefore, we offer several options for your business, so you can customize your Failover plan.

4G Failover                                                                            Cloud Failover + Auto Attendant

$50.00 / month                                                                        $12.99 / month

(Plus low installation fee)                                                       (Plus low installation fee)

4G Failover + Cloud Failover + Auto Attendant

$59.99 / month

(Plus low installation fee)

*SPECIAL DEAL*

If you sign up for a 3-year contract with Equiinet, you will receive Cloud Failover + Auto Attendant for FREE for 3 years! Simply cover the cost of the installation fee, and Equiinet will provide these two services, at no cost to you!

Give us a call today for more information – we can’t wait to help your business succeed!

To learn more about Equiitext visit: https://www.equiitext.com