When an HTTP request is made to NetScaler, it is sometimes necessary for an external device to parse or log the request, and a copy of the incoming HTTP request needs to be cloned. The original request to the selected server according to NetScaler's judgment, and the copy of the HTTP request can be sent to another arbitrary server according to the requirements
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
This takes advantage of the HTTP Callout replication request and to "VIP1". Callout is triggered by Responder policy, this Responder should be bound to the VSERVER of the normal receive traffic (VS) to be replicated
NetScaler HTTP Request Clone replication