...
代码块 | ||
---|---|---|
| ||
coordinator=true node-scheduler.include-coordinator=true query.max-memory=2GB query.max-memory-per-node=1GB discovery-server.enabled=true http-server.http.enabled=false http-server.https.enabled=true http-server.https.port=8443 discovery.uri=https://BI-0082:8443 http-server.authentication.type=PASSWORD http-server.https.keystore.path=C:\\Smartbi\\SmartbiUnionServer\\etc\\smartbiunionserver_keystore.jks http-server.https.keystore.key=manager internal-communication.https.required=true internal-communication.https.keystore.path=C:\\Smartbi\\SmartbiUnionServer\\etc\\smartbiunionserver_keystore.jks internal-communication.https.keystore.key=manager node.internal-address-source=FQDN |
配置说明:
参数值 | 参数说明 |
---|---|
coordinator | coordinator(调度)节点,单节点部署时,必须为true |
node-scheduler.include-coordinator | worker(工作)节点,单节点部署时,必须为true |
http-server.http.enabled | 配置为false,禁用http协议 |
http-server.https.enabled | 配置为true,开启https协议 |
http-server.https.port | 配置https端口,此处配置为8443,可以根据实际情况调整 |
discovery.uri | 跨库联合数据源的连接url请求地址,配置为https://主机名称:https的端口. 此处必须写跨库联合数据源的服务器的主机名称,不能写ip地址。 https端口就是http-server.https.port配置的端口 |
http-server.authentication.type | 服务认证类型,此处配置为PASSWORD |
http-server.https.keystore.path | 第1步生成的jks证书路径,建议写完整的绝对路径 |
http-server.https.keystore.key | 第1步生成的jks证书的密码 |
internal-communication.https.required | 配置为true,开启内部https连接请求 |
internal-communication.https.keystore.path | 内部连接请求证书,配置为第一步生成的jks证书路径即可,建议写完整的绝对路径 |
internal-communication.https.keystore.key | 内部连接请求证书的密码 |
...
注意 |
---|
1、此处要禁用http请求,否则无法开启账户密码认证。 2、配置各个参数项,不能有空格 |
5)创建密码文件
下载htpasswd文件
在windows环境,运行
...