Configuring Hadoop and starting Cluster Services using Ansible PlayBook

To know What is Ansible and how to setup the Control Node for ansible refer the 1st part of the following blog…

The only change that has to be done while following the above blog to setup the control node is Including the Name Node and Data Node IP in the Inventory

Let’s start writing the PlayBook one for Name Node and Data Node.. (we can also combine both together as a single playbook)

Name node:

Data node:

Play both the PlayBooks:

ansible-playbook <playbookname.yml>

Name node:

Data node:

Writing and playing the Playbook to Configure Hadoop and start Cluster Services is Successfull !!

Now let’s check whether all our requirements are satisfied….

Go to managed nodes (name node and data node) and run the jps and hadoop dfsadmin-report command

Task has been successfully completed!

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Integrating Elastic Search with Rails on Heroku using Searchkick and Bonsai

Day 28 | Immersion Starts with Sound

CommCare’s Zapier Integration is a Game Changer

Detect mobile browsers without user agent string parsing

Detect mobile device

Improve your Infrastructure Automation with Terraform Cloud

Manageing big-scale infrastructure with Terraform components

In Search of the Ultimate CMS

Takeaways from DevOps World 2018 — part II

Reduce Cost and Increase Productivity with Value Added IT Services from buzinessware — {link} -

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sangeeth Sahana D

Sangeeth Sahana D

More from Medium

Devops Container Orchestration Using the Docker Swarm Model

Devops Container Orchestration Using the Docker Swarm Model

LEARN TO DEPLOY POSTGRES HA ON KUBERNETES IN 60 MINUTES

LEARN TO DEPLOY POSTGRES HA ON KUBERNETES IN 60 MINUTES

Manage your container using -Kubernetes