SlideShare una empresa de Scribd logo
1 de 2
LAB: Managing Services                                                      July 2012



LAB: Managing Services
Goal
In 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 above

Exercise: 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
LAB: Managing Services                                                       July 2012


Exercise: 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

Más contenido relacionado

Destacado

Citlali marisol prieto lópez mapa p laboral
Citlali marisol prieto lópez mapa  p laboralCitlali marisol prieto lópez mapa  p laboral
Citlali marisol prieto lópez mapa p laboralcitladelili
 
DLI BOOK 04 lesson 2 grammar
DLI BOOK  04 lesson 2 grammarDLI BOOK  04 lesson 2 grammar
DLI BOOK 04 lesson 2 grammarKeith Miller
 
Dli book 01 lesson 1.vocab
Dli book 01 lesson 1.vocabDli book 01 lesson 1.vocab
Dli book 01 lesson 1.vocabKeith Miller
 
Memoria descriptiva del proyecto de creatividad e inventiva
Memoria descriptiva del proyecto de creatividad e inventivaMemoria descriptiva del proyecto de creatividad e inventiva
Memoria descriptiva del proyecto de creatividad e inventivaJesus Perez
 
Cortland Hooper Overall Resume Power Point
Cortland Hooper Overall Resume Power PointCortland Hooper Overall Resume Power Point
Cortland Hooper Overall Resume Power PointCort Hooper
 
Metal free ceramics / dental ceramic lab courses
Metal free ceramics / dental ceramic lab coursesMetal free ceramics / dental ceramic lab courses
Metal free ceramics / dental ceramic lab coursesIndian dental academy
 
Himel_Sen_Resume
Himel_Sen_ResumeHimel_Sen_Resume
Himel_Sen_Resumehimel sen
 

Destacado (9)

Citlali marisol prieto lópez mapa p laboral
Citlali marisol prieto lópez mapa  p laboralCitlali marisol prieto lópez mapa  p laboral
Citlali marisol prieto lópez mapa p laboral
 
DLI BOOK 04 lesson 2 grammar
DLI BOOK  04 lesson 2 grammarDLI BOOK  04 lesson 2 grammar
DLI BOOK 04 lesson 2 grammar
 
Dli book 01 lesson 1.vocab
Dli book 01 lesson 1.vocabDli book 01 lesson 1.vocab
Dli book 01 lesson 1.vocab
 
Memoria descriptiva del proyecto de creatividad e inventiva
Memoria descriptiva del proyecto de creatividad e inventivaMemoria descriptiva del proyecto de creatividad e inventiva
Memoria descriptiva del proyecto de creatividad e inventiva
 
Cortland Hooper Overall Resume Power Point
Cortland Hooper Overall Resume Power PointCortland Hooper Overall Resume Power Point
Cortland Hooper Overall Resume Power Point
 
Los plásticos
Los plásticosLos plásticos
Los plásticos
 
Atenas
AtenasAtenas
Atenas
 
Metal free ceramics / dental ceramic lab courses
Metal free ceramics / dental ceramic lab coursesMetal free ceramics / dental ceramic lab courses
Metal free ceramics / dental ceramic lab courses
 
Himel_Sen_Resume
Himel_Sen_ResumeHimel_Sen_Resume
Himel_Sen_Resume
 

Similar a 42 lab-managing services

41a managing services
41a managing services41a managing services
41a managing servicesmapr-academy
 
Docker Swarm for Beginner
Docker Swarm for BeginnerDocker Swarm for Beginner
Docker Swarm for BeginnerShahzad Masud
 
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7VCP Muthukrishna
 
Reactive programming with rx java
Reactive programming with rx javaReactive programming with rx java
Reactive programming with rx javaCongTrung Vnit
 
You are a new administrator for Contoso, Ltd., working on a test dep.docx
You are a new administrator for Contoso, Ltd., working on a test dep.docxYou are a new administrator for Contoso, Ltd., working on a test dep.docx
You are a new administrator for Contoso, Ltd., working on a test dep.docxmaryettamckinnel
 
Delphi - Howto Services
Delphi - Howto ServicesDelphi - Howto Services
Delphi - Howto ServicesNiall Munro
 
SDN Onboarding: Open vSwitch CLIs, OpenDaylight
SDN Onboarding: Open vSwitch CLIs, OpenDaylightSDN Onboarding: Open vSwitch CLIs, OpenDaylight
SDN Onboarding: Open vSwitch CLIs, OpenDaylightTelematika Open Session
 
Container Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and KubernetesContainer Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and KubernetesWill Hall
 
How to restart the RDP without rebooting the windows server .pdf
How to restart the RDP without rebooting the windows server .pdfHow to restart the RDP without rebooting the windows server .pdf
How to restart the RDP without rebooting the windows server .pdfHost It Smart
 
Mciro Services & Zookeeper
Mciro Services & ZookeeperMciro Services & Zookeeper
Mciro Services & ZookeeperDeepak Singhal
 
Towards 100% uptime with node
Towards 100% uptime with nodeTowards 100% uptime with node
Towards 100% uptime with nodesandinmyjoints
 
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, Docker
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, DockerUnder the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, Docker
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, DockerDocker, Inc.
 
