Your SlideShare is downloading. ×
42 lab-managing services
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

42 lab-managing services

131
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
131
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. LAB: Managing Services July 2012LAB: Managing ServicesGoalIn these exercises you will view which services are running, start and stop services,start and stop the Warden, and (if appropriate) simulate a service failover.Exercise: Managing Services Connect to your MCS for your cluster On the Dashboard, scroll down until you can see the Services panel on the right-hand side o Notice that you can see the total number of each service running in the entire cluster o You can also click on any of the number or service names to drill down into the details of that service Scroll back to the top of the Dashboard and click on the name of the cluster in the heat map Click on the name of your node and scroll down to the Manage Node Services section on the right-hand side o Notice that you can view the status of the services running on your node and also stop, start, restart and view log data for the service Connect to your node via ssh Use jps to view the running MapR services Unless your node is running a production job, use the CLI to stop the TaskTracker running on your node o mapcli node services -tasktracker stop -nodes <node_name> Use jps to view the running MapR services o You should now notice that the TaskTracker is no longer running Use the CLI to start the TaskTracker on your node o You can modify the CLI syntax from aboveExercise: Stop and Start the Warden Connect to your node via ssh Use jps to view the running MapR services Unless your node is running a production job, stop the Warden service on your node o /etc/init.d/mapr-warden stop Use jps to view the running MapR services Start the Warden service on your node o You can modify the syntax from above Use jps to view the running MapR services© 2012 by MapR Technologies Page 1 of 2
  • 2. LAB: Managing Services July 2012Exercise: Failover This exercise will be performed as a group and demonstrated by the instructor. You will stop the Warden on a node where the CLDB/JobTracker are running. This will effectively eliminate that node from the cluster and cause a failover of its critical services. First, ensure that there are no production jobs running on the cluster In order to view the failover in action, you may wish to run the Web Server on a different node than the one on which you are stopping the Warden Once you have a Web Server node separate from the simulated fail node, connect a web browser to the Web Server node On the simulated fail node, stop the Warden using the syntax from above Watch the Dashboard to observe the failover happen. You should be able to see other nodes taking over the services that are no longer available on the simulated fail node.© 2012 by MapR Technologies Page 2 of 2

×