GTM node active standby loadbalacing

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

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, based on your specific requirements.