This installation procedure describes the steps of Eventstore installation in the Graphical Interface. One server can support only one instance of Eventstore installation.
Prerequisites
- 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
- Log in to the server as root.
Logged in with root privileges.
- Type bash eventstore-install.bin –i gui to run the installer in the graphical installer mode, and press Enter.
Installer introduction appears.
- Click Next.
Installer introduction continues.
- Installer prompts to choose an install folder, click Next to continue with the Default folder.
Default is /opt/eventstore.
- If the install folder already contains eventstore folder you can choose appropriate options from any of the following:
- Click Yes to override the already installed folder.
or
- Click No to choose a new installation directory.
or
- Click Cancel to cancel the installation.
- Click Next to continue when installer prompts to enter the eventstore port .
This is the port in which eventstore service starts. Port number must be between 1 to 65535. If wrong port number is entered, installer will throw a validation error and redirect to re-enter the Port details. Default port is 8080.
- The Installer prompts you to choose any of the below protocol for communication.
- Click “https” radio button for https communication and click Next to continue.
or
- Click “http” radio button for http communication and click Next to continue.
Note: 1. For “https” communication ensure that “esdb.crt” file is available in “/opt/ssl”. (For configuring https in elastic search refer,
Enabling HTTPS in Elastic Search).
Note: 2. The certificate file esdb.crt should contain certificates from all elastic search instances in a cluster.
- Installer prompts for Elastic Search Configurations:
- Enter the Elastic search IP or FQDN or Hostname in the format <IP-ADDRESS/FQDN/HOSTNAME>:<PORT>. In case of cluster enter the comma separated IP or FQDN or Hostname address.
- Type the Elastic Search Username and click Next to continue.
- Enter the Elastic Search Password when installer prompted and click Next to continue.
Password confirmation prompt appears.
- Enter Elastic Search Password again when prompts for confirmation and click Next to continue.
Installer throws a validation error and redirects to the beginning of step 9 if the password mismatches. Verify if any fields are blank to avoid the installer validation error and redirects to step 8.
Also verify if the first IP/fqdn/hostname address of Elastic Search entered, is reachable from Installation server. Otherwise, installer will throw a connectivity error, and redirects to the beginning of step 8.
- Enter Redis IP address when installer prompts for Redis configurations and click Next to continue.
For Redis cluster enter the Comma separated IP in the format <IP-ADDRESS>:<PORT> Default is 127.0.0.1:6379 (For redis authentication refer
Redis Authentication).
Note: 1. Eventstore supports only Redis Cluster with 3 Redis primary instance. A single non-cluster redis instance is not supported.
Note: 2. Verify if you have entered the IP address in a correct format. Otherwise, installer throws a validation error and redirects to this step again.
- Enter the Redis Password when installer prompts and click Next to continue.
Installer prompts for password confirmation.
- Enter Redis Password when prompts for confirmation and click Next to continue.
Installer throws a validation error and redirects to the beginning of step 12 if the passwords are mismatched.
- Installer prompts to enter Kafka SASL Configuration. You can choose SASL_PLAINTEXT or SASL_SSL for Kafka communication.
SASL_PLAINTEXT: User name and Password authentication without encryption of data.
SASL_SSL: User name and Password authentication with SSL encryption.
For SSL encrypted communication ensure that " kafka.crt " file is available in "/opt/ssl". Default is SASL_SSL.
- Click SASL_PLAINTEXT radio button for SASL_PLAINTEXT, click Next to continue.
(For Enabling Kafka authentication using SASL/PLAINTEXT, refer Kafka SASL_PLAIN Authentication Configuration).
or
- Click SASL_SSL radio button for SASL_SSL, click Next to continue.
- Installer prompts to enter the kafka configuration.
- Enter KAKFA ADDRESS. Kafka IP/fqdn/hostname address must be in the format <IP-ADDRESS/FQDN/HOSTNAME>:<PORT>. For Kafka cluster enter the comma separated address.
- Enter KAKFA TOPIC. Default is sam_notification.
Note: The topic must be already created with 1 partition only.
- Enter KAFKA Username, click Next to continue.
Note: Installer throws a validation error if any input fields are empty and redirects to the beginning of this step 15.
- Enter the KAFKA Password when installer prompts and click Next to continue.
Installer prompts for password confirmation.
- Enter KAFKA Password again when prompts for confirmation and click Next to continue.
Installer throws a validation error and redirects to the beginning of step 12 if the passwords are mismatched.
- Installer prompts to choose the communication protocol for presentation SAM. Default is http.
- Enter the presentation SAM configuration details when Installer prompts. Enter the IP/fqdn/hostname address for SAM in the format <IP-ADDRESS/FQDN/HOSTNAME>:<PORT>). Click Next to continue.
Installer throws a validation error if any input fields are empty and redirects to the beginning of this step 19.
Note: In SAM Port 8080 is enabled in http mode and Port 8443 is enabled in https mode.
- Click Next to continue when Pre install summary is displayed.
installation continues.
- Click Done to exit the Installer.
Install Completed message is displayed.
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 < 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.