Metrics monitoring is part of monitoring, which also includes log monitoring. Monitoring components are available as part of the Ecosystem Pack (MEP) that you selected for the cluster.
Complete these steps to install metrics monitoring as the root user
or using sudo.
Installing
metrics monitoring components on a client node or edge node is not
supported.
| Component | Requirements |
|---|---|
| collectd | Install the mapr-collectd package on
each node in the data-fabric cluster. |
| OpenTSDB and AsyncHBase | Install the mapr-opentsdb on one or more
nodes. To allow failover of metrics storage when one
OpenTSDB node is unavailable, install OpenTSDB on at least
three nodes in the cluster. Note:
mapr-opentsdb depends on
mapr-asynchbase, and
mapr-asynchbase is automatically
installed on the node where you install
mapr-opentsdb. |
| Grafana | Optional: Install the mapr-grafana
package on at least one node in the data-fabric
cluster. Grafana is optional
for metrics monitoring in general. |
yum install mapr-collectd
mapr-grafanayum install mapr-collectd mapr-opentsdb
yum install mapr-collectd
apt-get install mapr-collectd
mapr-grafanaapt-get install mapr-collectd
mapr-opentsdb
apt-get install mapr-collectd
zypper install mapr-collectd
mapr-grafanazypper install mapr-collectd
mapr-opentsdb
zypper install mapr-collectd
/opt/mapr/conf/ssl_truststore.pem file is present in
/opt/mapr/conf on the Grafana nodes. If the
/opt/mapr/conf/ssl_truststore.pem file is not present,
you must copy it from the CLDB master node to
/opt/mapr/conf on the Grafana nodes.mapr user ID) and
password, so no additional information is needed.admin user ID at the time of running
configure.sh. If no password is provided, the password
reverts to admin, which is the default pre-MEP 5.0.0
password. Use one of the following methods to pass the password to
Grafana:configure.sh:export GRAFANA_ADMIN_PASSWORD="<newGrafanaPassword>"Then
run configure.sh as you normally would run it
(go to step 3).
configure.sh
command in step 3. This method explicitly passes the password on the
configure.sh command
line:-EPgrafana '-password <newGrafanaPassword>'configure.sh
command in step 3. This method explicitly passes the password on the
configure.sh command line by specifying a
file:-EPgrafana '-password <name of local file containing new password>'configure.sh with the
-R and -OT parameters, and other
parameters, as needed, for the Grafana password. A Warden service must be
running when you use configure.sh -R -OT.
/opt/mapr/server/configure.sh -R -OT <comma-separate list of OpenTSDB nodes>
| Parameter | Description |
|---|---|
-R |
After initial node configuration, specifies that
configure.sh should use the previously
configured ZooKeeper and CLDB nodes. |
-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. The list is
in 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.
|
/opt/mapr/server/configure.sh -R -OT NodeB/opt/mapr/server/configure.sh -R -OT NodeB:4040configure.sh -R, if errors are displayed
see Troubleshoot Monitoring Installation Errors.maprcli node services -name nodemanager -nodes <space separated list of hostname/IPaddresses> -action restart
maprcli node services -name resourcemanager -nodes <space separated list of hostname/IPaddresses> -action restart