Enable or disable persistence session on TROFS services < 编辑
You can set the trofsPersistence flag to specify whether a service in the transition out of service (TROFS) state must maintain persistent sessions. When a monitor is TROFS enabled, it can place a service in the TROFS state on the basis of the server’s response to a monitor probe. This response is compared with the value in the trofsCode parameter for an HTTP monitor or the trofsString parameter for an HTTP-ECV or TCP-ECV monitor. If the code matches, the service is placed in the TROFS state. In this state, it continues to honor the active client connections. In some cases, the honored active sessions might have to include persistent sessions. But in other cases, especially those involving long-lived persistence sessions or persistence methods such as custom server ID, honoring the persistent sessions can prevent the service from transitioning to the out-of-service state.
If you set the trofsPersistence flag to ENABLED, persistent sessions are honored. If you set it to DISABLED, they are not.
To set the trofsPersistence flag by using the command line interface
At the command prompt, type one of the following commands to set the trofsPersistence
flag for a new virtual server or an existing virtual server, or to return the setting to its default value:
add lb vserver <name> [-trofsPersistence ( ENABLED | DISABLED )]
set lb vserver <name> [-trofsPersistence ( ENABLED | DISABLED )]
unset lb vserver <name> [-trofsPersistence]
<!--NeedCopy-->
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论