# config firewall ldb-monitorThe active/standby servers can be configured as follows:
edit "http-monitor"
set type http
set port 13240
set http-get "/http_status"
set http-match "OK"
next
end
# config firewall vipIn the active-standby mode, if the primary server went down, FortiOS will not forward any traffic to it for 5 minutes based on the holddown_interval default value.
edit "Load-balance"
set type server-load-balance
set extip 192.168.37.4
set extintf "any"
set server-type tcp
set monitor "http-monitor"
set ldb-method least-session
set extport 3330
config realservers
edit 1
set ip 10.31.101.42
set port 3330
set status active
set holddown-interval 300
next
edit 2
set ip 10.31.101.43
set port 3330
set status standby
set holddown-interval 300
next
end
next
end
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.