安装FME服务器服务并配置故障转移
Perform the following tasks:
- Install the FME Server Services
- Configure the FME Server Services for Failover
- 配置防火墙设置
- (Oracle WebLogic only) Disable WebLogic Authentication
Install the FME Server Services
- 启动FME服务器安装程序
。 - 选择“分布式安装”。
- 在“自定义设置”对话框中,仅选择“Web服务组件”以进行安装。
- The installer prompts you for the UNC path to the远程文件系统。
- 安装程序提示您输入FME服务器主机的名称。输入要作为主要FME服务器核心主机的计算机的主机名(
)。请勿指定故障转移核心主机。 - 安装程序提示您安装aweb application server。如果已经提供,建议您在安装过程中关闭服务。
在这一点
,山the FME Server installation directory shared on the : 山< coreHost >: < FMEServerDir >/home/FMEServer
- 启动FME Server安装程序。
- 选择分布式(自定义)安装选项。
在“功能选择”对话框中,仅选择“Web服务组件”。
安装程序提示您输入FME服务器主机的名称。
输入要作为主要FME服务器核心主机的计算机的主机名(
)。请勿指定故障转移核心主机。 安装程序会提示您的路径远程文件系统。
输入已挂载目录的路径。
安装程序提示您安装aweb application server。如果已经提供,建议您在安装过程中关闭服务。
手动启动FME服务器并将其配置为自动启动。
- 为了使数据下载和数据流Web服务引用正确的Web主机位置在输出从FME引擎返回的结果时,必须在FME引擎配置文件中手动更改此位置:
- 找到FME引擎配置文件
\ server \ fmeengineConfig * .txt - For each file, under the SUB_SECTION for FILE_DOWNLOAD_SERVICE and STREAM_DOWNLOAD_SERVICE, modify the SUCCESS_RESPONSE directive as follows:
From:
success_response 0:翻译成功| OpaterLocation =!FME_AUTO_DIR_NAME!
到:
success_response 0:翻译成功| OpaterLocation =
/ defaultresults /!fme_auto_dir_name_simple! - 找到FME引擎配置文件
在安装后
Configure the FME Server Services for Failover
Open each web application properties file located at:
\ web-inf \ conf \ propertiesfile.properties Find the following line in this file:
#FAILOVER_SERVER_NAMES=
Uncomment this line and replace
with the names of your FME Server Core hosts, separated by spaces. For example: failover_server_names = fmecore1 fmecore2
- Restart the web application server.
配置防火墙设置
The FME Server Services and other clients communicate with the FME Server Core over TCP/IP. Requests are sent to the FME Server Core over port 7071. Result messages are returned to clients over a randomly assigned port created by the FME Server Core. Therefore, be sure to configure any firewall settings on the<webHost>
规则允许与之完全沟通<coreHost>
machines.
(Oracle WebLogic only) Disable WebLogic Authentication
如果您使用的是Oracle WebLogic Server,则必须禁用WBLogic身份验证。此步骤是防止WebLogic拦截登录请求的必要条件,这会干扰FME服务器身份验证。
- 在WebLogic安装中找到并打开以下配置文件:
- 在安全配置结束标记之前添加(或更改)以下行:
- 保存并关闭文件。
<weblogic_install_dir.>/user_projects/domains/<your_domain> /config/config.xml
<强制性 - 有效 - 基本-Eyn-凭据>
错误的
Enforce-valual-basic-auth-credentials>