如何安装/卸载workflow manager 1.0
安装
1. 配置文件:
<Workflow>
<!--http://msdn.microsoft.com/en-us/library/windowsazure/jj193269(v=azure.10).aspx-->
<WFFarmDBConnectionString value="Data Source=HPITSPM1.youda.mit.com\sh;User ID=sa;Password=1Qaz2wsx3edc" />
<CertificateAutoGenerationKey value="!Qaz2wsx" />
<RunAsName value="youda\svc_SPFarm_SH" />
<RunAsPassword value="1Qaz2wsx3edc" />
<AdminGroup value="Administrators" />
<WorkflowHostUri value="http://MHSMOYM3.youda.mit.com:12291" />
</Workflow>
2. powershell 脚本:
$0 = $myInvocation.MyCommand.Definition
$curDir = [System.IO.Path]::GetDirectoryName($0)
$parDir = Get-Item $curDir | Split-Path -Parent
$graDir = Get-Item $parDir | Split-Path -Parent # 1 - install; 2 config
$type = Read-Host "Please input 1 to install or 2 to config" if($type -eq "1")
{
$cmd = "$parDir\workflow\bin\WebpiCmd.exe"
$xml = "$parDir\workflow\feeds\latest\webproductlist.xml"
Write-Host $cmd
Write-Host $xml
Start-Process "$cmd" -ArgumentList "/Install /Products:WorkflowManager /XML:$xml" Write-Host "Install workflow manager successfully"
}
elseif($type -eq "2")
{
[xml]$global:wfxml = (gc "$graDir\common\config\config-Workflow.xml") -replace ("localhost", $env:COMPUTERNAME) #http://msdn.microsoft.com/en-us/library/windowsazure/jj193269(v=azure.10).aspx
$dbConn = $global:wfxml.Workflow.WFFarmDBConnectionString.Value
$runasName = $global:wfxml.Workflow.RunAsName.Value
$adminGroup = $global:wfxml.Workflow.AdminGroup.Value
$key = $global:wfxml.Workflow.CertificateAutoGenerationKey.Value
$RunAsPassword = $global:wfxml.Workflow.RunAsPassword.Value
$secPassword = ConvertTo-SecureString -AsPlainText -Force -String $RunAsPassword
$secKey = ConvertTo-SecureString -AsPlainText -Force -String $key try
{
# Create new SB Farm
New-SBFarm -SBFarmDBConnectionString $dbConn -InternalPortRangeStart 9000 -HttpsPort 9355 -TcpPort 9354 -MessageBrokerPort 9356 -CertificateAutoGenerationKey $secKey #-RunAsName $runasName -AdminGroup $adminGroup # Create new WF Farm
New-WFFarm -WFFarmDBConnectionString $dbConn -HttpsPort 12290 -HttpPort 12291 -CertificateAutoGenerationKey $secKey #-RunAsName $runasName -AdminGroup $adminGroup # Add SB Host
Add-SBHost -SBFarmDBConnectionString $dbConn -RunAsPassword $secPassword -EnableFirewallRules $true -CertificateAutoGenerationKey $secKey # Create new SB Namespace
New-SBNamespace -Name 'WorkflowDefaultNamespace' -AddressingScheme 'Path' -ManageUsers $runasName # Get SB Client Configuration
$SBClientConfiguration = Get-sbclientConfiguration -Namespaces 'WorkflowDefaultNamespace'; # Add WF Host
#Copy the Service Bus Client configuration from Service Bus PowerShell console and store it in a local variable $SBClientConfiguration
Add-WFHost -WFFarmDBConnectionString $dbConn -RunAsPassword $secPassword -SBClientConfiguration $SBClientConfiguration -EnableHttpPort -CertificateAutoGenerationKey $secKey -EnableFirewallRules $true Write-Host "Create workflow manager farm successfully"
}
catch
{
write-host $_.exception.message }
}
卸载
1. 运行Workflow Manager Configuration Wizard ,点击Leave Farm
2. 卸载下面软件:
3. 删除下面的数据库:
如何安装/卸载workflow manager 1.0的更多相关文章
- SharePoint 2013 Workflow Manager 1.0 卸载
一:环境 Window server 2012 r2 Standard SharePoint Server 2013 with sp1 二:开始菜单---Workflow Manager 配置---退 ...
- SharePoint 2013 – Workflow Manager 1.0 offline download
[http://sharepointdeal.wordpress.com/2013/03/13/sharepoint-2013-workflow-manager-1-0-offline-downloa ...
- Auto Install Workflow Manager 1.0
Write-Host "- Begining Download Service Bus..." Start /W "c:\Program Files\Microsoft\ ...
- SharePoint 2013 Workflow Manager 1.0 远程服务器返回错误: (400) 错误的请求。 不支持查询字符串中的 api-version
环境: Windows Server 2012 R2 Standard SharePoint Server 2013 with sp1 通过Web 平台安装程序 5.0,已安装 Workflow Ma ...
- SharePoint 2013配置 Workflow Manager
折腾了好几天,用Windows Server 2012 R2安装 SharePoint Server 2013都没装上去.最后发现必须安装带SP1的SharePoint 2013,不然那一步IIS永远 ...
- SharePoint2013工作流workflow manager配置
SharePoint2013版本的工作流较sharepoint 2010变化较大,将工作流部分从sharepoint中分离出来为单独的服务,通过与sharepoint关联使用. SharePoint2 ...
- SharePoint 2013 - Workflow Manager
1. Workflow Manager可以与SharePoint 安装在同一台机器上,只是不建议这么做:由于Workflow Manager 需要使用数据库,我个人将其安装在 SQL Server机器 ...
- SharePoint 2013: Workflow Manager Backend 服务意外地终止
一.环境:SharePoint 2013 + Workflow Manager 1.0 二.错误描述: Workflow Manager Backend 服务意外地终止,这种情况已经出现了 42106 ...
- Cloudera Manager安装之Cloudera Manager安装前准备(Ubuntu14.04)(一)
其实,基本思路跟如下差不多,我就不多详细说了,贴出主要图. 博主,我是直接借鉴下面这位博主,来进行安装的!(灰常感谢他们!) 在线和离线安装Cloudera CDH 5.6.0 Cloudera M ...
随机推荐
- 解决RobotFramework的关键字不能高亮的问题
一个可能的原因:路径中存在汉字,RobotFramework对这方面运行的不太好.
- BootStrap学习(1)
一.Bootstrap简介 BootStrap是由Twitter推出的前端框架,2011 年八月在 GitHub 上发布,BootStrap是基于Html,Css,Javascript的,可用于快速开 ...
- 搭建SpringBoot+dubbo+zookeeper+maven框架(一)
这几天项目还没来,所以就自己试着参考网上的一些资料,搭建了一个SpringBoot+dubbo+zookeeper+maven框架,网上参考的很多资料照着他们一步一步搭建,最后很多都运行不通,很是郁闷 ...
- Luogu P3455 [POI2007]ZAP-Queries
由于之前做了Luogu P2257 YY的GCD,这里的做法就十分套路了. 建议先看上面一题的推导,这里的话就略去一些共性的地方了. 还是和之前一样设: \[f(d)=\sum_{i=1}^a \su ...
- 【转】Git版本控制软件从入门到精通学习手册
GIT 学习手册简介 本站为 Git 学习参考手册.目的是为学习与记忆 Git 使用中最重要.最普遍的命令提供快速翻阅. 这些命令以你可能需要的操作类型划分,并且将提供日常使用中需要的一些常用的命令以 ...
- CSS文本实例
CSS 文本属性可定义文本的外观. 通过文本属性,您可以改变文本的颜色.字符间距,对齐文本,装饰文本,对文本进行缩进,等等.#############################CSS 文本属性属 ...
- Centos7下关于系统用户密码规则-运维笔记
针对Centos7下的系统用户的密码规则复杂度的设置,处于安全考虑,说明如下: 一.设置密码规则 1)密码长度.有效期 /etc/login.defs文件是当创建用户时的一些规划,比如创建用户时,是否 ...
- Docker网络解决方案 - Flannel部署记录
Docker跨主机容器间网络通信实现的工具有Pipework.Flannel.Weave.Open vSwitch(虚拟交换机).Calico, 其中Pipework.Weave.Flannel,三者 ...
- 关键字搜索:jQuery过滤器插件fastLiveFilter||显示结果条数
引用js库 <script src="jquery-1.6.4.min.js"></script> <script src="jquery. ...
- 【2016.3.18】作业 VS2015安装&单元测试(2)