NetScaler http requests clone replication
When http requests to NetScaler, sometimes an external device is needed to analyze or record the request, so it is necessary to copy and clone the incoming http request. The original request goes to the selected server according to the judgment of NetScaler, while the copied HTTP request can be sent to any other server according to the demand.
Add httpcallout clone_req-vServer vip1-fullReqExpr'HTTP.REQ.FULL_HEADER+HTTP.REQ.BODY (HTTP.REQ.CONTENT_LENGTH)'- returnType BOOL-resultExpr TRUEadd responder policy clone_req_pol'SYS.NON_BLOCKING_HTTP_CALLOUT (clone_req) & & SYS.VSERVER ("vip1") .STATE.EQ (UP) 'NOOP
Here HTTP Callout replication requests are used to concurrently to "vip1". Callout is triggered by Responder policy, and this responder should be bound to the VSERVER that normally receives traffic (the vs to be replicated)