The server components of DB2 OLAP Server and DB2 OLAP Integration Server can run as Windows services. Running these products as services lets you start and stop them from the Windows Control Panel. When running as automatic services, the Analytic and Integration Servers start in the background when you start Windows.
The Windows Task Manager does not enable you to terminate any process started as a service. If the servers are started as a service, and if it or the server freezes, you must shut down the server computer to stop the service.
To install the Analytic Server and Integration Server or both as services that start automatically when you start Windows, open a command prompt and type one or both of the following commands:
essbase.exe -service install
olapisvc -i
A message is displayed in the command prompt window that the service is installed. The Agent is now listed as essbase service in the Services dialog box. The Agent is now set to start automatically when you start Windows.
To run the Analytic Server and Integration Server as Windows services, the operating system needs to know where servers is located. Before running the servers as an automatic service, make sure that %ARBORPATH%\BIN has been added to the system-wide path variable.
To verify that the Analytic Server and Integration Server running as automatic Windows services after you reboot:
The servers are listed as IBM DB2 OLAP Server and IBM DB2 OLAP Integration Server in the Windows Services dialog box.
To stop the services, select IBM DB2 OLAP Server, right click, and select stop. Repeat the process with IBM DB2 OLAP Integration Server.
Stopping the services can take some time, depending on how many application servers are running. The time that it takes is the same amount it would take to stop the servers if they were running from the command line or as background processes.
To remove the services:
essbase.exe -service remove
olapisvc -u
A message is displayed in the command prompt window that the services are removed.
Removing a service only removes it from the list of Windows registered services. It does not uninstall DB2 OLAP Server or DB2 OLAP Integration Server.