重新启动WFE和SQL Server并重新启动SPTimer服务,服务总线网关服务作为计划任务 [英] Restart WFE and SQL Server and restart SPTimer service, service bus gateway service as a Scheduled Task
问题描述
可能不是完整的SP 2013问题.
may be this is not a full SP 2013 question.
我有一个多服务器场环境,根据我的要求,我需要每天晚上8点以及重新启动这些服务器后重新启动 sharepoint WFE和SQL db服务器.
我已经重新启动SP ADMIn服务和sp计时器服务.
另外,我需要验证服务总线网关"是否服务[负责SP 2013 WORKFLOWS/WORKFLOW MANAGER]也处于RUNNING状态.
是否存在用于计划此时间的 powershell脚本?
一旦获得此脚本,我便会将其作为调度程序添加到这些服务器中(作为基本调度程序任务),这样我就无需手动干预.
i have a multi-server farm environment, as per my requirement i need to restart the sharepoint WFE and SQL db servers at 8 pm everyday and after restarting these servers
i have restart the SP ADMIn service and sp timer service.
Also I need to verify whether "service bus gateway" service [ responsible for SP 2013 WORKFLOWS / WORKFLOW MANAGER] is also in RUNNING status.
is there any powershell script exists for scheduling this?
once i get this script, i will add this as a scheduler in these servers[ as basic scheduler task] such that i dont need to manually intervene.
我知道,如何使用sp脚本重新启动服务器-
i know , how to restart the server using sp script --
重新启动计算机-force ,而且我还听说过重新启动 sp计时器服务
restart-computer -force and also i heard about the restarting the sp timer service
**净开始时间rv4 **
我不知道重新启动服务总线网关服务的powershell命令是什么.
但是如何将它们组合在一起?
but how can these be combined ?
推荐答案
本杰明·
您可以使用以下PowerShell命令重新启动服务总线网关服务:
You can use the following PowerShell command to restart the Service Bus Gateway services:
Restart-Service -displayname "Service Bus Gateway"
https://technet.microsoft.com/en-us/library/ee176942.aspx
最好的问候
Lisa Chen
Lisa Chen
这篇关于重新启动WFE和SQL Server并重新启动SPTimer服务,服务总线网关服务作为计划任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!