Forum Discussion

netadmindetail_'s avatar
netadmindetail_
Icon for Nimbostratus rankNimbostratus
Apr 21, 2015

Persistence entries aren't mirrored to the standby unit when using iRules

Hi

 

I have an iRule configured on a VIP. This iRule select Pool1 or Pool2 based on the HTTP_Host. I removed any defaultpool configuration on my VIP to make sure only my iRule select them. I also have a default persistence profile attach to my VIP, so I do not add a persistence command into my iRules

 

On my primary unit I'm able to see all the persistence created but on my standby unit I should see all the same record but with 0sec of age but I didn't see anything. The list is empty on my standby units.

 

I double-checked on my persistence profile and I have the "Mirror persistence" check box enable.

 

Is there anyting related with my iRules or it's a basic mirror persistence issue ?

 

Thanks

 

24 Replies

  • I have a cluster of 3 LTM but one of them was a test and the licence is expired. I don't use it anymore but haven't remove it from the cluster. I have a sync failed for that one but my 2 other one are flaged as green.

    the expired unit is not a next active device, is it?

    root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) show cm traffic-group
    
    -----------------------------------------------------------
    CM::Traffic-Group
    Name                      Device            Status   Next
                                                         Active
    -----------------------------------------------------------
    traffic-group-1           ve11a.acme.local  standby  false
    traffic-group-1           ve11b.acme.local  standby  true
    traffic-group-1           ve11c.acme.local  active   false
    traffic-group-local-only  -                 -        -
    
  • I have a cluster of 3 LTM but one of them was a test and the licence is expired. I don't use it anymore but haven't remove it from the cluster. I have a sync failed for that one but my 2 other one are flaged as green.

    the expired unit is not a next active device, is it?

    root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) show cm traffic-group
    
    -----------------------------------------------------------
    CM::Traffic-Group
    Name                      Device            Status   Next
                                                         Active
    -----------------------------------------------------------
    traffic-group-1           ve11a.acme.local  standby  false
    traffic-group-1           ve11b.acme.local  standby  true
    traffic-group-1           ve11c.acme.local  active   false
    traffic-group-local-only  -                 -        -
    
  • Using tcpdump do you see a constant flow of traffic between the active/standby mirror addresses?

     tcpdump -nni  host  and port 1029
    
  • Hi,

     

    Have you got an update on this? I'm facing the same issue but I think I can break it down on the Connection Mirroring:

     

    I'm using the same configuration on a VS for ports 80 and 443. 80 has connection mirroring enabled, 443 has it disabled because there is a clientssl profile connected to it. Both use the same iRule and I've linked the universal persistence profile to this iRule (of course mirror persistence is enabled in the profile)

     

    I can see persistence entries for port 80 on the standby system but not for the 443 configuration.

     

    Regards Otto