In the fifth step of creating a Hadoop cluster in large data virtualization basics, I want to start by stating that I do not create a cluster through the visual interface provided by BDE. The reason is that our previously deployed Vapp include the BDE Management Server, which is running through a virtual machine. At this point, it has not been able to bind to the Vsphereweb client, thus temporarily unable to deliver the visual management interface. In a later blog post, I'll explain how to deliver a visual interface.
But don't worry, the BDE Management Server itself has a complete external service interface (RESTAPI) that allows users to start fast deployment and management of the Hadoop cluster by simply manipulating it via the command line (CLI). The following figure illustrates the relationship between CLI and Restapi.
We have already deployed the BDE Management Server through the basic op-dimensional blog post we posted earlier. Now, use the CLI to create the first Hadoop cluster! The specific steps are as follows:
1.SSH Login BDE Management Server virtual machine Console
The initial password is provided at the top of the screen when you first log on to the server virtual machine. After a successful login, make sure that you change the initial password through a script to ensure security.
Script to change Password:
Sudo/opt/serengeti/sbin/set-password–u
As shown in the following illustration:
2. Server-side running CLI
Enter the Serengeti directly in the console command line to enter the SERENGETICLI program. SERENGETICLI provides a wealth of cluster management-related command lines and help experience. As shown in the following illustration: