You can install the Eventstore on the platform of supported Linux hosts. One server can support only one instance of Eventstore installation.
Prerequisites
Fulfill the following prerequisites before starting the installation:
- Installation server must have java version 1.8+ installed.
If not installed, type yum install -y java-1.8.0-openjdk.x86_64 to install java 1.8.
- Installation server must support bash, sed and curl utility.
- Elastic Search - version 6.4.2 must be installed. Refer, Installing Elastic Search for more information.
Download free Open Source Elastic Search 6.4.2 rpm from https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-6.4.2.rpm.
- User name and password authentication must be enabled for Elastic Search.
- Minimum 3 node Elastic Search Cluster is required for high availability.
- Redis - version 5.0.5 must be installed and running. Refer, Installing Redis for more information.
- Password Authentication must be enabled for Redis.
- For Redis minimum 6 node (3 Primary, 3 Secondary) cluster is required which can be deployed over 3 machines.
- Kafka - version 2.0.0 must be installed and running. Refer, Installing Kafka for more information.
- SASL/PlainText based authentication must be enabled in kafka.
- A topic must be created with 1 partition.
- Zookeeper must be running.
- Minimum 3 node Kafka Broker is required for high availability. In Cluster mode, it is recommended to create a topic with 1 partition and 3 replication factor.
- Optional: Enabling SSL (encryption) using SASL/SSL mechanism between Kafka Broker and Clients with 1-way authentication is also supported.
- Smarts Presentation SAM must be already running.
- EDAA must be enabled and smarts tomcat service must be running.
- Optional: Enabling HTTPS in EDAA is also supported.
- Copy the eventstore-install.bin installer to any directory on the server where Eventstore can be installed.
- Ensure that you have a login with root privileges to run the installer.
- Download the installation file from support page and place it in a temporary location on the server.
Procedure
What to do next
After successful EventStore installation, install 3 elastic search plugins on all elastic search instances in the cluster by following these steps:
- Copy the plugins directory containing "ChainingSupport-6.4.2.zip, elasticsearch-arrayformat-6.4.2.zip and elasticsearch-userprofile-6.4.2.zip" from "<EventStore_INSTALL_DIR>/evenstore/plugins/" to the <PLUGIN-DIRECTORY> where Elastic Search is running. Here <PLUGIN-DIRECTORY> can be any directory.
-
After copying run the following command to install each plugin:
1. /path/to/elasticsearch/bin/elasticsearch-plugin install file:///<PLUGIN DIRECTORY>/ plugins/ChainingSupport-6.4.2.zip 2. /path/to/elasticsearch/bin/elasticsearch-plugin install file:///<PLUGIN DIRECTORY>/ plugins/elasticsearch-arrayformat-6.4.2.zip 3. /path/to/elasticsearch/bin/elasticsearch-plugin install file:///<PLUGIN DIRECTORY>/ plugins/elasticsearch-userprofile-6.4.2.zip
- After installing all the plugins restart the Elastic Search Service on all cluster nodes.