A silent installation is an installation procedure that continues without user interaction. It requires no user intervention from start to finish. This installation is performed using a user-modifiable response file, which enables you to easily duplicate the installation on many computer systems.

Table 1. Variables Property and Description
Property Description
USER_INSTALL_DIR Install directory for eventstore.
ES_PROTOCOL

Choose the protocol (http/https) for Elastic Search communication.

For https communication ensure that "esdb.crt" certificate is available on "/opt/ssl".

For https set ES_PROTOCOL to " https".

For http set ES_PROTOCOL to " http ".

ES_CERT_FILE

If https is enabled for ES then set the CERT FILE location else leave it blank.

For example, ES_CERT_FILE=/opt/ssl/esdb.crt.

EVENTSTORE_PORT_NO

Event Store Port.

Enter the port number in which you want to start the Event Store.

ES_ADDRESS

Elastic search IP/fqdn/hostname address in the format <IP-ADDRESS/FQDN/HOSTNAME>:<PORT>

For Elastic search cluster, enter the comma separated address.

ES_USER_NAME Elastic search user name.
ES_PASSWORD Elastic Search Password.
REDIS_IP_ADDRESS

REDIS IP ADDRESS.

Example: 127.0.0.1:6379

For Redis cluster, enter the comma separated IP in the format <IP-ADDRESS>:<PORT>.

REDIS_PASSWORD Redis Password.
KAFKA_SASL_PROTOCOL

Kafka SASL Configuration.

For SSL encrypted communication, ensure that " kafka.crt" file is available in "/opt/ssl".

Set KAFKA_SASL_PROTOCOL to SASL_PLAINTEXT or SASL_SSL.

SASL_PLAINTEXT : User name and Password authentication without encryption of data.

SASL_SSL: User name and Password authentication with SSL encryption.

Example: KAFKA_SASL_PROTOCOL=SASL_SSL

KAFKA_ADDRESS

KAFKA IP ADDRESS.

For Kafka cluster, enter the comma separated IP/fqdn/hostname in the format <IP-ADDRESS/FQDN/HOSTNAME>:<PORT>.

KAFKA_TOPIC

KAFKA Topic.

Example: KAFKA_TOPIC =sam_notification.

KAFKA_USER_NAME KAFKA User Name.
KAFKA_PASSWORD Kafka Password.
SAM_PROTOCOL

Choose the protocol ( http/https) for SAM communication.

For https communication, ensure that " sam.crt" certificate is available on "/opt/ssl".

For https set SAM_PROTOCOL to " https".

For http set SAM_PROTOCOL to " http ".

SAM_CERT_FILE

If https is enabled for SAM then set the CERT FILE location else leave it blank.

Example: SAM_CERT_FILE =/opt/ssl/sam.crt.

SAM_ADDRESS

SAM IP ADDRESS.

Enter the the IP/fqdn/hosname address in the format <IP-ADDRESS/FQDN/HOSTNAME>:<PORT>.

Prerequisites

Create a configuration file for the installer to execute the installation. To create configuration file:

  1. Copy the sample configuration file from the distribution eventstore-installer.properties to a directory on the server where you are installing eventstore.

  2. Use any editor (vi/vim) to modify this file.

  3. Define each of the properties in this file, according to Table - Variables Property and Description.
  4. Save the changes to the file.

Procedure

  1. Login to the server as root.
  2. Type bash eventstore-install.bin –f <response file location> -i silent and press Enter.
    Note: Any user interaction is not required for this installer. Once it completes, a message displays indicating that installation is completed, and you are returned to the shell prompt. If the installer is unable to complete the installation, an error message is saved in the

    [Product directory]/eventstore_logs.

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:
  1. 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.

  2. 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
  3. After installing all the plugins Restart the Elastic Search Service on all cluster nodes.