问候高级的头脑。 我希望你能腾出一些有价值的时间来帮助我解决这个问题,因为我对服务器和域控制器有所了解。
背景:
我有SCADA软件运行在几台服务器上,然后是从这些服务器读取信息的客户端软件。 所有这些都join到本地域。 在ocasions一个或两个服务器的数据不会从服务器读取。 当我重新启动服务器时,一切都恢复正常,并重新运行。 SCADA软件使用通用域用户相互通信。 这些服务器正在运行Windows 2008 R2。
观察:
在我的软件日志文件中,似乎服务器失去了与域控制器的身份validation。 我在Windows事件logging器中遇到了这个错误(请参阅下面的错误),同时我遇到了我的软件问题。
This computer was not able to set up a secure session with a domain controller in domain SGLENG due to the following: There are currently no logon servers available to service the logon request. This may lead to authentication problems. Make sure that this computer is connected to the network. If the problem persists, please contact your domain administrator. ADDITIONAL INFO If this computer is a domain controller for the specified domain, it sets up the secure session to the primary domain controller emulator in the specified domain. Otherwise, this computer sets up the secure session to any domain controller in the specified domain.
我的问题:
如何在不重启服务器的情况下使用脚本重新validation服务器?
我知道我可以检测事件,然后运行一个计划的任务,这反过来可以触发一个脚本,但我没有find任何PowerShell命令或任何其他脚本命令来validation服务器上的用户到域控制器。
如果有人能指出我正确的方向,将不胜感激。 我可以使用以下任何一种方式生成脚本:Power-shell或VBScript或JScript或Python 3.x或C或C ++。
服务器可能是这样做的,因为有时会出现间歇性的networking连接,但是我没有对networking的控制权,而且我也没有看到networking部门很快就能解决他的问题。
谢谢。