Forum Discussion

Ajmal_2608's avatar
Ajmal_2608
Icon for Nimbostratus rankNimbostratus
Mar 19, 2013

HA Groups - assistance needed

 

HI Everyone,

 

In continuation with - https://devcentral.f5.com/internal-forums/aft/2166271

 

 

As recommended, I created 3 new trunks with 1 interface (I already had PO1 with 2 interfaces in it) and configured HA-Group

 

 

Below are the issues I am facing:

 

Even though I mentioned the threshold as 1 for PO1, it fails out when I shut one of the interfaces in the PO, I am expecting it fail only when both the interfaces of PO1 go down.

 

When the interface for device A comes up and the interface on device B goes down it doesn't switch the role, Device B still hold the Active role, for instance:

 

  1. If I make interface 1.3 (Trunk_111) down on device A, failover happens immediately and device B gets the Active role.
  2. Now when I bring up the interface then device B holds the Active role, which is what I want, (I set the failover preference to none on both devices)
  3. When I make interface 1.3 (Trunk_111) down on device B, it still keeps Active role with him which ideally it should become standby and release Active role to device A, This is a problem

 

I think something here is to do with weights assigned or the active bonus, not getting how to solve this.

 

Below is both device A & B config for ha-group & trunks, please suggest how to fix this

 

 

Code 10.2

 

--------------------------------- Active Box -----------------------------------

 

[asheikh@LTM1:Active] ~ tmsh list sys ha-group ha-group_1

 

sys ha-group ha-group_1 {

 

trunks {

 

PO1 {

 

percent-up 100

 

threshold 1

 

weight 40

 

}

 

Trunk_111 {

 

percent-up 100

 

weight 20

 

}

 

Trunk_112 {

 

percent-up 100

 

weight 20

 

}

 

Trunk_211 {

 

percent-up 100

 

weight 20

 

}

 

}

 

}

 

[asheikh@LTM1:Active] ~ tmsh list net trunk

 

net trunk PO1 {

 

bandwidth 2000

 

cfg-mbr-count 2

 

id 0

 

interfaces {

 

1.1

 

1.2

 

}

 

mac-address 0:23:e9:4e:75:96

 

working-mbr-count 2

 

}

 

net trunk Trunk_111 {

 

bandwidth 1000

 

cfg-mbr-count 1

 

id 2

 

interfaces {

 

1.3

 

}

 

mac-address 0:23:e9:4e:75:98

 

working-mbr-count 1

 

}

 

net trunk Trunk_112 {

 

bandwidth 1000

 

cfg-mbr-count 1

 

id 1

 

interfaces {

 

1.6

 

}

 

mac-address 0:23:e9:4e:75:97

 

working-mbr-count 1

 

}

 

net trunk Trunk_211 {

 

bandwidth 1000

 

cfg-mbr-count 1

 

id 3

 

interfaces {

 

1.4

 

}

 

mac-address 0:23:e9:4e:75:99

 

working-mbr-count 1

 

}

 

[asheikh@LTM1:Active] ~

 

 

--------------------------------- Standby Box -----------------------------------

 

[asheikh@LTM2:Standby] ~ tmsh list sys ha-group ha-group_1

 

sys ha-group ha-group_1 {

 

trunks {

 

PO1 {

 

percent-up 100

 

threshold 1

 

weight 40

 

}

 

Trunk_111 {

 

percent-up 100

 

weight 20

 

}

 

Trunk_112 {

 

percent-up 100

 

weight 20

 

}

 

Trunk_211 {

 

percent-up 100

 

weight 20

 

}

 

}

 

}

 

[asheikh@LTM2:Standby] ~ tmsh list net trunk

 

net trunk PO1 {

 

bandwidth 2000

 

cfg-mbr-count 2

 

id 0

 

interfaces {

 

1.1

 

1.2

 

}

 

mac-address 0:23:e9:4e:7e:96

 

working-mbr-count 2

 

}

 

net trunk Trunk_111 {

 

bandwidth 1000

 

cfg-mbr-count 1

 

id 2

 

interfaces {

 

1.3

 

}

 

mac-address 0:23:e9:4e:7e:98

 

working-mbr-count 1

 

}

 

net trunk Trunk_112 {

 

bandwidth 1000

 

cfg-mbr-count 1

 

id 1

 

interfaces {

 

1.6

 

}

 

mac-address 0:23:e9:4e:7e:97

 

working-mbr-count 1

 

}

 

net trunk Trunk_211 {

 

bandwidth 1000

 

cfg-mbr-count 1

 

id 3

 

interfaces {

 

1.4

 

}

 

mac-address 0:23:e9:4e:7e:99

 

working-mbr-count 1

 

}

 

[asheikh@LTM2:Standby] ~

 

1 Reply