向 F5 的 Big IP 产品报告 WCF 应用程序的状态
在具有自托管 .Net 3.5/WCF 应用程序的 Windows Server 2003 环境中,应用程序如何向 BigIP 本地流量管理器报告其状态?
示例:我的服务错误之一。 我的自定义 WCF 应用程序托管软件(编写是因为 Windows Server 2008 尚不可用,并且我正在使用 WCF TCP 绑定)检测到这一点,并希望将自身报告为已关闭,直到它可以恢复错误的服务。 它需要向 BigIP LTM 报告自身已关闭,以便不再发送客户端发起的请求。
In a Windows Server 2003 environment with a self hosted .Net 3.5/WCF application, how can an application report its status to a BigIP Local Traffic Manager?
Example: One of my services errors. My custom WCF application hosting software (written because Windows Server 2008 is not yet available and I'm using WCF TCP bindings) detects this and wants to report itself as down until it can recover the errant service. It needs to report itself as down to the BigIP LTM so that it is no longer sent client originated requests.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于您描述的场景,我将使用 iControl(基于 SOAP/XML 的管理 API)让应用程序告诉 BIG-IP 它已关闭。 基本上,您只需设置对 BIG-IP 的 SOAP 调用并使用适当的信息调用 Web 服务,以便 BIG-IP 知道应用程序已关闭。
您可以在 DevCentral (devcentral.f5.com) 上找到文档并下载 SDK 以及 .NET 程序集。 如果您需要,论坛中还有其他人可以为您提供帮助。
不过我还要说的是,BIG-IP 会注意到应用程序已关闭,并应自动将其从服务中删除,直到它注意到应用程序重新投入服务为止。 这可以通过使用连接到节点的监视器来配置。
For the scenario you describe I would use iControl (SOAP/XML based management API) to have the application tell BIG-IP it is down. Basically you'll just be setting up a SOAP call to BIG-IP and invoking a web service with the appropriate information so BIG-IP knows the application is down.
You can find the documentation and download the SDK as well as .NET assemblies at DevCentral (devcentral.f5.com). There are also other folks out there that can help you if you need it in the forums.
Though I will also say that BIG-IP will notice the application is down and should automatically remove it from service until it notices it is back in service. That can be configured through the use of monitors attached to nodes.