Starting and stopping product components and services
Sometimes you might need to start or stop any of the
Platform components and services. The following procedures detail how to start and stop services:
In these instructions, AO_HOME represents the installation directory for the component, such as the CDP, HA-CDP, AP, LAP, OCP, repository, or dashboards.
Starting and stopping the repository
Use these instructions to start and stop the repository. If you are using the embedded Remedy Single Sign-On, when you start and stop the repository, you start and stop the Remedy SSO version installed with the repository.
Starting the repository
You can set the repository to start automatically after installation finishes, or you can use the procedure appropriate for the operating system where the repository is installed to start it.
To start the repository on a Windows computer
- Select Control Panel > Administrative Tools > Services to open the Services window.
- Right-click the
Repository service and select Start.
To start the repository on a Linux or UNIX computer
- Open a terminal on the computer.
- Change to the AO_Home/bin directory for the Repository installation.
- Type sh AO_HOME/bin/server.sh start
Tomcat displays messages indicating that the server started.
Stopping the repository
Sometimes, you might need to stop the processes for maintenance or any other purposes. You can use the procedure appropriate for the operating system where the repository is installed to stop the repository processes.
To stop the repository on a Windows computer
- Select Settings > Control Panel > Administrative Tools > Services to open the Services window.
- Right-click the
Repository service and select Stop.
To stop the repository on a Linux or UNIX computer
- Open a terminal on the computer.
- Change to the AO_Home/bin directory for the CDP installation.
Type sh AO_HOME/bin/server.sh stop
Tomcat displays messages indicating that the server stopped.
Starting and stopping the CDP, AP, or LAP
Use these instructions to start and stop the CDP, AP, or LAP.
If you are using the embedded Remedy Single Sign-On, when you start and stop the CDP, you start and stop the Remedy SSO version installed with the CDP.
Starting the CDP, AP, or LAP
The configuration distribution peer (CDP) must be running for you to use Grid Manager. You can set the CDP to start automatically after installation finishes, or you can use the procedure appropriate for the operating system where the CDP is installed to start it. You use the same approach to start APs and LAPs.
To start the CDP on a Windows computer
- Select Control Panel > Administrative Tools > Services to open the Services window.
- Right-click the appropriate service (in the following list) and select Start.
CDP service:
Configuration Distribution Peer
AP service:
Activity Peer
LAP service:
Lightweight Activity Peer
To start the CDP, AP, or LAP on a Linux or UNIX computer
- Open a terminal on the computer.
- Change to the AO_Home/bin directory for the CDP, AP, or LAP installation.
Type sh AO_HOME/bin/server.sh start
Tomcat displays messages indicating that the server started.
Stopping the CDP, AP, or LAP
Although the CDP must be running for you to use Grid Manager, you might need to stop the processes. You can use the procedure appropriate for the operating system where the CDP is installed to stop the CDP processes. You use the same approach to start APs and LAPs.
To stop the CDP, AP, or LAP on a Windows computer
- Select Settings > Control Panel > Administrative Tools > Services to open the Services window.
- Right-click appropriate service (in the following list) and select Stop.
CDP service:
Configuration Distribution Peer
AP service:
Activity Peer
LAP service:
Lightweight Activity Peer
To stop the CDP, AP, or LAP on a Linux or UNIX computer
- Open a terminal on the computer.
- Change to the AO_Home/bin directory for the CDP installation.
- Type sh AO_HOME/bin/server.sh stop
Tomcat displays messages indicating that the server stopped.
Starting and stopping the OCP
Use these instructions to start and stop the OCP.
Starting the OCP
Use the procedure appropriate for the operating system where the OCP is installed to start the OCP.
To start the OCP on a Windows computer
- Select Control Panel > Administrative Tools > Services to open the Services window.
Right-click the
Operator Control Panel service and select Start.
To start the OCP on a Linux or UNIX computer
- Open a terminal on the computer.
- Change to the AO_Home/bin directory for the OCP installation.
- Type sh AO_HOME/bin/server.sh start
Tomcat displays messages indicating that the server started.
Stopping the OCP
Use the procedure appropriate for the operating system where the OCP is installed to stop the OCP.
To stop the OCP on a Windows computer
- Select Settings > Control Panel > Administrative Tools > Services to open the Services window.
Right-click the
Operator Control Panel service and select Stop.
To stop the OCP on a Linux or UNIX computer
- Open a terminal on the computer.
- Change to the AO_Home/bin directory for the OCP installation.
- Type sh AO_HOME/bin/server.sh stop
Tomcat displays messages indicating that the server stopped.
Starting and stopping the dashboards
Use these instructions to start and stop the dashboards.
Starting the dashboards
Use the procedure appropriate for the operating system where the dashboards are installed to start them.
To start the dashboards on a Windows computer
- Select Control Panel > Administrative Tools > Services to open the Services window.
Right-click the
Dashboard Server service and select Start.
To start the dashboards on a Linux or UNIX computer
- Open a terminal on the computer.
- Change to the AO_Home/bin directory for the dashboard installation.
- Type sh AO_HOME/bin/server.sh start
Tomcat displays messages indicating that the server started.
Stopping the dashboards
Use the procedure appropriate for the operating system where the dashboards are installed to stop them.
To stop the dashboards on a Windows computer
- Select Settings > Control Panel > Administrative Tools > Services to open the Services window.
Right-click the
Dashboard Server service and select Stop.
To stop the dashboards on a Linux or UNIX computer
- Open a terminal on the computer.
- Change to the AO_Home/bin directory for the dashboard installation.
Type sh AO_HOME/bin/server.sh stop
Tomcat displays messages indicating that the server stopped.
Starting and stopping Remedy Single Sign-On
The way that you start and stop Remedy Single Sign-On depends on the type of Remedy SSO instance you are using.
Starting and stopping an embedded Remedy SSO instance
If you installed the embedded version of Remedy SSO with the
components, starting and stopping the server for the associated component (repository, CDP, or HA-CDP) also stops the embedded Remedy SSO. Use the instructions on this page to start and stop those components.
Starting and stopping an external Remedy SSO instance
To start Remedy Single Sign-On on a Windows computer
- Select Settings > Control Panel > Administrative Tools > Services to open the Services window.
- Right-click the <Remedy_SSO Tomcat> service and select Start (replace <Remedy_SSO Tomcat> with the name of the Remedy SSO Tomcat service).
To start Remedy Single Sign-On on a Linux or UNIX computer
- Open a terminal on the computer.
- Change to the RSSO_Home/bin directory for the Remedy Single Sign-On installation (RSSO_Home represents the Remedy SSO installation directory).
- Type RSSO_HOME/bin/startup-tomcat.sh
Tomcat displays messages indicating that Remedy Single Sign-On started.
Starting and stopping the Cassandra database
By default, when you install the CDP, the Cassandra database is installed. Cassandra database is required to view the jobs data on the Health Dashboard. Use the procedure appropriate for the operating system where the CDP is installed to start the Cassandra database.
To start the Cassandra database on Windows
Go to command prompt and run the following command:
powershell Set-ExecutionPolicy Unrestricted- Go to AO_HOME/cassandra/bin file.
(Windows) Run the cassandra.bat file.
(Linux) Run the cassandra file. Cassandra database is started.
If the job data is not displayed even after restarting the cassandra database, verify if the installation path as specified while installing the CDP contains any spaces. Run the following command to restart the cassandra database.<AO_HOME/cassandra/bin> cassandra.bat legacy
To stop the Cassandra database on Windows
Before stopping the Cassandra database, you must ensure that the process ID in the pid.txt file for Cassandra matches the process ID for the java process running from the CDP installation directory.
- On the server where the CDP is running, go to the Task Manager and locate the java process.
- Copy the java process ID and then go to <AO_HOME>\BAO\CDP\cassandra and open the pid.txt file.
- If the process ID in the pid.txt file does not match the java process ID, change the process ID to match the java process ID.
From the command prompt, run the following command to stop the Cassandra database:
<AO_HOME/cassandra/bin>stop-server.bat -p ..\pid.txt -f