Previous Topic: Stop and Restart Data AggregatorNext Topic: Stop and Restart Data Repository


Stop and Restart Data Collector

Situations can arise when you must stop and restart Data Collector. For example, the computer where Data Collector is installed can lose power or can lock up. Or, you want to relocate the computer. In this case, stop and restart Data Collector. If you want to install an operating system patch, stop and start Data Collector.

Follow these steps:

  1. Log in to the computer where Data Collector is installed. Log in as the root user or a sudo user with access to a limited set of commands.

    Note: For more information about the sudo user, see the Data Aggregator Installation Guide.

  2. Open a command prompt and do one of the following steps:
    1. If you are logged in as the root user, type the following command:
      service dcmd stop
      
    2. If you are logged in as the sudo user, type the following command:
      sudo service dcmd stop
      

    When Data Collector is stopped, all ongoing polling stops. You cannot run any discoveries.

  3. Relocate the computer, or perform any other administrative tasks.
  4. Start Data Collector by logging in to the computer where Data Collector is installed. Log in as the root user or a sudo user with access to a limited set of commands.

    Note: If you installed Data Collector as the sudo user, you set up a sudo command alias for the /etc/init.d/dcmd command. Use the sudo command to run the dcmd start script. For more information about the sudo user, see the Data Aggregator Installation Guide.

  5. Open a command prompt and type the following command:
    service dcmd start
    

    When Data Collector is restarted, scheduled polling resumes. You can resume running discoveries. Data Collector resynchronizes with CA Performance Center automatically.