Sully_103006
Apr 08, 2011Historic F5 Account
Is there anyway to make this Siebel iRule more efficient?
when CLIENT_ACCEPTED {
TCP::collect 1 }
when CLIENT_DATA {
if { [findstr [TCP::payload] "/siebel" 0 " "] == "/siebel/finsobjmgr_enu" } {
log local0. "Using pool company.org_2321_pool"
pool company.org_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] == "/siebel/smobjmgr_enu" } {
log local0. "Using pool company.org_2321_pool"
pool company.org_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] == "/siebel/eaiobjmgr_enu" } {
log local0. "Using pool company.org_2321_pool"
pool company.org_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] == "/siebel/finsobjmgr_enu/rr" } {
log local0. "Using pool company.org_2321_pool"
pool company.org_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] == "/siebel/smobjmgr_enu/rr" } {
log local0. "Using pool company.org_2321_pool"
pool company.org_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] == "/siebel/eaiobjmgr_enu/rr" } {
log local0. "Using pool company.org_2321_pool"
pool company.org_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] contains "/!5." } {
log local0. "Using pool APP01_2321_pool"
pool APP01_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] contains "/!7." } {
log local0. "Using pool APP02_2321_pooll"
pool APP02_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] contains "/!9." } {
log local0. "Using pool APP03_2321_pool"
pool APP03_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] contains "/!b." } {
log local0. "Using pool APP04_2321_pool"
pool APP04_2321_pool
}
elseif { [findstr [TCP::payload] "/siebel" 0 " "] contains "/!d." } {
log local0. "Using pool APP05_2321_pool"
pool APP05_2321_pool
}
else {
log local0. "Rejected request for [findstr [TCP::payload] "/siebel" 0 " "]"
discard }
}