# LTM config query

**URL:** <https://community.f5.com/t/ltm-config-query/27888>\
**Category:** Technical Forums\
**Tags:** ltm, application-delivery\
**Created:** [July 1, 2018, 2:24pm UTC](https://community.f5.com/t/ltm-config-query/27888 "2018-07-01T14:24:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samit\_jadhav\_33](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Samit\_jadhav\_33](https://community.f5.com/u/Samit_jadhav_33)\
**Post date:** [July 1, 2018, 2:24pm UTC](https://community.f5.com/t/ltm-config-query/27888/1 "2018-07-01T14:24:42Z")

</div>

Client has 4 singapore webservers configured as primary & 4 webservers in jurrong, configured as secondary behind ltm. Client has requirement in such a way that if any of the 2 Singapore servers fails, the request should hit jurrong servers. Could anyone advise further. Thanks!

---

<div class="post-metadata">

**Author:** ![bsb](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@bsb](https://community.f5.com/u/bsb)\
**Post date:** [July 2, 2018, 3:49am UTC](https://community.f5.com/t/ltm-config-query/27888/2 "2018-07-02T03:49:46Z")

</div>

Are all the 8 servers (4 primary and 4 secondary) in same pool or different pool if it is different pool, you can achieve it using irule when LB\_FAILED { if { [active\_members [LB::server pool]] \<\<= 2 } { Virtual Jurang\_pool } else { do nothing }

---

<div class="post-metadata">

**Author:** ![Samit\_jadhav](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Samit\_jadhav](https://community.f5.com/u/Samit_jadhav)\
**Post date:** [July 2, 2018, 4:02am UTC](https://community.f5.com/t/ltm-config-query/27888/3 "2018-07-02T04:02:17Z")

</div>

All these 8 servers are in same pool. Thanks for the reply. Let me configure it and will update you. Thanks!

---

<div class="post-metadata">

**Author:** ![Filip\_Mikulík\_1](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Filip\_Mikulík\_1](https://community.f5.com/u/Filip_Mikul%C3%ADk_1)\
**Post date:** [July 2, 2018, 6:19am UTC](https://community.f5.com/t/ltm-config-query/27888/4 "2018-07-02T06:19:49Z")

</div>

After 2 Singapore server fail, all traffic must go to the Jurrong or the traffic should be balanced to Singapore AND Jurrong?

---

<div class="post-metadata">

**Author:** ![bsb](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@bsb](https://community.f5.com/u/bsb)\
**Post date:** [July 2, 2018, 6:50am UTC](https://community.f5.com/t/ltm-config-query/27888/5 "2018-07-02T06:50:26Z")

</div>

You can configure two priority groups.

Singapore priority group as 1 jurang priority group as 2

on pool load balancing method, you have option as priority group activation , you can make it as less than 2 or based on your requirement.

---

<div class="post-metadata">

**Author:** ![Samit\_jadhav](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Samit\_jadhav](https://community.f5.com/u/Samit_jadhav)\
**Post date:** [July 2, 2018, 10:37am UTC](https://community.f5.com/t/ltm-config-query/27888/6 "2018-07-02T10:37:06Z")

</div>

I tried making less than 2 earlier bit it didn’t work.

---

<div class="post-metadata">

**Author:** ![Filip\_Mikulík\_1](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Filip\_Mikulík\_1](https://community.f5.com/u/Filip_Mikul%C3%ADk_1)\
**Post date:** [July 2, 2018, 11:18am UTC](https://community.f5.com/t/ltm-config-query/27888/7 "2018-07-02T11:18:15Z")

</div>

try less than 3. because less than 2 is 1 (not your wanted 2)

---

<div class="post-metadata">

**Author:** ![youssef1](https://avatars.discourse-cdn.com/v4/letter/y/ed655f/32.png) [@youssef1](https://community.f5.com/u/youssef1)\
**Post date:** [July 2, 2018, 11:58am UTC](https://community.f5.com/t/ltm-config-query/27888/8 "2018-07-02T11:58:51Z")

</div>

Just be carefull when you set priority group, The higher the number, the higher the priority, so a member with a priority of 3 has higher priority than a member with a priority of 1.

So you have to alternative:

Alternative 1: Priority Group Activation less than 1 In this case if you have if you have 2 Singapore servers fails, the load balancin will be done on all other not only jurrong server but the 2 remaining servers.

- singapore-node-1 --\> 4 (fails)
- singapore-node-2 --\> 4 (fails)
- singapore-node-3 --\> 4
- singapore-node-4 --\> 4
- jurrong-node-1 --\> 3
- jurrong-node-2 --\> 3
- jurrong-node-3 --\> 3
- jurrong-node-4 --\> 3

Alternative 1: Priority Group Activation less than 1 In this case if you have if you have 2 Singapore servers fails, the load balancing will be done only on jurrong server. and if there are problems on the jurong servers the lb will be donne on all availlable server.

- singapore-node-1 --\> 4 (fails)
- singapore-node-2 --\> 4 (fails)
- singapore-node-3 --\> 2
- singapore-node-4 --\> 2
- jurrong-node-1 --\> 3
- jurrong-node-2 --\> 3
- jurrong-node-3 --\> 3
- jurrong-node-4 --\> 3

For more info:

[http://blog.rapidlinksnetworks.co.uk/f5-bigip-priority-group-activation/](http://blog.rapidlinksnetworks.co.uk/f5-bigip-priority-group-activation/)

Let me know if you need more details.

regards
