+ All Categories
Home > Documents > sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be...

sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be...

Date post: 03-May-2018
Category:
Upload: leduong
View: 219 times
Download: 4 times
Share this document with a friend
29
1) Logged in as me(Sukesh Dash) Local Admin and also Sys Admin in SQL 2) Created a Domain account(ds\ DEV_SP_FarmWF) as Workflow RunAs account 3) Allocated Workflow run as account as Sys admin in SQL server Following is the recommendation from Microsoft https://msdn.microsoft.com/en-us/library/jj193478.aspx Helpful videos and resources https://www.youtube.com/watch?v=6haTejk98hU http://www.slideshare.net/roykimtoronto/development-server- workflow-manager-10-setup-reference Troubleshooting blogs:
Transcript
Page 1: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

1) Logged in as me(Sukesh Dash)

Local Admin and also Sys Admin in SQL

2) Created a Domain account(ds\ DEV_SP_FarmWF) as Workflow RunAs account

3) Allocated Workflow run as account as Sys admin in SQL server

Following is the recommendation from Microsoft

https://msdn.microsoft.com/en-us/library/jj193478.aspx

Helpful videos and resourceshttps://www.youtube.com/watch?v=6haTejk98hU

http://www.slideshare.net/roykimtoronto/development-server-workflow-manager-10-setup-reference

Troubleshooting blogs:http://sharepoint-community.net/profiles/blogs/sharepoint-2013-workflow-manager-possible-issues-and-fixes

http://blogs.msdn.com/b/laleh/archive/2014/09/03/sharepoint-2013-workflow-troublehsooting.aspx

Page 2: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Pre-requisite:

App Management service should be provisioned and running

System Requirements (Workflow Manager 1.0)

Updated: October 22, 2012This document describes the requirements for installing and configuring Workflow Manager 1.0.SQL ServerThe SQL Server instance that is used for various databases configured as a part of Workflow Manager must meet the following requirements.

TCP/IP, shared memory, or named pipes must be enabled.

Port 1443 on the firewall must be open to inbound and outbound communications.

If named pipes are used, the name of the machine on which the SQL Server instance is running should have a name with no more than 16 characters. Named pipes use NetBIOS names, which carry that restriction.

If TCP/IP connections are used, the SQL Browser service should be running on the SQL server.

SQL Server service should be running on the SQL server.

The following collation types are supported.

o Default Collation

o SP Collation

o Binary Collation

Supported Authentication

1. Integrated Authentication

2. SQL Authentication

Current User(Sukesh Dash)The user that is configuring Workflow Manager must meet following requirements.

If the machine is domain joined, the user must be a domain user; otherwise the user must be a local user.

The user must be an administrator on the computer on which the configuration is running.

Page 3: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

The user must have SysAdmin privilege on this SQL Server instance, otherwise, the databases should be pre-created and the Sql logon for the RunAs Account User should be created manually, before running the configuration, on all Sql instances.

RunAs Account User(ds\ DEV_SP_FarmWF)The RunAs account is provided during Workflow Manager configuration and is used as the RunAs account by the Workflow Manager services. The Workflow Manager supports the ability to have the RunAs account user as a domain user or a local user. In both cases, this user must have access to the SQL Server instances. Alternatively, SQL Server databases can be accessed using SQL Authentication.The RunAs account user will be granted a log on as a service privilege during configuration.If all the machines in a farm share the same service account and the security policy requires the service account password to be changed at regular intervals, you must perform specific actions on each machine in the farm to be able to continue adding and removing nodes in the farm. See the section titled Handling Service Password Changes for this procedure.

Workflow Manager does not support built-in accounts (for example, NETWORK SERVICE) as RunAs accounts.

The following blog says and confirms to install newer Service Bus 1.1 and Workflow Manager refresh(which is itself workflow manager with CU2)

http://www.wictorwilen.se/issue-when-installing-workflow-manager-1.0-refresh-using-powershell

