请告诉我如何获取服务器状态? [英] Please let me know how to get the server status?

查看:165
本文介绍了请告诉我如何获取服务器状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们要求找到ocs服务器状态(服务器是启动还是启动)。

我在UCMA中找到任何事件。请告诉我有没有办法使用UCMA找到这个。
或者有没有我们可以用来获取服务器状态的api?

谢谢, Gayithri Hegde

Hi,

We have requirement to find the ocs server status(Whether server is started or down).

I dint find any event in UCMA for this. Please let me know is there any way to find this using UCMA.
Or is there any api which we can use to get the server status?


Thanks,
Gayithri Hegde

推荐答案

一种方法是使用WMI API访问服务器并查看状态。您可以在系统上安装OCS Admin工具,只要登录用户是正确安全组的成员,您就应该能够使用WMI访问服务器。

参考在这里: http://msdn.microsoft.com/en-gb/library/bb632198.aspx

Joe Calev写的很好的博客文章: http://blogs.msdn.com/jcalev/archive/2008/01/03/office-communications-server-and-wmi.aspx

另一种选择将使用UCMA API创建applicationEndpoint并将其连接到OCS服务器。如果超时,则服务器(或网络)存在问题。

One approach would be to use the WMI API to access the server and see what the status is.  You can install the OCS Admin tools on a system and as long as the logged in user is a member of the correct security groups, you should be able to use WMI to access the server.

Reference is here:  http://msdn.microsoft.com/en-gb/library/bb632198.aspx

Nice blog post by Joe Calev here: http://blogs.msdn.com/jcalev/archive/2008/01/03/office-communications-server-and-wmi.aspx

The other option would be to use the UCMA API to create an applicationEndpoint and connect it to the OCS Server.  If you get a timeout, then there is some issue with the server (or the network).


这篇关于请告诉我如何获取服务器状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