Below provides a basic example on how to configure a primary / backup setup. Traffic is only distributed to the primary server, at the point the primary node becomes offline traffic is distributed to the secondary server.
server real RS_192.168.1.1 192.168.1.1
port http
port http url “HEAD /”
server real RS_192.168.1.2 192.168.1.2
backup
port http
port http url “HEAD /”
server virtual VS_TEST 192.168.100.100
port http
port http lb-pri-servers
bind http RS_192.168.1.1 http RS_192.168.1.2 http
Note : Remember that if you are using a remote server then the syntax “server remote <NAME> <IP>” should be used.
- How to Configure a BIND Server on Ubuntu - March 15, 2018
- What is a BGP Confederation? - March 6, 2018
- Cisco – What is BGP ORF (Outbound Route Filtering)? - March 5, 2018
Want to become a networking expert?
Here is our hand-picked selection of the best courses you can find online:
Cisco CCNA 200-301 Certification Gold Bootcamp
Complete Cyber Security Course – Network Security
Internet Security Deep Dive course
Python Pro Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial