Hello everyone, this is my first post here but have been on the FreeNAS forums for a bit now. I am looking at moving to pure FreeBSD as FreeNAS has some limits and I don't like the direction the project is going. I need a rock solid storage box without frills like an AD controller or bhyve.
I am extremely green to fault tolerant storage and I am trying to cobble something together based on shared storage. This would be served over iSCSI and/or Fibre Channel. At this point I'm just trying to get CARP working. It seems like it should be quite simple but both hosts ctlr-a and ctlr-b are stuck in
"Backup". I could use a second set of eyes to look over my config. Note, I am not using preempt as I want to implement hold down timers and flapper limits to prevent an endless loop of flip flopping.
ctlr-a:
ctlr-b:
disabling either hosts network via cable pull or
Any insights would be appreciated!
I am extremely green to fault tolerant storage and I am trying to cobble something together based on shared storage. This would be served over iSCSI and/or Fibre Channel. At this point I'm just trying to get CARP working. It seems like it should be quite simple but both hosts ctlr-a and ctlr-b are stuck in
"Backup". I could use a second set of eyes to look over my config. Note, I am not using preempt as I want to implement hold down timers and flapper limits to prevent an endless loop of flip flopping.
ctlr-a:
Code:
root@ctlr-a:~ # ifconfig vmx0
vmx0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=60039b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:50:56:88:89:ac
hwaddr 00:50:56:88:89:ac
inet 192.168.1.243 netmask 0xffffff00 broadcast 192.168.1.255
inet 192.168.1.245 netmask 0xffffffff broadcast 192.168.1.245 vhid 1
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
carp: BACKUP vhid 1 advbase 1 advskew 1
root@ctlr-a:~ # cat /etc/rc.conf
hostname="ctlr-a"
defaultrouter="192.168.1.1"
ifconfig_vmx0="inet 192.168.1.243/24"
ifconfig_vmx0_alias0="inet vhid 1 pass pa$$w0rd advskew 1 alias
192.168.1.245/24"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
zfs_enable="YES"
ctld_enable="yes"
ctlr-b:
Code:
root@ctlr-b:~ # ifconfig vmx0
vmx0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=60039b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,TSO6,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:50:56:88:63:2d
hwaddr 00:50:56:88:63:2d
inet 192.168.1.244 netmask 0xffffff00 broadcast 192.168.1.255
inet 192.168.1.245 netmask 0xffffffff broadcast 192.168.1.245 vhid 1
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
carp: BACKUP vhid 1 advbase 1 advskew 2
root@ctlr-b:~ # cat /etc/rc.conf
hostname="ctlr-b"
defaultrouter="192.168.1.1"
ifconfig_vmx0="inet 192.168.1.244/24"
ifconfig_vmx0_alias0="inet vhid 1 pass pa$$w0rd advskew 2 alias
192.168.1.245/24"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
zfs_enable="YES"
ctld_enable="yes"
ifconfig vmx0 down
seems to have no effect and running tcpdump -T carp | grep CARP
shows the CARPv2 advertisements. Both hosts can ping each other and the gateway. As this is running in ESXi 6.7 I have also set the following policies on the port group.
Code:
Security
Promiscuous mode Accept
MAC address changes Accept
Forged transmits Accept