Elasticsearch

Modified: 26 Sep 2019 21:20 UTC

This image is no longer available.

The Joyent Elasticsearch image is a SmartOS base64 image preconfigured with Elasticsearch, a search server based on Apache Lucene.

You can find more information about Elasticsearch at their website.



Overview

Elasticsearch and its dependencies, comes pre-isntalled via pkgsrc:

    # pkgin se elasticsearch
    elasticsearch-1.0.1  Distributed RESTful Search Engine

SMF

The Elasticsearch service is managed via SMF:

    # svcs elasticsearch
    STATE          STIME    FMRI
    online          0:39:58 svc:/pkgsrc/elasticsearch:default

You can stop the service with:

    # svcadm disable elasticsearch

And you can restart the service with:

    # svcadm restart elasticsearch

Java

Elasticsearch is a Java application. This instance uses OpenJDK as its Java implementation.

Accounts

The account and group elasticsearch are predefined for running Elasticsearch.

Configuration

The Elasticsearch configuration files are in /opt/local/etc/elasticsearch. The main configuration file is /opt/local/etc/elasticsearch/elasticsearch.yml. The following values are different from the defaults:

Key Value
cluster.name UUID of your instance
node.name Local IP address of your instance
network.host Private IP address of your instance
path.conf /opt/local/etc/elasticsearch
path.data /var/db/elasticsearch
path.work /var/tmp/elasticsearch
path.logs /var/log/elasticsearch
path.plugins /opt/local/lib/elasticsearch/plugins
processors Number of processors in instance. See mpstat(1m)

Metadata keys

With the Elasticsearch image are metadata keys that can be pre-defined during provision to provide additional customization to the instance.

Metadata Key Description
elasticsearch_cluster_name Elasticsearch cluster.name to set to
elasticsearch_node_name Elasticsearch node.name to set to
elasticsearch_heap_size Elasticsearch heap size to set. Value in MB

Version 15.x.x

15.1.1

Name elasticsearch
Description A SmartOS 64-bit image pre-configured and optimized as a ElasticSearch 1.4.4 server.
UUID 8b05ccbe-0890-11e5-8d30-57386d1d5482
Based on base-64 15.1.1
Pkgsrc 2015Q1
What's New In This Image
Software Included In This Image

Software installed as pkgsrc packages:

bzip2-1.0.6nb1
curl-7.42.0
db4-4.8.30
dtracetools-0.7
elasticsearch-1.4.4
gcc47-libs-4.7.4nb1
gtar-base-1.28nb1
htop-1.0.1
nodejs-0.12.4
openssl-1.0.2a
perl-5.20.2
pkgin-0.8.0
postfix-2.11.4
python27-2.7.9nb1
smtools-20150312
sqlite3-3.8.10
sudo-1.7.10p9
unzip-6.0nb4
wget-1.16.3
zip-3.0nb2
zoneinit-1.6.8

Software installed as npm packages:

json@9.0.3
manta@1.5.1
smartdc@7.3.1

Version 14.x.x

14.4.0

Name elasticsearch
Description A SmartOS 64-bit image pre-configured and optimized as a ElasticSearch 1.4.4 server.
UUID 39f29a9e-cd82-11e4-bd38-0fed3261fa5f
Based on base-64-lts 14.4.0
Pkgsrc 2014Q4
What's new in this image
Software included in this image

Software installed as pkgsrc packages:

bzip2-1.0.6nb1
curl-7.39.0nb1
db4-4.8.30
dtracetools-0.7
elasticsearch-1.4.4
gcc47-libs-4.7.3nb7
gtar-base-1.28
htop-1.0.1
nodejs-0.12.0
openssl-1.0.1k
perl-5.20.1
pkgin-0.7.0
postfix-2.11.3
python27-2.7.9
smtools-20150226
sqlite3-3.8.7.4
sudo-1.7.10p9
unzip-6.0nb2
wget-1.16.1
zip-3.0nb2
zoneinit-1.6.8

Software installed as npm packages:

json@9.0.3
manta@1.5.0
smartdc@7.3.1

14.3.0

Name elasticsearch
Description A SmartOS 64-bit image pre-configured and optimized as a ElasticSearch 1.4.0 server.
UUID 0423f1f6-7b34-11e4-9364-9bbb102fba57
Based on base64 14.3.0
Pkgsrc 2014Q3
What's new in this image
Software included in this image

Software installed as pkgsrc packages:

    bzip2-1.0.6nb1
    curl-7.38.0
    db4-4.8.30
    elasticsearch-1.4.0
    gcc47-libs-4.7.3nb7
    gtar-base-1.28
    nodejs-0.10.33
    openssl-1.0.1j
    perl-5.20.0nb2
    pkgin-0.6.4nb7
    postfix-2.11.1nb1
    python27-2.7.8nb1
    smtools-20141114
    sqlite3-3.8.6
    sudo-1.7.10p8
    unzip-6.0nb1
    wget-1.16
    zip-3.0nb2
    zoneinit-1.6.8