When using the Web Platform Installer to download and/or install Workflow Manager you can no longer download and install Workflow Manager 1.0 and Workflow Manager 1.0 CU1. The only option is to download Workflow Manager 1.0 Refresh (which essentially is CU2). So when installing a new Workflow Manager farm for SharePoint or just because you want to rock some workflows you have to use Workflow Manager (WFM) 1.0 Refresh. Unless you’ve been smart and previously downloaded and saved the original Workflow Manager. When using WFM 1.0 Refresh you also need to download Service Bus 1.1.

Page 4: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

4) Installed Workflow manager 1.0 refresh and service bus 1.1 from Web Platform installer in APP Server which is also going to support Workflow Farm

Page 5: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.
Page 6: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Clicked Continue but cancelled as Configuration wizard will be run later.

Page 7: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Control Panel for installed items:

Page 8: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

The same steps were repeated in all the WFE servers to install Workflow manager 1.0 refresh and Service Bus 1.1

5) Workflow Manager Configuration

Add the run as account to Local admin group before we start

Now we need to login to APP server and open Workflow Manager Configuration

Page 9: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Choose 2nd option with Custom settings

Page 10: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.
Page 11: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Entered Service account as account@FQDN

Entered the certificate key that will be used by other WFE or servers to join the Workflow Farm.

Allowing http on this computer helps us to see the status of Workflow Farm in this server in browser.

The Runas account is added to Admin group and also users in Admin group will have logon access to Workflow farm for troubleshooting.

Service Bus Configuration

Page 12: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.
Page 13: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.
Page 14: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Final Review before run

Page 15: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Now run

Page 16: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.
Page 17: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.
Page 18: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

6) Post Configuration checks

Check in DB server whether all Databases are created

Page 19: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Make sure Runas account has Db_owner and Security admin access all the above databases

Page 20: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Make sure “APP Management service” is running on all servers(APP and WFE).And app Management Service application is started.

Check IIS for Workflow site

Page 21: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.
Page 22: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

7) Create a Workflow Manager Service Application

From the Start menu run the SharePoint Management Shell as administrator and execute the following command:

Register-SPWorkflowService -SPSite “http://intranet.dev.ds.gdit.uk.com/” -WorkflowHostUri “http://HC006-APP04-DEV:12291" -AllowOAuthHttp -Force –scope “Sharepoint”

Page 23: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Click on provisioned Workflow service

Sharepoint 2013 Workflow in Designer(This ends up in error while publishing)

System.InvalidOperationException: Operation failed with error Microsoft.Workflow.Client.WorkflowCommunicationException: The request was aborted: The request was canceled. Client ActivityId : 5d1d399d-2e07-60ea-8482-87723fa60e4d. ---> System.Net.WebException: The request was aborted: The request was canceled. ---> System.ServiceModel.ServiceActivationException: The requested service, 'net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc' could not be activated. See the server's diagnos

Page 24: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Resolution

This is not a recommended approach to install Workflow Manager only on WFE however I observed APP server was quite restrictive in terms of accepting Workflow manager requests(Firewall and Network level adjustments were necessary)

It came to my notice earlier when I tried to join the Workflow Farm that I created in App server from WFE and it was declined.

Thus I completely uninstalled every trace of Workflow from APP server and reinstalled Workflow Farm in WFE servers and also have joined the other WFE to the Farm.

After configuring the farm in WFE ,resetting IIS and clearing Designer cache I am finally able to Publish a 2013 Workflow.

Here is the result of Workflow farm status

Using Workflow Manager PowerShell

Run get-WFFarm

Page 25: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Run get-WFFarmStatus

Run Publish workflow works from SP designer 2013

Page 26: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.
Page 27: sukeshblog.files.wordpress.com€¦ · Web viewTCP/IP, shared memory, or named pipes must be enabled. Port 1443 on the firewall must be open to inbound and outbound communications.

Recommended