计划
1.1 安装组件
Capability |
Description |
版本 |
RPA Central |
RPA 任务执行中心 |
2020.11 |
RPA Designer |
RPA Workflow设计器 |
2020.11 |
RPA Robot |
RPA Robot |
2020.11 |
RPA Recorder |
RPA UI录屏工具(UFT) |
2020.11 |
RPA Self Service |
RPA 自服务工具 |
2020.11 |
1.2 安装环境
本文档内容包含一些格式和说明约定。
组件 |
Configuration |
OS |
数量 |
IP |
RPA Central |
4CPU 24G RAM |
Windows server 2016 |
1 |
10.0.0.4 |
RPA Designer |
4CPU 24G RAM |
Windows server 2016 |
1 |
10.0.0.4 |
RPA Recorder |
4CPU 24G RAM |
Windows server 2016 |
1 |
10.0.0.4 |
RPA Robot |
4CPU 24G RAM |
Windows server 2016 |
1 |
10.0.0.4 |
RPA Self Service |
4CPU 24G RAM |
Windows server 2016 |
1 |
10.0.0.4 |
安装准备
1.3 安装 Visual C++ 2010
下载并安装Visual C++2010,如下:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=5555
Microsoft Visual C++ 2010 Redistributable Package
1.4 安装与设置PostgreSQL 11.4
https://get.enterprisedb.com/postgresql/postgresql-11.10-1-windows-x64-binaries.zip
选在 Postgres 11.10版本
解压缩到 C:\Micro_Focus\pgsql
设置环境变量如下:
set PGHOME= C:\Micro_Focus\pgsql
set PGDATA=%PGHOME%\data
set PGLIB=%PGHOME%\lib
set PGHOST=localhost
set PATH=%PGHOME%\bin;%PATH%
1.4.1 初始化数据库
创建Windows用户
net user postgres postgres /add
创建postgresdb
C:\Users\Administrator>initdb --locale=CHS -E UTF8 --pgdata=C:\Micro_Focus\pgsql\data -U postgres
The files belonging to this database system will be owned by user "Administrator".
This user must also own the server process.
The database cluster will be initialized with locale "Chinese_China.936".
initdb: could not find suitable text search configuration for locale "Chinese_China.936"
The default text search configuration will be set to "simple".
Data page checksums are disabled.
fixing permissions on existing directory C:/Micro_Focus/pgsql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default timezone ... Asia/Hong_Kong
selecting dynamic shared memory implementation ... windows
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
1.4.2 注册Windows服务
还是在bin目录下进行dos窗口:
pg_ctl.exe register -N "pgsql" -D C:/Micro_Focus/pgsql/data
手工启动
pg_ctl -D "C:\Micro_Focus\pgsql\data" -l logfile start
1.4.3 修改postgresql.conf(可选)
基本设置:
listen_addresses = '*'
调优设置:
work_mem = 1GB
effective_cache_size = 32GB
maintenance_work_mem=1GB
max_connections=2000
shared_buffers=8GB
work_mem=8MB
1.4.4 修改pg_hba.conf (可选)
# IPv4 local connections:
host all all * trust
# IPv4 local connections:
host postgres maas_admin 0.0.0.0/0 md
打开SMA数据库访问
host bo_ats bo_db_user 0.0.0.0/0 md5
host bo_user bo_db_user 0.0.0.0/0 md5
host bo_config bo_db_user 0.0.0.0/0 md5
host bo_license bo_db_user 0.0.0.0/0 md5
host smartadb smarta 0.0.0.0/0 md5
host xservices_ems maas_admin 0.0.0.0/0 md5
host xservices_mng maas_admin 0.0.0.0/0 md5
host xservices_rms maas_admin 0.0.0.0/0 md5
host maas_admin maas_admin 0.0.0.0/0 md5
host maas_template maas_admin 0.0.0.0/0 md5
host idm idm 0.0.0.0/0 md5
host autopassdb autopass 0.0.0.0/0 md5
host bo_ats postgres 0.0.0.0/0 md5
host bo_user postgres 0.0.0.0/0 md5
host bo_config postgres 0.0.0.0/0 md5
host bo_license postgres 0.0.0.0/0 md5
host smartadb postgres 0.0.0.0/0 md5
host xservices_ems postgres 0.0.0.0/0 md5
host xservices_mng postgres 0.0.0.0/0 md5
host xservices_rms postgres 0.0.0.0/0 md5
host maas_admin postgres 0.0.0.0/0 md5
host maas_template postgres 0.0.0.0/0 md5
host idm postgres 0.0.0.0/0 md5
host autopassdb postgres 0.0.0.0/0 md5
host postgres postgres 0.0.0.0/0 md
1.4.5 重启数据库
1.5 安装与设置RabbitMQ
1.5.1 安装Erlang 22.0
Erlang下载地址:http://www.erlang.org/downloads
介质如下:
otp_win64_22.0.exe
点击next到底,
1.5.2 安装rabbitmq 3.7.15
下载rabbitmq-server-3.7.15.exe
rabbitmq-server-3.7.15
https://www.rabbitmq.com/download.html
1.5.3 安装rabbitmq plugins
配置ErLang环境变量
C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Micro_Focus\pgsql\bin;C:\Program Files\erl10.4\bin;C:\Users\baison\AppData\Local\Microsoft\WindowsApps;
确保已切换到RabbitMQ安装目录的sbin目录下,再使用操作命令
(如:C:\Micro_Focus\RabbitMQ Server\rabbitmq_server-3.7.15\sbin)
# 开启RabbitMQ节点
rabbitmqctl start_app
# 开启RabbitMQ管理模块的插件,并配置到RabbitMQ节点上
rabbitmq-plugins enable rabbitmq_management
# 关闭RabbitMQ节点
rabbitmqctl stop
1.5.4 配置User及Virtual Host
配置Virtual Host
配置用户:
安装RPA 2020.11
1.6 安装RPA Designer
解压缩需要一点时间,请耐心等待:
1.7 安装RPA Central
1.7.1 为RPA Central创建用户
创建用户如下:
修改认证步骤如下:
1.8 安装RPA Recorder
其中第一步UFT安装需要一点时间,请耐心等待:
1.9 安装RPA Robot
1.10 安装RPA Self service
检查RPA 2020.11
1.11 检查RPA Designer
https://rpa-cs:8445/oo-designer/
administrator Admin@123
1.12 检查RPA Central
administrator Admin@123
1.13 检查RPA Self Service
administrator Admin@123
后续步骤
RPA安装成功后,默认rpa central内容包都是空的,如下:
重要的content pack如下:
可以从Micro Focus Marketplace下载如下:
OO CONTENTPACK
https://marketplace.microfocus.com/itom/category/all?product=Operations-Orchestration
RPA CONTENTPACK
https://marketplace.microfocus.com/itom/category/robotic-process-automation
备注
1.14 安装 Postgresql报错
安装postgres db做成中,如果遇到以下错误:
缺少MSVCP140.dll VCRUNTIME140.dll
下载并安装Visual C++2015 x64,如下:
来源:oschina
链接:https://my.oschina.net/u/4409991/blog/4918951