Software installed as npm packages

    manta@1.4.5
    smartdc@7.3.0

14.2.0

Name elasticsearch
Description A SmartOS 64-bit image pre-configured and optimized as a ElasticSearch 1.3.0 server.
UUID b451ca78-1ca5-11e4-8a4c-5f463f94e8f1
Based on base64 14.2.0
pkgsrc 2014Q2
What's new in this image
Software included in this image

Software installed as pkgsrc packages:

    bzip2-1.0.6nb1
    curl-7.37.0nb1
    db4-4.8.30
    elasticsearch-1.3.0
    gcc47-libs-4.7.3nb4
    gtar-base-1.27.1nb1
    nodejs-0.10.30
    openssl-1.0.1h
    perl-5.20.0nb1
    pkgin-0.6.4nb7
    postfix-2.11.1nb1
    python27-2.7.7nb2
    smtools-20140728
    sqlite3-3.8.5
    sudo-1.7.10p8
    unzip-6.0nb1
    wget-1.15nb2
    zip-3.0nb2
    zoneinit-1.6.7

Software installed as npm packages

    jsontool@7.0.2
    manta@1.2.8
    smartdc@7.3.0

14.1.0

Name elasticsearch
Description A SmartOS 64-bit image pre-configured and optimized as a ElasticSearch 1.1.1 server.
UUID 1daa8e14-e1ba-11e3-bd59-a3971b58fa36
Based on base64 14.1.0
pkgsrc 2014Q1
What's new in this image
Software included in this image

Software installed as pkgsrc packages:

    bzip2-1.0.6nb1
    curl-7.36.0
    db4-4.8.30
    duo-unix-1.9.7
    gcc47-libs-4.7.3nb3
    gtar-base-1.27.1nb1
    nodejs-0.10.28
    openssl-1.0.1g
    perl-5.18.2nb1
    pkgin-0.6.4nb5
    postfix-2.11.0nb1
    python27-2.7.6nb3
    smtools-20140509
    sqlite3-3.8.4.1
    sudo-1.7.10p8
    unzip-6.0nb1
    wget-1.15nb1
    zip-3.0nb2
    zoneinit-1.6.7

Software installed as npm packages

    jsontool@7.0.2
    manta@1.2.7
    smartdc@7.2.1

Version 13.x.x

13.4.1

Name elasticsearch
Description A SmartOS 64-bit image pre-configured and optimized as a ElasticSearch 1.0.1 server.
UUID 0fbd0a74-c028-11e3-ac6a-bf348e9f760c
Based on base64 13.4.1
pkgsrc 2013Q4
What's new in this release
Software included in this release

Software installed as pkgin packages:

    bzip2-1.0.6nb1
    curl-7.33.0
    db4-4.8.30
    duo-unix-1.9.7
    gcc47-libs-4.7.3nb3
    gtar-base-1.26nb2
    libarchive-2.8.4nb2
    nodejs-0.10.26
    openssl-1.0.1fnb1
    perl-5.18.1nb3
    pkgin-0.6.4nb4
    postfix-2.10.2nb1
    python27-2.7.6nb1
    smtools-20140303
    sqlite3-3.8.2
    sudo-1.7.10p7
    unzip-6.0nb1
    wget-1.14nb3
    zip-3.0nb2
    zoneinit-1.6.7

Software installed as npm packages:

    smartdc@7.2.1
    jsontool@7.0.2
    manta@1.2.6

13.4.0

Name elasticsearch
Description A SmartOS 64-bit image pre-configured and optimized as a ElasticSearch 1.0.1 server.
UUID 78904c3a-ba8a-11e3-8d2c-e73f8ba0674a
Based on base64 13.4.0
pkgsrc 2013Q4
What's new in this release
Software included in this release

Software installed as pkgin packages:

    bzip2-1.0.6nb1
    curl-7.33.0
    db4-4.8.30
    duo-unix-1.9.7
    elasticsearch-1.0.1
    gcc47-libs-4.7.3nb3
    gtar-base-1.26nb2
    nodejs-0.10.26
    openssl-1.0.1f
    perl-5.18.1nb3
    pkgin-0.6.4nb4
    postfix-2.10.2nb1
    python27-2.7.6nb1
    smtools-20140303
    sqlite3-3.8.2
    sudo-1.7.10p7
    unzip-6.0nb1
    wget-1.14nb3
    zip-3.0nb2
    zoneinit-1.6.7

Software installed as npm packages:

    smartdc@7.2.0
    jsontool@7.0.1
    manta@1.2.6