FailOver Using Carp

Compile kernel Freebsd and add “device carp” on the KERNEL line Set Sysctl /etc/sysctl.conf, and add line below : net.inet.carp.allow=1 net.inet.carp.preempt=1 net.inet.carp.log=2 net.inet.carp.arpbalance=1 This setting must be same on both server. Set Rc.conf /etc/rc.conf, and add line below : web1 (master): cloned_interfaces=”carp0 carp1″ ifconfig_carp0=”vhid 1 pass testist 172.16.1.157/23″ ifconfig_carp1=”vhid 1 pass testist 203.101.123.11/23″ web2 (backup): […]