cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

irules and partitions - can somebody explain

AlexS_yb
Cirrostratus
Cirrostratus

Hi

 

So 2 partitions say

p_p1

p_p2

 

irule with a big switch to i can pick a pool to send the request to.

 

say

/p_p1/pool1

/p_p1/pool2

/p_p1/pool3

/p_p2/pool1

/p_p2/pool2

/p_p2/pool3

 

 

I have 2 VS

/p_p1/vs_1

/p_p2/vs_2

 

my irule say

 

switch on path

 

/hub/* {

pool pool1

}

 

 

this irule is attached to

/p_p1/vs_1

/p_p2/vs_2

 

 

 

seems like when i make a request to /p_p2/vs_2 with path /hub pool pool1 turns into a request for /p_p1/pool1 even though that pool is not in that partition

 

that seems rather weird to me

 

so I am grabbing the VS name to grab the partition so that I can change all of my pool statements into pool /p_p1/... or /$part/<pool>

 

that seems wrong to me

 

 

0 REPLIES 0