设置 Biztalk 发送/接收端口停止或禁用时的通知

发布于 2024-09-12 07:37:46 字数 241 浏览 2 评论 0原文

我们有一台 Biztalk 2006 R2 服务器,有时,接收端口会由于多种原因之一而更改为“禁用”状态 - 最常见的是,网络上其他位置的服务器维护导致它们指向的文件共享变得不可用,因此它会停止端口。当我们预计每天发生的传输由于端口停止而不再发生时,这会导致麻烦,因为它不会自行再次自动启动。

当这些端口停止时,是否有一种本地方法来设置警报,或者我是否需要编写一个作业来直接查询 SQL Server,并在数据库中的端口状态发生变化时向我发送电子邮件?

We have a Biztalk 2006 R2 server, and from time to time, the receive ports will change to "Disabled" status for any one of a number of reasons - most commonly, server maintenance elsewhere on the network causes the file share they point to to become unavailable, so it stops the port. This causes trouble when transmissions we expect to happen every day no longer happen due to the stopped port, since it doesn't automatically start up again on its own.

Is there a native way to set up alerts when these ports stop, or do I need to write a job that queries the SQL Server directly and emails me when the port status changes in the database?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

抠脚大汉 2024-09-19 07:37:46

没有原生的方式。但是在SDK目录(biztalk下)中有启动接收位置的vb脚本的示例。您可以安排一个每分钟运行一次的作业,该作业将查询接收位置的状态,并在必要时启动它。

There is no native way. But there are examples in the SDK directory ( under biztalk) of vb scripts that starts receive location. You can schedule a job that will run every minute and will query the status of the receive location, and start it if necessary.

早茶月光 2024-09-19 07:37:46

如果您有 Systems Center Operations Manager,则可以下载 BizTalk SCOM 包。您可以在接收端口状态视图下监控接收端口。

还有一些其他的 BizTalk 监控工具 - Bizmon、Minotaur 和 Helium。 Steef Jan Wiggers 在此处对它们进行了评估

If you have Systems Centre Operations Manager, you can download the BizTalk SCOM Pack. You can monitor receive ports under the Receive Ports State View.

There are also some other BizTalk monitoring tools - Bizmon, Minotaur and Helium. Steef Jan Wiggers evaluates them here

往事风中埋 2024-09-19 07:37:46

您可以在更新后在 dbo.bts_sendport 和 [dbo].[adm_ReceiveLocation] 上创建触发器,以便在状态更改后收到警报

You can create trigger on dbo.bts_sendport and [dbo].[adm_ReceiveLocation] on after update to get an alert once state changed

别忘他 2024-09-19 07:37:46

旧线程,但以防万一它对人们仍然有帮助:
Minotaur 不会重新启动端口,但会在端口关闭时监视您。不确定 Helium 和 Bizmon。但是,当禁用端口时,事件日志中会写入“xxx 端口正在关闭”事件。如果您只是使用脚本或代码(我使用 C#)捕获此事件消息,则可以将失败的端口添加到延迟计时器,并在设定的时间间隔后尝试重新启动它。我这样做并设置了它,以便在重试 X 次后,它会向管理员发送电子邮件,以便他可以手动检查内容。

Old thread, but in case its helpful to people still:
Minotaur will not restart the ports, but will monitor you when they go down. Not sure about Helium and Bizmon. However, when a port is disabled, an event 'xxx port is shutting down' is written to the event log. If you just trap this event message using a script or code (I used C#) you can then add the failed port to a delay timer and attempt to restart it after a set interval. I do this and have it set so after X retries, it emails the administrator so he can manually check things.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文