Exercise 1 - Big Insights
Exercise 1 - Big Insights
Exercise 1 - Big Insights
Exercise 1
Setting up the lab environment
This material is meant for IBM Academic Initiative use only. NOT FOR RESALE
Exercise 1:
Setting up the lab environment
Purpose:
You will set up your lab environment by starting the VMWare image, launching
the Ambari console, and starting the required services. You will also learn
about the file system and directory structures.
Estimated time: 30 minutes
User/Password: biadmin/biadmin
root/dalvm3
Services Password: ibm2blue
Task 1. Configure your image.
As copies are made of the VMWare image, additional network devices get
defined and the IP address changes. Configuration changes are required to get
the Ambari console to work.
Note: Occasionally, when you suspend and resume the VM image, the network
may assign a different IP address than the one you had configured. In these
instances, the Ambari console and the services will not run. You will need to
update /etc/hosts file with the newly assigned IP address to continue working
with the image. No restart of the VM image is necessary, just give it a couple of
minutes, at most. In some cases, you may need to restart the Ambari server,
using ambari-server restart from the command line.
1. To open a new terminal, right-click the desktop, and then click Open in
Terminal.
2. Type ifconfig to check for the current assigned IP address.
3. Take note of the IP address next to inet.
You need to edit the /etc/hosts file to map the hostname to the IP address.
4. To switch to the root user, type su -.
5. When prompted for a password, type dalvm3.
6. To open the /etc/hosts file, type gedit /etc/hosts.
This material is meant for IBM Academic Initiative use only. NOT FOR RESALE
7. Ensure that the contents of the file are similar to the following:
10.0.0.118 ibmclass.localdomain ibmclass
127.0.0.1 localhost.localdomain localhost
8. Update the IP address on the first line from step 3.
9. Save and exit the file, and then close the terminal.
Task 2. Start the BigInsights components.
You will start all the services via the Ambari console to ensure that everything is
ready for the exercise. You may stop what you don't need later, but for now, you
will start everything.
1. Launch Firefox, and then if necessary, navigate to the Ambari login page,
http://ibmclass.localdomain:8080.
2. Log in to the Ambari console as admin/admin.
On the left side of the browser are the statuses of all the services. If any are
currently yellow, wait a couple of minutes for them to become red before
proceeding.
3. Once all the statuses are red, at the bottom of the left side, click Actions and
then click Start All to start the services.
This will take several minutes to complete.
4. When the services have started successfully, click OK.
Task 3. Begin to explore Ambari.
This section will provide some basic Ambari administration and cluster
management. The IBM Open Data Platform (IOP) with Apache Hadoop section
of this course will cover Ambari administration in more detail.
1. Launch Firefox, and then if necessary, navigate to the Ambari login page,
http://ibmclass.localdomain:8080.
2. Log in to the Ambari console as admin/admin.
Once logged in, you will notice the statuses of the services on the left side. If
everything is green, then all services are running.
You can select any of the services to go to the details page for that service.
This material is meant for IBM Academic Initiative use only. NOT FOR RESALE
This material is meant for IBM Academic Initiative use only. NOT FOR RESALE