2.4 Explain the key concepts of high availability for servers.
📘CompTIA Server+ (SK0-005)
Redundant network infrastructure ensures that if one network component fails, the server and clients can still communicate without downtime. High availability in servers depends heavily on having redundancy in both hardware and network design.
There are two main aspects here:
- Load Balancing
- Network Interface Card (NIC) Teaming and Redundancy
1. Load Balancing
Load balancing is the process of distributing network traffic across multiple servers or network paths. This ensures no single server gets overwhelmed and helps maintain high availability and performance.
Types of Load Balancing
- Software Load Balancing
- Uses software on the server or a virtual appliance to distribute traffic.
- Usually cheaper, easier to configure, but can use CPU and memory resources.
- Example: A web server cluster using HAProxy or Nginx to distribute web requests evenly across multiple backend servers.
- Hardware Load Balancing
- Uses dedicated hardware devices (load balancers) to manage traffic.
- Faster and more reliable because it doesn’t consume server CPU cycles.
- Example: F5 BIG-IP or Citrix ADC appliances distributing HTTP traffic for large enterprise applications.
Load Balancing Methods
- Round Robin
- Distributes requests in a circular order to each server.
- Example: If you have three web servers (Server A, B, C):
- Request 1 → Server A
- Request 2 → Server B
- Request 3 → Server C
- Request 4 → Server A (and repeat)
- Advantage: Simple and ensures even distribution of traffic.
- Limitation: Doesn’t consider server load or response time.
- Most Recently Used (MRU)
- Sends new requests to the server that was most recently used.
- Example: If Server B handled the last request, the next one also goes to Server B.
- Advantage: Can improve performance for sessions that benefit from caching.
- Limitation: May overload one server if traffic spikes.
Exam Tip: Know that round robin is simple distribution, while MRU is session-aware distribution.
2. Network Interface Card (NIC) Teaming and Redundancy
Servers often have multiple NICs to provide network redundancy and improve performance.
NIC Redundancy Concepts
- Failover
- If one NIC fails, another NIC automatically takes over.
- This is passive redundancy—only one NIC is active at a time.
- Example: NIC1 is actively serving network traffic. NIC2 is idle. If NIC1 fails, NIC2 starts handling traffic automatically.
- Benefit: Ensures network connectivity even if a NIC or cable fails.
- Link Aggregation
- Combines multiple NICs to act as one logical interface.
- Traffic is split across NICs simultaneously, increasing bandwidth and providing redundancy.
- Example: Two 1 Gbps NICs combined → 2 Gbps of total bandwidth.
- Benefit: Improves performance and maintains network availability if one NIC fails.
NIC Teaming Modes
- Active/Passive (Failover): One NIC is active, others are backup.
- Active/Active (Link Aggregation): All NICs actively handle traffic at the same time.
Exam Tip: Understand the difference:
- Failover → Backup NIC kicks in only if primary fails.
- Link Aggregation → Multiple NICs work together for higher speed and redundancy.
Summary Table for Exam Review
| Concept | Key Points | Example Use in IT Environment |
|---|---|---|
| Software Load Balancing | Uses server software; cheaper, uses CPU | HAProxy distributing web traffic |
| Hardware Load Balancing | Dedicated device; faster, reliable | F5 BIG-IP load balancer |
| Round Robin | Distributes requests evenly in a circle | 3 web servers handling incoming requests evenly |
| Most Recently Used (MRU) | Sends requests to the last-used server | Cached session requests on a web server |
| NIC Failover | Backup NIC takes over if primary fails | NIC1 fails → NIC2 becomes active |
| NIC Link Aggregation | Combines multiple NICs for speed and redundancy | 2 x 1 Gbps NICs combined → 2 Gbps throughput |
✅ Key Takeaways for the Exam:
- Load balancing ensures servers share traffic, avoiding overload.
- Software vs hardware load balancing depends on cost and performance.
- Round robin = simple rotation; MRU = session-focused.
- NIC teaming increases reliability:
- Failover = backup kicks in on failure.
- Link aggregation = multiple NICs work together for speed and redundancy.
