08-03-2014 04:43 AM
Hi Stingray Traffic Manager genius ...
Is it possible to redirect the traffic directly from :
virtual service1 >>> gateway1
virtual service2 >>> gateway2
by using Traffic Scripts Language ? no need to pools and nodes in this example ?
Solved! Go to Solution.
08-05-2014 01:10 AM
If you are deploying stingray on Linux as a software installation , you can use policy based routing. This is something provided as part of your linux distribution.
There is a good article that explains how to set it up here: Configuring Multiple Default Routes in Linux | Darien Kindlund's Blog
Hope this helps.
09-01-2014 05:30 AM
Yes I know that , but if we use policy based routing , then in this case we don't have the ability to activate the content cache or the the atomizer .. etc.
What I need is a solution to use the traffic manager as default gate way through its virtual services , so you still can use the traffic manager useful features ...
I hope the experiences admins share with us this information
09-01-2014 05:01 PM
I am not sure I follow. Let me clarify with a few elements:
Does this clarify it sufficiently?
09-02-2014 12:47 AM
Just want to thank you for following up my issue , really appreciate it ..
I tried your recommendation but its just not working ...
What I mean by not working is there is no activity on my Virtual Server , it seems the traffic passed directly to the gateway , not through the VS , and all activity diagrams are zeros ...
Only one case I get the traffic passed via VS , its by proxy request (client browser directed to VS IPort) which is not useful for my application .
Ok , I will make it very simple , and if I get this work , then I can solve my problem , as shown in the below diagram :
I have no problems with the normal application servers ...
My special application server need to connect to the internet via STM eth1 , as its the default gateway for the special application , that it !
Its seems simple but I cannot make it work and keeping STM features as well !
Did I missed something ?
09-02-2014 01:25 AM
ok. I think I see the problem (this probably has more to do with network setup putting the STM on the Traffic path at layer 3), but so I don't make things more complicated, I need to clarify some details so I make sure we get the advice correct for your use case:
If you can answer these questions, I am confident we can point you in the right direction.
09-02-2014 08:16 AM
Here under my reply to your questions :
1st - Waiting your advice on the above .
2nd - more simpler scenario , what if I used a defecated STM for this special application ?
in other words you can ignore the normal application server in the above diagram , what would be your advice ?
09-03-2014 09:07 AM
OK. Here is some pointers:
Hope this helps...
09-04-2014 04:00 AM
Thanks Aidan for recommendation 1 and 2 , we shall consider this for sure after checking that every things is Ok .
regarding my problem , I'm using right now the IP Forwarding as mentioned by you in point no. 3 , and my special application is already connected to the internet using this feature ...
But as I said in my first post , its seems the traffic not passing through the virtual server , then non of the useful STM features can be applied ...
For that I'm locking for another way , or the correct way to make the traffic passing via VS .
Many thanks to you for your support .
09-04-2014 05:48 AM
I can confirm that unless the STM is processing the traffic via a Virtual Server, you will not be able to use STM functions like load balancing, compression, caching etc.
If you are interested, there are iptables configurations that allow you to capture traffic and feed it into a virtual server. This is an 'edge case' for STM though, and can become complex. If you are not familiar with iptables, this might not be the solution for you.
What is the actual problem you are trying to solve?