Forum Discussion

jay_41157's avatar
jay_41157
Icon for Nimbostratus rankNimbostratus
Aug 11, 2008

ideas...

----------------------------------------------------

 

We have:

 

----------------------------------------------------

 

application.domain.com

 

 

application is being ported over to a different platform / new systems however we will still have legacy apps that will not migrate to the new platform / systems.

 

 

So we will have:

 

 

applications.domain.com (hosted on the new enviroment)

 

 

And the below hosted on the old environment.

 

application.domain.com/legacyapps

 

application.domain.com/one

 

application.domain.com/two

 

application.domain.com/three

 

application.domain.com/....

 

application.domain.com/hundred

 

 

All of the above applications are not self containted and have assets that are hardcoded for eg, applications.domain.com/two/something/image.jpg so we will need to proxy the request from the new system to the old and not redirect it to avoid a loop.

 

 

Also the domain "applicaion" has to stay the same due to business need.

 

----------------------------------------------------

 

We need:

 

----------------------------------------------------

 

To send all legacy traffic based on the uri to the old VIP, and everything else to the new VIP.

 

----------------------------------------------------

 

One option:

 

----------------------------------------------------

 

applicaions.domain.com --> vip 172.25.0.60

 

newPool --> server 1 - 5

 

legacyPool --> legacy VIP 172.25.0.234

 

 

So we can do an irule to check the 100 + uri's and if it matches the legacy uri then send traffic to the legacy pool else send traffic to the newPool

 

 

The BIG PROBLEM here is that everytime a request is made there is a lot of overhead caused by the if statements in the irule to check if the legacy uri is matched or not. Also here we would have to do SNATS and X-Forwarded-For for source ip in log files.

 

----------------------------------------------------

 

Comments and Suggestions please....

 

----------------------------------------------------

 

3 Replies

  • Hi Thanks for the response, I was planning on using the matchclass option.

     

     

    I was wondering if anyone had any other ideas for this problem.

     

     

    Also we have run into this problem before:

     

    VS defined with a default pool

     

    --> irule

     

    --> if something

     

    --> default pool

     

    else

     

    --> pool b;

     

     

     

    If default pool is down, and pool b was up then the vs stays up at the GTM level, so I need more ideas for how to make sure that the vS is marked down when the default pool is down and up when the default pool is up.

     

    We do not care to check the status of pool b.

     

     

  • Is the default pool actually selected in the drop-down box for the virtual server? If so then if that pool's members all fail the health check, the virtual server should be marked down and GTM should pick up on that. The fact that Pool B is present in the iRule should not cause GTM to continue to mark the virtual up.

     

     

    Denny
  • Thanks Denny, we have actually run into that problem in the past, if we have the default pool selected and if we have an irule with pool b

     

    if pool b is up and default pool is down gtm does not see the site as down....