Configure Workflow Manager 1.0 with SharePoint Server 2013
Today we will discuss on how to configure a Multi Server Workflow farm with SharePoint farm. Just for your information, you need to access Workflow farm only from WFE and Application servers. This means just like your database server, even workflow servers are not exposed to end users.
Pre-requisites:
We need to meet the below pre-requisites before we proceed further:
A. SharePoint farm configured and ready to use
B. Two or more Workflow servers with setup files
C. If you are using Windows server 2012 R2 then you would need update KB2799752 (Service bus hotfix) and KB2799754 (Workflow manager hotfix)
D. FQDN name for your workflow farm e.g. (Workflow.domain.com) and its DNS entry with Round Robin. (You can also configure Windows NLB or a Load Balancer entry for same)
Workflow Manager 1.0 installation
Let’s get started with the installation of Workflow Manager 1.0 on Workflow servers. We need installable as shown below:
http://itfreesupport.com/wp-content/uploads/2015/11/0261-300x63.jpgWhen you will try to install the workflow.exe file you will be asked to download and install WebPlatformInstaller.exe. Now all the updates and most components are installed through Web Platform Installer.
http://itfreesupport.com/wp-content/uploads/2015/11/0263-300x235.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0264-300x235.jpg
3. Once the WebPlatforminstaller is installed, you need to search for Workflow manager and Workflow manager client and install the same.
http://itfreesupport.com/wp-content/uploads/2015/11/0265-300x204.png
http://itfreesupport.com/wp-content/uploads/2015/11/0266-300x206.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0267-300x68.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0268-300x204.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0269-300x206.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0270-300x206.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0271-300x206.jpg
- Once Workflow Manager and client is installed, it's suggested you install the updates as well.
http://itfreesupport.com/wp-content/uploads/2015/11/0272-300x230.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0273-300x230.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0274-300x230.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0275-300x230.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0276-300x230.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0277-300x230.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0278-300x230.jpg
Configure Workflow Manager 1.0
Now let’s configure Workflow Server farm. This is very important so please follow steps carefully. Let's execute the Workflow Manager Configuration Wizard
Select “Configure Workflow Manager with Custom Settings”
http://itfreesupport.com/wp-content/uploads/2015/11/0279-300x271.jpgNow provide the SQL Server Instance name, Authentication, Certificate and SQL Workflow database names
http://itfreesupport.com/wp-content/uploads/2015/11/0280-300x261.jpgYou need to provide the Workflow service account credentials which will be used to connect to SQL server and for the Workflow IIS Application pool.
http://itfreesupport.com/wp-content/uploads/2015/11/0281-300x261.jpgYou would need to provide a Certificate Generation Key. It is just like Passphrase for your SharePoint farm
http://itfreesupport.com/wp-content/uploads/2015/11/0282-300x261.jpgMake sure you select “Allow workflow management over HTTP on this computer”
http://itfreesupport.com/wp-content/uploads/2015/11/0283-300x261.jpgAlong with Workflow Management, you need to configure Service Bus required by Workflow manager
http://itfreesupport.com/wp-content/uploads/2015/11/0284-300x261.jpgMake sure you select “Use the same certificate generation key as provided for workflow manager”http://itfreesupport.com/wp-content/uploads/2015/11/0285-300x261.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0286-300x261.jpg
Once the Workflow Farm is created, you need to join other Workflow servers to the farm. To do so execute the same Workflow configuration wizard and select “Join an Existing Workflow Manager Farm”
http://itfreesupport.com/wp-content/uploads/2015/11/0287-300x271.jpgProvide the existing Workflow Farm SQL Server Instance name, Workflow database name and Service Bus farm database name
http://itfreesupport.com/wp-content/uploads/2015/11/0288-300x250.jpgProvide the workflow service account and Certificate generation key used while creating workflow farm.
http://itfreesupport.com/wp-content/uploads/2015/11/0289-300x250.jpgSelect “Use the same service account credentials as provided for Workflow Manager”, then select nexthttp://itfreesupport.com/wp-content/uploads/2015/11/0290-300x250.jpg
Once farm other server is joined to workflow farm you will see below
http://itfreesupport.com/wp-content/uploads/2015/11/0291-300x271.jpg
Finalize and Validate Workflow manager configuration
Once the workflow is configured, you need to attach Workflow Farm to SharePoint farm. Make sure you have DNS entry (Workflow.domain.com) for your Workflow farm. If not DNS, you should at least have Host entry for same. Try to browse http://workflow.domain.com:12291 on WFE and Application server, you might see Authentication error.
http://itfreesupport.com/wp-content/uploads/2015/11/0292-300x62.jpgAdd the URL to Local Intranet and set the Local Intranet zone to “Automatically login with current username and password"
http://itfreesupport.com/wp-content/uploads/2015/11/0293-233x300.jpg
http://itfreesupport.com/wp-content/uploads/2015/11/0294-262x300.jpgNow you should be able to browse the workflow farm details. This shows you can connect to workflow farm and it is working finehttp://itfreesupport.com/wp-content/uploads/2015/11/0295-300x98.jpg
Now execute below command in SharePoint PowerShell:
Register-SPWorkflowService -SPSite “http://sharepointsite” -workflowHostUri “http://workflow.domain.com:12291/” -AllowOauthHttp -ScopeName SharePoint –force
http://itfreesupport.com/wp-content/uploads/2015/11/0296-300x31.jpg
21 Now you need to activate the workflow feature on-site:
Enable-SPFeature -Identity WorkflowServiceStore –Url http://sharepointsite
- In Central Admin > Manage Service Application > Workflow Service Application Proxy
http://itfreesupport.com/wp-content/uploads/2015/11/0297-300x108.jpg
Open site in SharePoint designer – Select workflow from left pane – select new workflow
http://itfreesupport.com/wp-content/uploads/2015/11/0298-300x200.jpg
Note
A. Workflow farm can co-locate on SharePoint servers
B. As per Microsoft articles for high availability, you need to have at least three Workflow Server in a farm. You cannot have two workflow servers in a farm. It has to be one or three.
Reference:
http://itfreesupport.com/2015/11/configure-workflow-manager-1-0-with-sharepoint-server-2013/