Starting or stopping product services


While running the installation program, if you selected the Start BMC TrueSight IT Data Analytics Services check box on the TrueSight IT Data Analytics Settings page, then the product services corresponding to the features selected (components) are automatically started on both Windows and Linux platforms. Every time you restart the computer on which you have installed the product, all product services are restarted.

You might need to manually start or stop services in various scenarios, such as:

  • If you change the custom settings in the properties file
  • If the IP address of the computer hosting the product components changes

This topic contains the following information:

If you enabled starting the product services during installation, then the following services are automatically started:

  • TrueSight IT Data Analytics Indexer
  • TrueSight IT Data Analytics ConfigDB
  • TrueSight IT Data Analytics Server

    Note

    In a single-server deployment, the TrueSight IT Data Analytics Server indicates a combination of the Console Server and the Search component.

  • TrueSight IT Data Analytics Collection Station

Starting or stopping services on Windows

You can use one of the following ways to start or stop the product component services on Windows:

Starting or stopping services for all components

Navigate to the %BMC_ITDA_HOME%\bin directory on the computer that hosts the components, and run one of the following executables:

Notes

The following notes are important:

  • Running the following executables can only start (or stop) services for the product components running on that specific computer.
  • If you have multiple Indexers deployed in your environment, then it is recommended that you stop all of them together, by using the shutdown-CLI-command CLI command.


Goal

Executable to run

Starting all services

run.bat

Stopping all services

stop.bat

Starting or stopping services for individual components

Click Start > Run > services.msc.

The following table lists product components corresponding to each of the service names:

Service name

Component

TrueSight IT Data Analytics Indexer

Indexer

TrueSight IT Data Analytics ConfigDB

Configuration Database

TrueSight IT Data Analytics Server

Console Server and Search

Search only

TrueSight IT Data Analytics Collection Station

Collection Station

Starting or stopping services for the standalone Collection Agent

Start or stop the standalone Collection Agent service by navigating to Start > Run > services.msc and locating the BMC TrueSight IT Data Analytics Collection Agent service name.

Starting or stopping services on Linux

You can use one of the following ways to start or stop the product component services on Linux:

Starting or stopping services for all components

Navigate to the $BMC_ITDA_HOME/bin directory on the computer that hosts the components, and run one of the following executables:

Notes

The following notes are important:

  • Running the following executables can only start (or stop) services for the product components running on that specific computer.
  • If you have multiple Indexers deployed in your environment, then it is recommended that you stop all of them together, by using the shutdown-CLI-command CLI command.


Goal

Executable to run

Starting all services

run.sh

Stopping all services

stop.sh

Starting or stopping services for individual components

Navigate to the $BMC_ITDA_HOME/services/bin directory and run one of the commands listed in the following table:

Component

Start and stop commands

Indexer

To start:

sh indexer start

To stop:

sh indexer stop

To check status:

sh indexer status

Configuration Database

To start:

sh configuration_database start

To stop:

sh configuration_database stop

To check status:

sh configuration_database status

Console Server; Search

To start:

sh server start

To stop:

sh server stop

To status:

sh server status

Collection Station

To start:

sh collection_station start

To stop:

sh collection_station stop

To status:

sh collection_station status

Starting or stopping services for the standalone Collection Agent

Navigate to the $BMC_ITDA_HOME/agent/bin directory and run one of the following executables:

Goal

Executable to run

Start the service

run.sh

Stop the service

stop.sh

 

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*