Cluster Reconfiguration

Create Service Config Files

Use the following command to create a service specific configuration yaml.

Bash
Copy

Use accelo info to get respective service config name, except for following services:

Service Configuration NamePulse Service
ad-core-connectorsad-connectors, ad-sparkstats
ad-coread-db, ad-tsdb, ad-streaming, ad-graphql

Update Pulse Configs

Application Config

All cluster configuration information configure during accelo config cluster is stored under file config/acceldata<cluster_name>.conf

Host Config

All the host level configuration details are stored in vars.yml file and the host list is stored in hydra_hosts.yml file.

Accelo Reconfig Cluster

This command regenerates the pulse configuration files with the updated information from the cluster.

The list of files which are generated are:

FilesDescription
default-endpoints.ymlStores the endpoints generated from the Services which is used by the Alerts Services
hostRoleMap.ymlStore the Host To Roles Maps of the services
acceldata_<cluster_name>.confMain Configuration file for the pulse which stores the connectors info, monitor groups info
vars.ymlStore the agent-related configuration
hydra_hosts.ymlStore the list of the hosts in which the hydra agents are to be installed and running.

Overriding Default vars.yml

In order to overwrite existing configurations present in vars.yml create a file named as override.yml under work/<clustername>

Vars.yml

YAML
Copy

Override.yml

YAML
Copy

Following command overrides vars.yml to required property values.

YAML
Copy
Bash
Copy

For reconfiguring cluster run the following commands:

Bash
Copy

Any changes in the acceldata config file requires config push to DB using the following command:

Bash
Copy

Agents, Base, Static, Components, and JMX

To override the Agent Section, add the agent section to the override.yml file and specify the fields with the values you wish to change.

For example: Suppose you want the pulsenodeagent to have a 60-second interval. The override.yml file will look like the following:

YAML
Copy

Similarly, you can override the Base, Hydra, Static, Components, and JMX sections.

Extra Plugins

Extra Plugins has three individual subsections:

SectionDescription
ImpalaagentIf the Impala Service is installed, running, and enabled during the config cluster, this area is filled.
hbazerIf Hbase Service is installed, running, and enabled during the config cluster, this area is populated.
jmxagentThe section contains all of the JMX data components that are installed, operating, and enabled during the config cluster.

To override a subsection of the Extra Plugins Section, specify the subsection you want to change with the modified values.

For example: In the jmxagent subsection, addhive server interactive appended to the previous values (HBase master, HBase regionserver, data node, namenode, journalnode).

YAML
Copy

EnabledJMX

These two sections contain a list of plugins that are enabled during the config cluster process.

  1. extra_plugins
  2. enabled_jmx

To uninstall a single or several plugins, add the section to the override.yml file.

For example: If you want to add hive_metastore in the enabled_jmx section do the following:

YAML
Copy

If you want to remove the hive_metastore from the enabled_ jmx section copy the section from the vars.yml file and paste it in the override.yml file and remove the hive_metastore line and run the accelo reconfig cluster.

Bash
Copy

Hosts

The Host to the installed component Role map is found in the Hosts section.

If you wish to add a host that is not already in the Ambari, Cloudera, or standalone cluster, you can do so in the override.yml file.

For example:

YAML
Copy

LogLocation

Add the log title to the enabled logs section if you wish to add a LogLocation that was not previously enabled. Add the subsection from the vars.yml file with that change.

For example: If you want to enable the Kafka_err logs then the override.yml file will look like the following block.

YAML
Copy

On removing the kafka_err logs the override.yml file will look like this:

YAML
Copy

Elastic connection timeout from ad-graphql

A new configuration named ELASTIC_CONNECTION_TIMEOUT has been introduced, with a default value set to 60 seconds. This configuration allows control over the connection timeout from ad-graphql to Elasticsearch.

Add the variable ELASTIC_CONNECTION_TIMEOUT to the env section of ad-graphql in the $AcceloHome/config/docker/ad-core.yml file. After adding the variable, your ad-core.yml file should appear as follows:

YAML
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard