Elastic Search (ES2.3.2_03) Installation and Configuration
1. Download the current Elasticsearch
DPK.
2. The DPKs can be installed on any Linux and
Microsoft Windows platforms supported by Oracle for PeopleSoft servers.
From this version on, Elasticsearch can be installed using either
of the two ways:
* Python-based installation (Please refer
the section below for a quick overview : ELASTICSEARCH INSTALLATION AND
UPGRADE PROCEDURE - LINUX and WINDOWS)
* Puppet-based installation
We are going for Python based installation on RH6.
3. What does the Elasticsearch DPK contain? Below it is :
* Elasticsearch bootstrap scripts
* Python Binary
* Python setup scripts
* Puppet Source software binary
[for puppet installation]
* Puppet modules [for
configuring Elasticsearch environment]
* Elasticsearch binary
* Oracle JRE 1.8
4.Let's go for Elasticsearch Installation in Linux without
using Puppet
5. Navigate to ES_DOWNLOAD_DIR directory or any name whatever you want to give.
6. Unzip the DPK
# unzip ELASTICSEARCH-DPK-LNX-2.3.2_03.zip
7.Open teh terminal and navigate to Open
a terminal and navigate to ES_DOWNLOAD_DIR/setup or whatever name you had given
8.Run
the setup script as :
./psft-dpk-setup.sh --install
--install_base_dir
<BASE_DIR>
<BASE_DIR> you keep as create any folder say elasticsearch I kept it as /oracle/elasticsearch
9.The user will be prompted with the following message, enter y :
You've chosen to do a fresh installation of
Elasticsearch. Do you want to continue with your choice? (y/n): y
10.The user will be prompted with the administrative-user(esadmin)
and proxy- user(people) passwords :
Enter the password for esadmin :
Re-enter the password for
esadmin :
Enter the password for people :
Re-enter the password for people
:
Provide the password and note it down somewhere.
11. The user will be prompted with the following prompts. If no inputs
are entered, the defaults shall be retained:
Enter the ES cluster name [ ESCLUSTER ] : SEARCH_ES
Enter the HTTP port for
Elasticsearch [ 9200 ] :
Enter the list of discovery
hosts [ ["127.0.0.1", "[::1]"] ] :
Enter the mininum number of
master nodes :
Enter the path where you want
the Elasticsearch data to reside [ <BASE_DIR>/pt/es2.3.2/data ] :
Enter the path where you want
the Elasticsearch Logs to be written to [ <BASE_DIR>/pt/es2.3.2/logs
] :
Enter the Java Heap size for
Elasticsearch [ 1G ] :
12. I kept Master node as default and all other steps also i kept the same default as it comes on screen. But make sure Cluster name should not be the same in your org.
13. Post this, the script executes as follows :
Extracting
the new ES Binary ....... [OK]
Extracting
the new JRE ............. [OK]
Setting
users/roles in ES ....... [OK]
Configuring
Elasticsearch ...... [OK]
Starting
Elasticsearch server .... [OK]
After this, the
installation will be completed with the following message :
Elasticsearch Installation Completed.
No comments:
Post a Comment