# server affinity for dependency services

**URL:** <https://community.f5.com/t/server-affinity-for-dependency-services/57563>\
**Category:** Technical Forums\
**Tags:** design\
**Created:** [November 7, 2013, 3:27am UTC](https://community.f5.com/t/server-affinity-for-dependency-services/57563 "2013-11-07T03:27:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flypast](https://avatars.discourse-cdn.com/v4/letter/f/ac91a4/32.png) [@flypast](https://community.f5.com/u/flypast)\
**Post date:** [November 7, 2013, 3:27am UTC](https://community.f5.com/t/server-affinity-for-dependency-services/57563/1 "2013-11-07T03:27:32Z")

</div>

we have one server farm which has multiple servers. On each server, we have 2 services running. Each service on a different secondary IP address. End user always reaches the first service then second. We have set up 2 vIP for these 2 services on F5 LTM. from f5 point of view, we have 2 vIP and 2 pools.

We want to keep server affinity, which means:

if user reach server 1 for service 1 and we want the user to use the same server for service 2 if server 1 is up.

Anybody can help? Any idea is highly appreciated.

---

<div class="post-metadata">

**Author:** ![kridsana](https://avatars.discourse-cdn.com/v4/letter/k/d2c977/32.png) [@kridsana](https://community.f5.com/u/kridsana)\
**Post date:** [November 7, 2013, 4:29am UTC](https://community.f5.com/t/server-affinity-for-dependency-services/57563/2 "2013-11-07T04:29:11Z")

</div>

is both services using persistence?
