Forum Discussion

SC_Baek_82122's avatar
SC_Baek_82122
Icon for Nimbostratus rankNimbostratus
May 29, 2008

Simple Universal Persist. But NOT STATEFULL

Here is simple UIE for UDP

 

 

when CLIENT_ACCEPTED {

 

set srcip [IP::client_addr]

 

set srcport [UDP::client_port]

 

set value $srcip:$srcport

 

persist uie $value

 

peer { persist uie $vaule}

 

log local0. "IP value ($srcip)"

 

log local0. "port value ($srcport)"

 

log local0. "persist value ($value)"

 

}

 

 

And persistence mirroring enable.

 

We can see persistence table in Active and Standby when apply.

 

But couldn't see add Active's current table when reset table or reboot standby box.

 

 

Here is follow step for test:

 

1. Enable Persistence Mirroring.

 

 

2. Make Active, Standby has same persistence table. (Verify b persis show all in Active, Standby)

 

 

3. Standby delete all persistence table (b persist all delete in Standby) or reboot, bigstart restart

 

 

4. Standby can’t receive any persistence table

 

 

Any idea for put to peer persist current table?

2 Replies

  • When the active creates the persistence entry, it is sent to the standby.

     

    The standby is maintaining the entry, with an IDLE 0 (and will increment the IDLE timeout value ONLY if it active).

     

    The entry is removed by the active after the timeout, and will then be deleted from the standby.

     

     

    If your are not creating a new "persistence" entry on the active box, it won't create an entry on the standby.

     

    Avoid doing a "b persist delete", this "manual" action on the CLI, won't "synchronize" on the other box ;-)

     

     

    What version of LTM are you using ?