Thursday, April 28, 2016

Hadoop cluster nodes password

During a Big Data Extension cluster creation, you choose what the node's password will be, either a specified one or a random generated one, them all nodes will be created using the same password.

It’s not unusual that sometimes you need to login directly on the nodes’ console through SSH to perform some troubleshooting, run commands or scripts, but in order to execute this, first you need to properly login with a username and password.
Well, if you specified the password during creation it’s easy, but what about the random password ?

The random password is not shown on any GUI option. To identify the random password you will need to open the node’s console through vSphere Web Client.

There’s it, the random password will be shown on the hosts’s banner.

You might have realized already that it’s not the most secure method since everybody with a vSphere privilege could open the node’s console and check the password for your nodes. 
Some companies have restrict security policies which would not allow this behavior. 

So how do we change the password on all nodes of a cluster ?

       -    login to BDE Management Server CLI
-       run: Cluster_Name ‘echo New_Password | sudo passwd serengeti –stdin’

If you forget the password, just change it again !!!

No comments:

Post a Comment

Who am I

My photo
I’m an IT specialist with over 15 years of experience, working from IT infrastructure to management products, troubleshooting and project management skills from medium to large environments. Nowadays I'm working for VMware as a Consulting Architect, helping customers to embrace the Cloud Era and make them successfully on their journey. Despite the fact I'm a VMware employee these postings reflect my own opinion and do not represents VMware's position, strategies or opinions. Reach me at @dumeirell

Most Viewed Posts

Blog Archive