The whole cluster
managed by Ambari.
Installation, configuration, monitoring, and upgrade of the cluster through Ambari, and the build order: first the machines, then Ambari, finally the cluster and the services.
- Management through Ambari
- Scenario: cluster blueprint and reinstallation of a service
- Installation order
Management through Ambari
Installation, configuration, monitoring and upgrade of the cluster in one place.
The Ambari Server runs on the Utility or Edge machine and controls the cluster.
On each machine, the Ambari Agent performs the actions and sends host information and metrics.
The web interface, Ambari Web, performs operations through the Ambari Server REST API, which can also be used directly.
The state and the administration metadata are kept in the Ambari database, which, in the documented installation, is a PostgreSQL instance. Collection and storage of the metric series are handled by the Ambari Metrics infrastructure configured for the environment.
Install
Cluster creation wizard
Registers the machines, checks prerequisites such as JDK, firewall and THP, and installs, starts and tests the services respecting the dependencies between them.
Configure
Versioned configurations
All service configurations remain available for change after installation, with configuration versioning.
Monitor
Ambari Metrics and Grafana
Environment monitoring through Ambari, with the Ambari Metrics service and Grafana.
Upgrade
Express or Rolling Upgrade
Component upgrades are performed through Ambari, and the upgrade history is recorded on the Stack and Versions page.
Scenario: cluster blueprint and reinstallation of a service
Situation: the team wants to save the configurations of the newly created cluster, and one of the services failed during deployment.
What TDP does: in the final review of the wizard, the GENERATE BLUEPRINT button generates a file with all the defined configurations, which can be used to recreate the cluster through the Ambari REST API.
Ambari can also complete the deployment even with a service that was not successfully installed, started or tested.
Effect: the cluster becomes available, and afterwards only the faulty service is reconfigured or reinstalled through Ambari itself.
Concepts in Apache Ambari.
Installation order
First the machines, then Ambari, then the cluster and the services.
Machines, operating system and supported browsers.
On all machines: firewall, SELinux, kernel parameters and time synchronization.
Tecnisys Public Package Repository or a local repository, for environments with restricted Internet access.
Ambari Server on the Utility or Edge machine, through the installation script or through tdpctl, and creation of the service metadata databases.
Ambari wizard, starting with the basic services: YARN and MapReduce2, Tez, ZooKeeper, Infra Solr and Ambari Metrics.
Added after the cluster is created, according to the needs of the environment.
tdpctl, the Tecnisys CLI for task automation and installation of extensions in TDP, is described in TDPCTL installation.
See also
Machines
Each machine with its role
Masters, Workers and Utility or Edge, with the components of each role and the sizing scenario.
Data
Storage, processing and catalog
HDFS and YARN on the same machines, and the table catalog in the Hive Metastore.