I configured two ASA 5540 in active/stand by, the trouble is when secundary ASA go to active, the tables xlate are starting to create and it ,gives me problems, there is some way that both ASA have the same xlate.
Alex, look at couple of links bellow .
you already have lan failover
failover lan unit primary
failover lan interface failover Ethernet9
failover lan enable
failover key *****
failover interface ip failover 192.168.40.1 255.255.255.192 standby 192.168.40.2
For stateful you will need dedicated interface or share lan failover interface with stateful failover, or you may use a subinterface for stateful failover implementation.
failover link state
failover interface ip state 10.0.0.1 255.0.0.0 standby 10.0.0.2
See Stateful failover section , as Jon indicated you will need ( failover link ) in order to enable stateful failover and pass per-connection state to standby unit.
Go over some good guidelines