# GTM node active standby loadbalacing

**URL:** <https://community.f5.com/t/gtm-node-active-standby-loadbalacing/39684>\
**Category:** Technical Forums\
**Tags:** big-ip-dns, irules, application-delivery\
**Created:** [July 28, 2017, 8:33am UTC](https://community.f5.com/t/gtm-node-active-standby-loadbalacing/39684 "2017-07-28T08:33:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prateek4589\_316](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@prateek4589\_316](https://community.f5.com/u/prateek4589_316)\
**Post date:** [July 28, 2017, 8:33am UTC](https://community.f5.com/t/gtm-node-active-standby-loadbalacing/39684/1 "2017-07-28T08:33:46Z")

</div>

Hello All

I want to replicate the below mentioned scenario:

IF (NODO-1.Run Level == Operational && NODO-1. Replication Status == Replicating) { USE NODO-1 } ELSE { USE NODO-2 }

This is GTM and the wide ip has one pool with 2 VS. I have used the Global availability as load balancing but it doesn’t server the purpose. If we use irule then what should be the irule I need to use here

---

<div class="post-metadata">

**Author:** ![Vijay\_E](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@Vijay\_E](https://community.f5.com/u/Vijay_E)\
**Post date:** [July 28, 2017, 7:47pm UTC](https://community.f5.com/t/gtm-node-active-standby-loadbalacing/39684/2 "2017-07-28T19:47:05Z")

</div>

I don’t understand the pseudo-script that you have provided. If you are looking for active-standby, Global Availability is the best option. I would recommend splitting up the VS into 2 pools. If you want to use iRule, you can use something from this [link](https://devcentral.f5.com/wiki/iRules.DNS_REQUEST.ashx), based on your specific requirements.
