Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Ensure every node has Java JDK 8+ installed and environment variables setup for both JAVA_HOME and PATH
  • Requires elasticsearch-1.5.2 or above
    • Download Elastic Search from here
  • Elastic Search nodes can either be setup in the same system or on different servers, but they must not be on the same server as the Application nodes
  • All nodes must be on the same network

...

Code Block
languagejs
#transport|node
elastic.client=transport
transport.nodes=192.168.45.21:9300, 192.168.45.22:9300

Migrating from single node to different node Elastic Search from Zephyr Enterprise node

...

Setting up new ES node:

Step 1:
Stop Zephy Enterprise Server service.


Step 2:
On the new node, extract the files to your desired root location


Step 3:
In the config folder of the Elasticsearch root, you'll find a file named elasticsearch.yml. Edit this file and add these lines anywhere:
 

Code Block
languagejs
cluster.name: zephyr
node.name: "Node1"
node.master: true
node.data: true
script.disable_dynamic: false
script.inline: true
script.indexed: true
index.number_of_shards: 1
index.number_of_replicas: 1
network.bind_host: <NODE1_IP>
network.publish_host: <NODE1_IP>
network.host: <NODE1_IP>
transport.tcp.port: 9300
http.port: 9200
discovery.zen.ping.timeout: 3s
discovery.zen.ping.unicast.hosts: ["<NODE1_IP>"]

Replace <MACHINE_IP> with the IP of the machine being configured. For discovery.zen.ping.unicast.hosts add the list of all node IP addresses in the format depicted above.


Step 3:
Now, if you navigate to the bin directory, you'll find Windows and Linux-based executable files for running Elasticsearch. Start Elasticsearch.


Step 4:
Finally, make changes on all the Zephyr node(s). On each node, go to the jdbc.properties file, and add/modify these properties:

Code Block
languagejs
#transport|node
elastic.client=transport
transport.nodes=<NODE1_IP>:9300


Step 5:
Remove Elastic Search service from Zephyr node

Step 6:
Start Zephyr Enterprise Server Service. The first thing that should be done is to manually re-index Zephyr. Searches will not populate properly until this is done.


Back to Top ^