Forum Discussion

Luca_55898's avatar
Luca_55898
Icon for Nimbostratus rankNimbostratus
Jul 27, 2012

VLAN and self IP sync between HA

I have a HA pair of LTMs that gets virtual servers dynamically configured at any time via API.

 

When this happens, the VLANs and self IPs are not synced to the standby LTM (why it doesn't sync the VLANs is beyond me)

 

 

So I need a way to script it.... In what files are the vlans and self IP configuration stored in? I should be able to create script pretty easily, but can't find the correct files.

 

 

Any other suggestions?

 

 

Cheers

 

7 Replies

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    Vlans aren't part of the shared config, so they wont sync. You need to create them on both ha members. Same with self ips. Floating ones will sync though.

     

     

    The virtual servers and pools etc will sync when you tell the units to sync. Theres an icontrol method for this too.

     

     

    H
  • Hi Luca,

     

    The elements on the LTM box which has to do with the traffic are Nodes, Pools, Virtual Servers, iRules, certificates monitors etc so these items are synced VLANS, self IP's are individual identity so its not syncd. Also Hamish has given a very good explanation.

     

     

    Regards,
  • Yea i understand this, but if the VLANs don't sync and you forget to configure them, and a failover occurs, traffic will fail.

     

     

    Just seems weird to me...If they need to exist on both devices for traffic to work then they should auto sync.

     

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    One reason that sync may not be a good idea, is that the vlan info may be different on the two devices... The VLAN id for example doesn't need to be the same... It may be a bridged architecture where the vlanid is 10 on one device and 20 on the second and there's a bridge between them.

     

     

    You couldn't sync that... Plus interfaces used may be different (1.1 on one device, 2.1 on the other). etc etc.

     

     

    H
  • Hamish is correct. The network configuration is unique to each device. Think of an active-active configuration. Everything that is stored in the bigip_base.conf file is not sync between the devices. VLANs, Self-IP. Management IP, Trunks, etc.
  • So does anyone have any ideas of a easy way to sync the VLANs?

     

     

    Like i said, our device gets changed dynamically, so i would like something that runs every hour to sync the parts of the config that do not get synced

     

  • rfc19's avatar
    rfc19
    Icon for Nimbostratus rankNimbostratus
    You could use iControl to update each device individually through its mgmt IP