SharePoint 2013更改Workflow Manager和Service Bus密码 - service Bus 1.0 [英] SharePoint 2013 changing Workflow Manager and Service Bus password - service Bus 1.0

查看:89
本文介绍了SharePoint 2013更改Workflow Manager和Service Bus密码 - service Bus 1.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更改运行作为处理我们的SharePoint 2013工作流的Service Bus和Workflow Manager的密码。 

I am trying to change the run as password for Service Bus and Workflow Manager which handles our SharePoint 2013 workflows. 

我试图运行它 -

Stop-SBFarm


Set-SBFarm -RunAsAccount #account#
$RunAsPassword = ConvertTo-SecureString -AsPlainText -Force '#password#'
Update-SBHost -RunAsPassword $RunAsPassword

Start-SBFarm

但是我得到了以下错误消息

However I get the following error message

Set-SBFarm:术语'Set-SBFarm'不被识别为cmdlet的名称,

我已经检查过,我有已安装Service Bus 1.0和Set-SBFarm cmdlet在1.1上可用 - 我已经尝试更新到Service Bus 1.1,但我收到一条消息,说"已经安装了此产品的另一个版本"。 

I've checked and I have Service Bus 1.0 installed and the Set-SBFarm cmdlet is available on 1.1 - I've since tried to update to Service Bus 1.1 but I get a message to say "Another version of this producy is already installed". 

什么是ste ps我是否需要在最短的工作流程停机时间内完成更改帐户?

What steps do I need to complete to change the account with minimal workflow downtime?

推荐答案

首先确保"以管理员身份运行"

First make sure to "Run it as Admin"

现在......这就是我发现的......

now … This is what I found …

https://social.technet.microsoft .com /论坛/ sharepoint / en-US / 55157e0e-d827-4fc9-b0dc-d45b78fcf649 / changing-the-runas-account-without-reinstalling-workflow-manger

https://social.technet.microsoft.com/Forums/sharepoint/en-US/55157e0e-d827-4fc9-b0dc-d45b78fcf649/changing-the-runas-account-without-reinstalling-workflow-manger

您只能在SB 1.1上通过Set-SBFarm cmdlet更改RunAs帐户。这可能是在SB 1.0上找不到cmdlet的原因。在WFM中没有用于更改RunAs帐户的cmdlet。有一种解决方法可以在你的测试中尝试在
申请Prod之前。

you can change RunAs account through Set-SBFarm cmdlet only on SB 1.1. It could be the reason for not finding cmdlet on SB 1.0. There is no cmdlet for changing RunAs account in WFM. There is a workaround which can try in your test env before applying in Prod.

1)     在WFManagement Db的ClusterConfig表中更改RunAs帐户。

2)     使用新的RunAs帐户名作为参数,在WfResourceManagement Db中运行AddUserToServiceOperators存储过程。

1)      Change RunAs account in ClusterConfig table of WFManagement Db.
2)      Run AddUserToServiceOperators Stored Proc in WfResourceManagement Db with new RunAs account name as argument.

3) 从服务器场中删除每个节点并一次加入一个节点。 

3)  Remove each node from the farm and join it back one at a time. 

有一个节点在SB 1.0中更改RunAS帐户存在类似的解决方法。否则您可以将SB升级到1.1并使用Set-SBFarm命令。

There is a similar workaround exist for changing RunAS account in SB 1.0. Otherwise you can upgrade SB to 1.1 and use Set-SBFarm command.


这篇关于SharePoint 2013更改Workflow Manager和Service Bus密码 - service Bus 1.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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