Forum Discussion

swjo_264656's avatar
swjo_264656
Icon for Cirrostratus rankCirrostratus
Oct 25, 2017

Error log using clone pool i-Rule

Hi guys

 

I`m using client side / server side clone pool using i-Rule

 

when CLIENT_ACCEPTED { if {[active_members SLB_POOL ] == 2}{ clientside {clone pool CLONE_POOL} serverside {clone pool CLONE_POOL} } }

 

but In ltm log, this log occured.

 

Oct 25 21:32:45 swjo err tmm[15819]: 01220001:3: TCL error: /Common/CLONE_RULE - command serverside is invalid in peerless context (line 3) invoked from within "serverside {clone pool CLONE_POOL}"

 

I`m using 11.5.3

 

It would be helpful resolve this issue.

 

ps. just use Virtual server option(not i-Rule) (Clone Pool (Client) / Clone Pool (Server) -> it was ok.

 

just use i-Rule(not VS option) when CLIENT_ACCEPTED { if {[active_members SLB_POOL ] == 2}{ clone pool CLONE_POOL } } -> it was ok.

 

thank you.

 

2 Replies

  • Hi guys.

     

    I checked more things.

     

    when CLIENT_ACCEPTED { if {[active_members SLB_POOL ] == 2}{ clone pool CLONE_POOL } } when CLIENT_ACCEPTED { clone pool CLONE_POOL } } both two rule didn`t send clone traffic when SLB_POOL members are all down.

     

    but when using VS option not i-Rule, BIG-IP send clone traffic when SLB_POOL members are all down.

     

    So I searched clone disable i-Rule.

     

    but I couln`t find.

     

    when CLIENT_ACCEPTED { if {[active_members SLB_POOL ] == 1}{

     

    { clone pool } disable --> ????

     

    } }

     

    thank you.

     

  • Hi SWJO,

    the

    [serverside]
    command can't be executed during
    CLIENT_ACCEPTED
    since no server side context has established at this stage. You have to wait until the LB_SELECTED event has choosen a pool member to become able to access the server side context...

    Cheers, Kai