VIP to VIP traffic on different BIGIP's

Here is the setup:

Client → VIP on production LTM → Cisco ASA/NAT → VIP on test LTM → Pool → Server

I’m fairly green at F5, and this configuration isn’t something I am familiar with. Is this something I would do in an iRule? If so, does anybody have an example of how I would write it? If I had to redirect to a different URL, I could create a separate A record in DNS pointing to the VIP in test.

See below setup:

Client --> VIP1(Big-IP 1) --|ASA|-->VIP2(Big-IP 2)-->Pool-->Server

  1. Configure VIP1 on Big-IP 1

  2. Create a Pool with VIP2 as pool member on Big-IP 1.

  3. Assign above pool to VIP1 on Big-IP 1.

  4. Create VIP2 on Big-IP 2.

  5. Create Pool with your servers on Big-IP2.

  6. Assign above pool to VIP2. This is fairly simple setup.

    Note: Make sure your ASA allows access from Big-IP 1 to VIP2 on Big-IP 2.

Hope this helps!