最近一段时间偶尔在standby的ASA上看到‘%ASA-3-210007: LU allocate xlate failed ’这样的报错信息。Google了一把后,得知一般情况下出现这种问题的原因有两个:第一,standby ASA的内存不够用。第二,配置中NAT 0和固定NAT存在重叠部分。检查了一下内存使用率和ASA的配置,确认没有问题。
登录到standby ASA启用debug命令来收集一些有用的日志信息,果然有收获,找到如下两条。这两条说明192.168.8.145:6000到119.147.9.204:8000建立session的地址转换表不能被成功同步。(在primary ASA上,我启用了http session同步 - failover replication http,这样做的好处是保证failover发生时,http session不会中断。)
ASA#debug fover fail
Failed to rep xlate for np/port/id/1/-1 192.168.8.145/6000 - np/port/id/0/-1 119.147.9.204/8000, flg: 1003000 2
Failed to rep xlate for np/port/id/1/-1 192.168.8.145/6000 - np/port/id/0/-1 119.147.9.204/8000, flg: 1003000 2
Failed to rep xlate for np/port/id/1/-1 192.168.8.145/6000 - np/port/id/0/-1 119.147.9.204/8000, flg: 1003000 2
既然是和地址转换相关,那当然要去primary ASA上去查看地址转换表了。登录上primary AS