|
如果在现有 ThingWorx 安装上安装 ThingWorx Flow,则必须将该 ThingWorx 实例手动升级为 8.4.1 版本。不支持在 ThingWorx 8.4.0 上自动安装 ThingWorx Flow 8.4.1。
|
|
请注意以下几点:
• 除非先前安装中的所有构件均已移除,否则 ThingWorx Flow 安装程序不支持重复执行。在可回滚到安装前状态的虚拟机快照上安装 ThingWorx Flow。
• ThingWorx Flow 安装程序不支持卸载。
|
组件
|
值
|
注意
|
||
---|---|---|---|---|
内存
|
16 GB RAM (最小)
|
必须为 Java VM 分配专用内存。
|
||
CPU
|
4
|
虚拟环境对于 CPU 或内核数量可能有其特殊要求和用语。在确定环境是否满足最低要求时必须考虑这一点。
|
||
磁盘空间
|
100 GB 可用磁盘空间
|
该大小将容纳默认的 ThingWorx Flow Web 应用程序和部分初始配置数据。
|
||
磁盘速度
|
10K RPM 或更快
|
如果要将数据存储在 ThingWorx Platform 上,则速度至关重要。ThingWorx Flow 建议您尽可能使用最快的磁盘,且磁盘速度不能低于 10000 RPM。
|
支持的操作系统 (仅限 64 位)
|
生产
|
---|---|
Windows Server 2016 或更高版本 (管理员访问权限)
|
是
|
Red Hat Enterprise Linux (RHEL) 7.5
|
是
|
数据库
|
支持的版本
|
---|---|
PostgreSQL
|
9.6 (最低)
|
Microsoft SQL Server
|
2016
|
|
ThingWorx Flow 支持远程数据库。
|
|
使用 thingworx.war 文件和使用安装程序安装 ThingWorx 的先决条件有所不同。安装 ThingWorx Flow 之前,请确保完全具备 ThingWorx 安装程序的先决条件。
|
数据库
|
参数
|
---|---|
PostgreSQL
|
• PostgreSQL IP 地址或主机名称
• PostgreSQL 端口
• PostgreSQL 管理员用户名
• PostgreSQL 管理员密码
• ThingWorx 数据库登录用户名
• ThingWorx 登录密码
• ThingWorx 数据库名称
|
Microsoft SQL Server
|
• SQL Server IP 地址或主机名称
• SQL Server 端口
• SQL Server 数据库实例
• SQL Server 管理员用户名
• SQL Server 管理员密码
• ThingWorx 数据库登录用户名
• ThingWorx 登录密码
• ThingWorx 数据库名称
|
|
在 ThingWorx Flow“属性”窗口的“ThingWorx Flow 主机名称”字段中,输入下列值之一:
• 要安装 ThingWorx Flow 的机器的主机名称
• 如果已部署 ThingWorx,则建议重用已用于 ThingWorx 实例的主机名称。
此配置允许用户不更改其书签或学习新 URL。但是,必须修改 Tomcat 安装下 server.xml 文件中 Host 标记的 name 属性值。
|
情景
|
解决方案
|
---|---|
如果 ThingWorx Flow 服务器 URL 不可访问或返回错误代码 500
|
1. 打开 orchestration-installer 文件夹中的 settings.json 文件。
2. 检查 orchestration 部分中 protocol、host 或 port 参数的值。
"orchestration": {
"url": "hostname", "services": { "thingworx": { "protocol": "https", "host": "localhost", "port": "8443", "platform_settings": "C:\\Program Files (x86)\\ThingWorxPostgres-8.4.1-SNAPSHOT\\ThingworxPlatform\\platform-settings.json" } } }, 3. 如果有任何值不正确,请更新这些值并保存文件。
4. 浏览到 orchestration-installer\bin 文件夹,并根据操作系统运行以下命令之一:
◦ install.bat
◦ install.sh
5. 重新启动 ThingWorx-Flow 服务。
6. 访问 ThingWorx Flow 服务器 URL。
|
如果无法从 ThingWorx Flow 虚拟机访问 ThingWorx 主机
|
1. 浏览到 ThingWorxOrchestration\modules\RabbitMQ\log 文件夹中的 RabbitMQ 日志文件。
2. 打开日志文件,检查日志文件中是否具有以下行:
user 'flowuser' authenticated and granted access to vhost 'orchestration'
3. 如果行不存在,请执行以下操作:
◦ 检查 ThingWorx 虚拟机上的防火墙连接。
◦ 确保在两台主机上均可访问 RabbitMQ 端口。
检查 ThingWorx 和 ThingWorx Flow 主机能否使用 DNS 名称或主机名相互访问。
|