Forum Discussion

AlexS_yb's avatar
AlexS_yb
Icon for Cirrocumulus rankCirrocumulus
Sep 23, 2021

irules and partitions - can somebody explain

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

 

 

No RepliesBe the first to reply