Part6-负载均衡管理进阶篇-L7对话保持.ppt

AppDirector 培训 第六部分:负载均衡进阶-Session ID对话保持 Page * L7 (Session ID)对话保持 开始配置 配置ClientNAT 是否需要ClientNAT 添加Farm Yes NO 添加Sever 是否需要L7对话保持 配置L7对话保持 Yes 是否需要L7策略 添加L4策略 配置L7策略 Yes NO NO 基 本 配 置 增 强 配 置 配置高级健康检查 Page * 使用L7 (Session ID)对话保持的环境 L4的Client Table不能实现对话保持: 大量用户在防火墙或Proxy后,因此需要ServerPerSessioin的Client Table; 每个用户的一次交易内包换多个TCP连接,即存在不同的源端口 在用户的一个完整交易内,用户的IP发生变化 Page * L7 (Session ID)对话保持 AD可以对数据包中的任意 persistency identifier进行查找, persistency identifier的格式可以是文本或二进制格式;Session ID被放在Session ID Table中; AD以一下方式进行Session ID 的 搜寻: Text Match Session ID Persistency: 该方式下,AD对数据包中的任意位置进行所定义text字串的搜寻; Pattern Match Session ID Persistency: AD 对数据包进行二进制格式的session ID搜寻;二进制session ID通过pattern方式定义,也就是OMPC方式;在该方式下,AD只能匹配数据包中的特定位置的session ID。 Page * L7 (Session ID)对话保持 Session ID的会话保持可以在以下场景使用 HTTP 或HTTP-like (具有HTTP-like header) TCP protocols UDP protocols 普通的IP traffic (using pattern match) 由于存在不同的Client会使用相同的Session ID场景,因此,AD在Track session ID的同时,还会Track 数据包的Source IP 通常情况下,AD都是采用动态方式学习Session ID;AD还支持静态Session ID,在该方式下,用户直接指定特定的session ID应该到达那台server。 Page * Text Match Session ID Persistency AppDirector L7 Server Selection Text Match Create Farm Nam:Farm名称 Persistency Identifier:Session ID的标示符 Look Mode: 查找Session ID的位置 Learning Direction: Server Reply或Client Request Page * Pattern Match Session ID Persistency AppDirector L7 Server Selection Pattern Match Create Farm Nam:Farm名称 Pattern Offset:位移 Pattern Mask: 匹配模式(类似掩码) Offset Relative to: 开始计算Offset的数据包位置 Learning Direction: Server Reply或Client Request Page * HTTP Cookies A cookie is a small piece of information that is sent by a web server and stored on a web client browser so it can later be read back from that client. Cookie information can be used to associate session state information with a specific user. Cookies are transmitted in the HTTP header from the server in the form: Set-Cookie:NAME=VALUE;expires=DATE;path=PATH; domain=DOMAIN_NAME Cookies have size limitations Up to 300 cookies per client from all source

文档评论(0)

1亿VIP精品文档

相关文档