如何安装/卸载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 ...
随机推荐
- mysql 常用的几个函数
IF 函数 语法:`IF`(expr1,expr2,expr3); 当expr1为ture时,值为expr2,当expr1为false时,值为expr3. 如: IFNULL 函数 语法:IFNULL ...
- 【下一代核心技术DevOps】:(七)持续集成Jenkins的应用(Aliyun Pipiline持续构建)
1. 前言 使用Jenkins比较好的就是可以在整个构建顺序中增加自定义的动作,比如构建成功给Leader发个邮件,给团队核心发个微信什么的. 当然最基本的核心还是它可以构建多种开发语言的项目,此类构 ...
- 如何在命令长度受限的情况下成功get到webshell(函数参数受限突破、mysql的骚操作)
0x01 问题提出 还记得上篇文章记一次拿webshell踩过的坑(如何用PHP编写一个不包含数字和字母的后门),我们讲到了一些PHP的一些如何巧妙地绕过数字和字母受限的技巧,今天我要给大家分享的是如 ...
- JAVA中使用MD5加密实现密码加密
1.新建Md5.java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 package c ...
- vue element-ui 动态上传
上传填写完毕的幼儿及体测数据文件,上传成功后会自动导入该文件的数据 <el-upload :action="UploadUrl()" :on-success="Up ...
- 树莓派 Raspberry Pi 更换国内源
http://www.shumeipaiba.com/wanpai/jiaocheng/16.html
- 12.12 Daily Scrum
这周末我们会集成一下反馈活跃用户的模块. 另外,今天编译的第一次测试结束,周末这两天项目的进度会比之前加快一些. Today's Task Tomorrow's Task 丁辛 实现和菜谱相关的餐 ...
- Linux内核设计与实现 第四章
1. 什么是调度 现在的操作系统都是多任务的,为了能让更多的任务能同时在系统上更好的运行,需要一个管理程序来管理计算机上同时运行的各个任务(也就是进程). 这个管理程序就是调度程序,功能: 决定哪些进 ...
- Linux内核读书笔记第六周
主要内容: 什么是调度 调度实现原理 Linux上调度实现的方法 调度相关的系统调用 什么是调度 现在的操作系统都是多任务的,为了能让更多的任务能同时在系统上更好的运行,需要一个管理程序来管理计算机上 ...
- “数学口袋精灵”App的第三个Sprint计划----开发日记
一.现状 上一阶段基本完成一个小游戏,游戏具有:随机产生算式,判断对错功能.通过轻快的背景音乐,音效,给玩家提供一个良好的氛围. 二.任务认领 完成界面,基本功能后的后续任务: 冯美欣:设计&qu ...