Each machine with its role,
the cluster at the right size.
Coordination machines, data and processing machines, and a management machine: which components belong to each role and how many machines the cluster needs.
Each machine with its role
The cluster brings together coordination machines, data and processing machines, and a management machine.
In TDP Datacenter, the components are installed directly on the cluster machines, physical or virtual.
The minimum suggestion of seven machines divides the cluster into three roles:
Machines dedicated to control, management and administration components.
Machines dedicated to storage, operation and execution components.
Machine dedicated to Apache Ambari and the other utility components.
In the cluster creation wizard, Ambari separates the components of each service into three categories.
The installer indicates the machine for each component, and the wizard shows the organization of the components by machine during the assignment:
- Masters: in general, management and coordination components.
- Slaves: in general, storage and processing components.
- Clients: client components of the services.
Reference topology
Seven machines
One possible organization for TDP Datacenter: three Masters, three Workers and one Utility or Edge machine. Sizing and high availability are defined per service, according to the workloads and the failure domains.
Configurable
Smaller clusters
A cluster with fewer machines can be deployed, provided it meets the technical requirements, the sizing and the capacity of each component.
Configurable
Resources per machine
The CPU, memory and disk of each machine are defined according to the installed services, the workloads and the expected data volume.
Scenario: how many machines the cluster needs
Situation: the company is going to deploy TDP Datacenter and needs to define the number of machines.
Reference: to meet the replication and high availability requirements of the main components, the suggestion is seven machines: three Masters, three Workers and one Utility or Edge machine, where Ambari runs.
Smaller cluster: a cluster with fewer machines is possible, provided it meets the technical requirements, the sizing and the capacity of each component. A cluster with only Apache Kafka, for example, can start with three machines.
The recommendation is to use, whenever possible, machines dedicated exclusively to the cluster and to avoid Slave components on the Master machines.
Full requirements in Minimum requirements.
See also
Data
Storage, processing and catalog
HDFS and YARN on the same machines, and the table catalog in the Hive Metastore.
Management
Management through Ambari and installation order
Ambari Server and Agents, the cluster blueprint and the installation sequence of the services.