0

默认情况下,MobileFirst Analytics 带有内置的弹性搜索。我想知道是否有办法,我可以使用在不同主机上配置的弹性搜索集群并将其指向 MobileFirst Analytics(而不是使用开箱即用的)

我在知识中心找到一篇文章添加一个独立的elasticsearch节点,但是我看不到在哪里设置外部elasticsearch的主机详细信息。

请指教。谢谢。

4

1 回答 1

2

如果您希望 MobileFirst Platform Analytics 加入具有不同主机名的机器的集群,那么您需要指出该 Eleasticsearch 实例的位置。您可以将其指定为 JNDI 属性

<jndiEntry jndiName="analytics/discovery.zen.ping.unicast.hosts" value="['yourotherhost:port','otherhost:otherport']" />

运营分析属性和配置: https ://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.monitor.doc/monitor/c_op_analytics_properties.html

有关 ES 网络配置的更多信息: https ://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html#common-network-settings

于 2016-08-09T18:55:50.590 回答