Stopping, Starting, Restarting the AAI Reporting Server

At times, after AAI Reporting Server is installed and running, you, as an AAI administrator, need to stop the Reporting Server database and application servers for maintenance or when upgrading reports, the Reporting Server or AAI. To safely stop and start, or restart the Reporting Server processes, you need to stop, start or restart the services under which the Reporting Server and its database server run.

Note:

When you install the AAI Reporting Server, operating system services that control running the related database and application servers are created on the physical server that the Reporting Server is installed on.

This topic covers how you can best stop and start, or restart the AAI Reporting Server services safely so that no data is lost or corrupted and no processes are disrupted in an unrecoverable state during those actions.

For information about taking these actions on the main AAI application service, see Stopping, Starting, Restarting the AAI Server.

This page includes the following:

Linux - Starting, Stopping and Checking the Status of the Reporting Server

The systemd bi-server.service allows you to start and stop the Reporting Server, as well as check its status:

To start the Reporting Server:

sudo systemctl start bi-server

 

To verify that Reporting Server is running:

sudo systemctl status bi-server

 

To stop the Reporting Server:

sudo systemctl stop bi-server

Windows - Starting, Restarting, Stopping, Checking the Status of the Reporting Server

When the AAI Reporting Server is installed on Windows, its processes run under Windows services.

There are two ways to start, stop and restart the services: from the Desktop and from the Windows Services Manager.

Stopping, Starting, Restarting Services from the Desktop

You can start and stop the aai-bi-server service using the Start JRS Service and Stop JRS Service desktop icons, which are added during the Reporting Server installation. To do so, do the following:

  1. Open the Windows Desktop.

  2. To stop the Reporting Server services, click the Stop JRS Service shortcut on the desktop.

  3. To restart the AAI Reporting Server services after stopping them, click the Start JRS Service shortcut on the desktop.

Stopping, Starting, Restarting Services from the Windows Services Manager

When the Reporting Server server is installed on Windows, its processes run under two separate Windows services: Apache Tomcat 9.0 jasperreportsTomcat and jasperreportsPostgreSQL, which is installed for the internal Reporting Server database.

Follow these steps to start, stop, or restart the services from the Windows Services Manager.

  1. Open the Windows Services Manager using one of the following options:

    • In the Windows search box in the task bar, type services.msc and press ENTER.

    • Alternatively, use the Run window.

      To do so, right-click the Windows Start button on the task bar to open the WinX menu and select Run. In the Run box that opens, type services.msc and press ENTER.

  2. On the list of services, right-click the jasperreportsPostgreSQL service and then select Start, Stop, or Restart, as needed.

  3. On the list of services, select the Apache Tomcat 9.0 jasperreportsTomcat service and then select Start, Stop, or Restart, as needed.

See also: