문제

I have a production environment with three Workflow Manager 1.0 servers in a farm. We also have a virtual URL that is used by NLB to spread the load between these servers. Register-SPWorkflowService PowerShell command was possibly used with a wrong -WorkflowHostUri value that looks on one of the three servers instead of a virtual NLB URL. The question is, how do I check it? Neither of the following commands helped me to answer this question:

Get-WFFarm
Get-WFFarmstatus
Get-WFScope

This is, for instance, what Get-WFFarm returns:

enter image description here

I also tried looking into scopes and could not find any mention of WF URLs used.

I would like to run Register-SPWorkflowService again, but I can't do it because It's a production environment and I need to make sure if a human error really exists before changing anything.

So, does anyone know a PowerShell command or any other way of telling what URL is used for the Workflow Manager Farm by SharePoint farm?

도움이 되었습니까?

해결책

You can use the following cmdlets:

$site = (Get-SPWebapplication -IncludeCentralAdministration | ?{$_.IsAdministrationWebApplication}).Sites[0]

$wfmProxy = Get-SPServiceApplicationProxy | ?{$_.TypeName -eq "Workflow Service Application Proxy"}
$wfmProxy.GetWorkflowServiceAddress($site)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top