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 BMC 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:
- BMC TrueSight IT Data Analytics Indexer
- BMC TrueSight IT Data Analytics ConfigDB
BMC TrueSight IT Data Analytics Server
- BMC TrueSight IT Data Analytics Collection Station
Starting or stopping services on Windows
To manually start or stop services on Windows, navigate to Start > Run > services.msc.
The following table lists product components corresponding to each of the service names:
Service name | Component |
---|---|
BMC TrueSight IT Data Analytics Indexer | Indexer |
BMC TrueSight IT Data Analytics ConfigDB | Configuration Database |
BMC TrueSight IT Data Analytics Server | Console Server |
BMC TrueSight IT Data Analytics Collection Station | Collection Station |
Starting or stopping services on Linux
You can use one of the following ways to start or stop the product component services on Linux:
- (Recommended) Start or stop services for all components together.
- Start or stop services for components individually.
Starting or stopping services for all components together
To start or stop all services, navigate to the $BMC_ITDA_HOME/bin directory and then run one of the following:
Goal | Executable to run |
---|---|
Starting all services | run.sh |
Stopping all services | stop.sh |
Starting or stopping services for components individually
To start or stop services for components individually, 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 | 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 |
Sequence for starting or stopping services
The following sequence is important while starting or stopping services individually, and the services must be executed one at a time:
Sequence for starting services
Sequence | Component |
---|---|
1 | Indexer |
2 | Configuration Database |
3 | Console Server |
4 | Collection Station |
Sequence for stopping services
Sequence | Component |
---|---|
1 | Console Server |
2 | Collection Station |
3 | Indexer |
4 | Configuration Database |
Service dependencies
While restarting the various product services, you must keep in mind the following service dependencies:
- When you restart the Configuration Database service, you must restart all remaining component services (except the Indexer service).
- The Indexer is an independent service and does not require a restart of the remaining component services.
Related topic