Production Grade Kubernetes Applications
Production Grade Kubernetes ApplicationsProduction Grade Kubernetes Applications
Production Grade Kubernetes ApplicationsNarayanan Krishnamurthy
 
Spring, Functions, Serverless and You
Spring, Functions, Serverless and YouSpring, Functions, Serverless and You
Spring, Functions, Serverless and YouVMware Tanzu
 
SQL Server Clustering and High Availability
SQL Server Clustering and High AvailabilitySQL Server Clustering and High Availability
SQL Server Clustering and High Availability► Supreme Mandal ◄
 

Similar a 42 lab-managing services (20)

41a managing services
41a managing services41a managing services
41a managing services
 
101 Pdfsam
101 Pdfsam101 Pdfsam
101 Pdfsam
 
Docker Swarm for Beginner
Docker Swarm for BeginnerDocker Swarm for Beginner
Docker Swarm for Beginner
 
Nagios
NagiosNagios
Nagios
 
Maximize the efficiency of your server farm
Maximize the efficiency of your server farmMaximize the efficiency of your server farm
Maximize the efficiency of your server farm
 
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
How To Install and Configure VSFTPD on RHEL 7 or CentOS 7
 
Reactive programming with rx java
Reactive programming with rx javaReactive programming with rx java
Reactive programming with rx java
 
You are a new administrator for Contoso, Ltd., working on a test dep.docx
You are a new administrator for Contoso, Ltd., working on a test dep.docxYou are a new administrator for Contoso, Ltd., working on a test dep.docx
You are a new administrator for Contoso, Ltd., working on a test dep.docx
 
Delphi - Howto Services
Delphi - Howto ServicesDelphi - Howto Services
Delphi - Howto Services
 
14 lab-planing
14 lab-planing14 lab-planing
14 lab-planing
 
14 lab-planing
14 lab-planing14 lab-planing
14 lab-planing
 
SDN Onboarding: Open vSwitch CLIs, OpenDaylight
SDN Onboarding: Open vSwitch CLIs, OpenDaylightSDN Onboarding: Open vSwitch CLIs, OpenDaylight
SDN Onboarding: Open vSwitch CLIs, OpenDaylight
 
Container Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and KubernetesContainer Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and Kubernetes
 
How to restart the RDP without rebooting the windows server .pdf
How to restart the RDP without rebooting the windows server .pdfHow to restart the RDP without rebooting the windows server .pdf
How to restart the RDP without rebooting the windows server .pdf
 
Mciro Services & Zookeeper
Mciro Services & ZookeeperMciro Services & Zookeeper
Mciro Services & Zookeeper
 
Towards 100% uptime with node
Towards 100% uptime with nodeTowards 100% uptime with node
Towards 100% uptime with node
 
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, Docker
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, DockerUnder the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, Docker
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, Docker
 
Production Grade Kubernetes Applications
Production Grade Kubernetes ApplicationsProduction Grade Kubernetes Applications
Production Grade Kubernetes Applications
 
Spring, Functions, Serverless and You
Spring, Functions, Serverless and YouSpring, Functions, Serverless and You
Spring, Functions, Serverless and You
 
SQL Server Clustering and High Availability
SQL Server Clustering and High AvailabilitySQL Server Clustering and High Availability
SQL Server Clustering and High Availability
 

Más de mapr-academy

80a disaster recovery
80a disaster recovery80a disaster recovery
80a disaster recoverymapr-academy
 
70a monitoring & troubleshooting
70a monitoring & troubleshooting70a monitoring & troubleshooting
70a monitoring & troubleshootingmapr-academy
 
55a remote cluster
55a remote cluster55a remote cluster
55a remote clustermapr-academy
 
30a accessing your cluster
30a accessing your cluster30a accessing your cluster
30a accessing your clustermapr-academy
 
3 map r installation & setup administration course description
3 map r installation & setup administration course description3 map r installation & setup administration course description
3 map r installation & setup administration course descriptionmapr-academy
 

Más de mapr-academy (14)

52 nfs
52 nfs52 nfs
52 nfs
 
80a disaster recovery
80a disaster recovery80a disaster recovery
80a disaster recovery
 
70a monitoring & troubleshooting
70a monitoring & troubleshooting70a monitoring & troubleshooting
70a monitoring & troubleshooting
 
58a migration
58a migration58a migration
58a migration
 
55a remote cluster
55a remote cluster55a remote cluster
55a remote cluster
 
51 lab-volumes
51 lab-volumes51 lab-volumes
51 lab-volumes
 
50a volumes
50a volumes50a volumes
50a volumes
 
48a tuning
48a tuning48a tuning
48a tuning
 
30a accessing your cluster
30a accessing your cluster30a accessing your cluster
30a accessing your cluster
 
22 configuration
22 configuration22 configuration
22 configuration
 
13c planning
13c planning13c planning
13c planning
 
12a architecture
12a architecture12a architecture
12a architecture
 
10c introduction
10c introduction10c introduction
10c introduction
 
3 map r installation & setup administration course description
3 map r installation & setup administration course description3 map r installation & setup administration course description
3 map r installation & setup administration course description
 

42 lab-managing services

  • 1. LAB: Managing Services July 2012 LAB: Managing Services Goal In 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 above Exercise: 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 2012 Exercise: 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