Installing the monitoring logging components is optional. The logging components enable the collection, storage, and visualization of core logs, system logs, and ecosystem component logs. Monitoring components are available as part of the Ecosystem Pack (MEP) that you selected for the cluster.
Complete the steps to install the logging components as the root
user or using sudo. Installing logging components on a client node
or edge node is not supported.
| Component | Requirements |
|---|---|
| fluentd | Install the mapr-fluentd package on each
node in the cluster. |
| Elasticsearch | Install the mapr-elasticsearch package
on at least three nodes in the cluster to allow failover of
log storage if one Elasticsearch node is unavailable.
|
| Kibana | Install the mapr-kibana package on at
least one node in the cluster. |
yum install mapr-fluentd mapr-elasticsearch
yum install mapr-fluentd mapr-elasticsearch
yum install mapr-fluentd mapr-elasticsearch
mapr-kibana
apt-get install mapr-fluentd mapr-elasticsearch
apt-get install mapr-fluentd mapr-elasticsearch
apt-get install mapr-fluentd mapr-elasticsearch
mapr-kibana
zypper install mapr-fluentd
mapr-elasticsearchzypper install mapr-fluentd
mapr-elasticsearch
zypper install mapr-fluentd mapr-elasticsearch
mapr-kibana
maprlogin print to verify that you
have a user ticket for the data-fabric user and the root user. These user
tickets are required for a successful installation. If you need to generate a
data-fabric user
ticket, run maprlogin password. For more information, see Generating a HPE Ezmeral Data Fabric User Ticket.
/opt/mapr/conf/ca directory doesn't exist, you must create
the directory:
/opt/mapr/conf/ssl_userkeystore/opt/mapr/conf/ssl_userkeystore.csr/opt/mapr/conf/ssl_userkeystore.p12/opt/mapr/conf/ssl_userkeystore.pem/opt/mapr/conf/ssl_userkeystore-signed.pem/opt/mapr/conf/ssl_usertruststore/opt/mapr/conf/ssl_usertruststore.p12/opt/mapr/conf/ssl_usertruststore.pem/opt/mapr/conf/ca/root-ca.pem/opt/mapr/conf/ca/chain-ca.pem/opt/mapr/conf/ca/signing-ca.pemadmin user to enable authentication for the end
user using Kibana to search the Elasticsearch log index. This password needs to
be provided at the time of running configure.sh. If no password
is specified, you will default to the pre-mep-5.0.0, default password of
admin. Use one of the following methods to pass the
password to Elasticsearch/Kibana:
configure.sh:export ES_ADMIN_PASSWORD="<newElasticsearchPassword>"Then
run configure.sh as you normally would run it (go to
step
5).
configure.sh command
in step 5. This
method explicitly passes the password on the configure.sh
command
line:-EPelasticsearch '-password <newElasticsearchPassword>' -EPkibana '-password <newElasticsearchPassword>' -EPfluentd '-password <newElasticsearchPassword>'/opt/mapr/server/configure.sh -R -v -ES mfs74.qa.lab -ESDB /opt/mapr/es_db -OT mfs74.qa.lab -C mfs74.qa.lab -Z mfs74.qa.lab -EPelasticsearch '-password helloMapR' -EPkibana '-password helloMapR' -EPfluentd '-password helloMapR'configure.sh command
in step 5. This
method explicitly passes the password on the configure.sh
command line by specifying a
file:-EPelasticsearch '-password <name of local file containing new password>' -EPkibana '-password <name of local file containing new password>' -EPfluentd '-password <name of local file containing new password>'/opt/mapr/server/configure.sh -R -v -ES mfs74.qa.lab -ESDB /opt/mapr/es_db -OT mfs74.qa.lab -C mfs74.qa.lab -Z mfs74.qa.lab -EPelasticsearch '-password /tmp/es_password' -EPkibana '-password /tmp/es_password' -EPfluentd '-password /tmp/es_password'configure.sh on each node in the data-fabric cluster with the
-R and -ES parameters, adding parameters
to configure the Fluentd/Elasticsearch/Kibana password as needed. Optionally,
you can include the -ESDB parameter to specify the location for
writing index data. A Warden service must be running when you use
configure.sh -R.
/opt/mapr/server/configure.sh -R -ES <comma-separate list of Elasticsearch nodes> [-ESDB <filepath>]
| Parameter | Description |
|---|---|
-ES |
Specifies a comma-separated list of host names or IP
addresses that identify the Elasticsearch nodes. The
Elasticsearch nodes can be part of the current data-fabric cluster or part of a different data-fabric cluster. The list is in the following
format:
Note: The default Elasticsearch port is 9200. If you
want to use a different port, specify the port number
when you list the Elasticsearch nodes.
|
-ESDB |
Specifies a non-default location for writing index data
on Elasticsearch nodes. In order to configure an index
location, you only need to include this parameter on
Elasticsearch nodes. By default, the Elasticsearch index is
written to
/opt/mapr/elasticsearch/elasticsearch-<version>/var/lib/MaprMonitoring/.
Note: Elasticsearch requires a lot of disk space.
Therefore, a separate filesystem for the index is
strongly recommended. It is not recommended to store
index data under the
/ or the
/var file
system.Upgrading to a new version of monitoring removes the
|
-OT |
Specifies a comma-separated list of host names or IP
addresses that identify the OpenTSDB nodes. The OpenTSDB
nodes can be part of the current data-fabric cluster or
part of a different data-fabric cluster. Do not use
this option when you configure a node for the first time.
Use this option along with the -R
parameter. A Warden service must be running when you use
configure.sh -R -OT.The hostname
list should use the following format:
Note: The
default OpenTSDB port is 4242. If you want to use a
different port, specify the port number when you
list the OpenTSDB nodes.
|
-R |
After initial node configuration, specifies that
configure.sh should use the previously
configured ZooKeeper and CLDB nodes. |
/opt/mapr/server/configure.sh -R -ES NodeA,NodeB,NodeC -ESDB /opt/mapr/myindexlocation/opt/mapr/server/configure.sh -R -ES NodeA:9595,NodeB:9595,NodeC:9595configure.sh -R, if errors are displayed
see Troubleshoot Monitoring Installation Errors.https://<IPaddressOfKibanaNode>:5601Configure an index
pattern screen. Provide the following values:
| Field | Value |
|---|---|
| Index name or pattern | mapr_monitoring-* |
| Time-field | @timestamp |
configure.sh to configure monitoring.