A report server — is an additional server that combines restaurants into a single network. For one to three restaurants, it's possible to operate without report servers. In this case, data is processed by the reference server.
The report server is identical to the reference server in terms of functions and properties, with one exception — nothing can be edited on the report server.
Reports can be viewed in the manager station. To generate them, you need to license the reference server and configure a connection to an external database in MS SQL Server 2012. Thus, the reference server can function as a report generation server or a report server. When the number of restaurants in the database increases to several dozen, the load on the reference server also grows. Therefore, r_keeper 7 provides the capability to create intermediate servers, which are implemented through the report server — rkReportServer.exe.
The report server's executable file is rkReportServer.exe, and the default configuration file name is repserv.ini.
Note: The server and configuration file names can be arbitrary. By default, the server will look for the configuration file REPSERV.ini unless another INI file is specified. For details on using other configuration files, see below.
The use of the report server depends on the license:
The relationship between servers is shown below:
To configure the report server, you must first create it in the manager station and then edit the configuration file.
To create a report server:
Done, the report server is created. Next, it needs to be licensed.
Important
The license is tied to the full object code and the key code.
The process of licensing a report server is identical to the process of licensing a reference server, described in the article about the Reference Server.
The steps are as follows:
To launch the report server:
Add the following parameters to repserv.ini in the [Config] section:
Client = "REPSRV3001" the report server's network ID RefServer = "RK7SRV3001" the network ID of the upper-level server (this can be either a reference server or a report server).
If the report server needs to access external databases, perform the following steps:
The first launch should always be performed as an application with the /desktop parameter. Also, ensure the launch is performed as an administrator.
By default, the server's configuration file is repserv.ini. If you need to launch the Report Server with a different INI file, use the following command: rkReportServer.exe /ininame: newname.ini /desktop.
The report server, like the reference server, can also be launched as a service. For this, use the /install parameter.
After launching the server as an application rkReportsServer.exe/desktop, an icon will appear in the notification area on the desktop.
Copy the repserv.ini file from the RK7/BIN/WIN/ini folder if you haven't already done so, and place it in the same folder where RKREPORTSSERVER.EXE is located — RK7/BIN/WIN/.
You can check the correctness of the report server configuration by recalculating cubes. The cubes are located in the Settings > OLAP Reports > Cubes and Reports directory. Cubes are calculated automatically or manually.
Starting from version 7.06.04.041, if the server has more than 2 GB of RAM, you can use the new utility for building cubes — bldcubex.exe. To do this, add the following setting to repserv.ini:
[CONFIG] cubesBuildTool = "bldcubex.exe"
And restart the report server. After this, a new manager station file, rk7manex.exe, will appear. Use it to build cube reports.
It is advisable to create a new role with permissions only for cubes and reports, while hiding all other elements in the manager station. Then create a shortcut for such a manager station with a name like "Reports."
Starting from version 7.4.20.60 and above, you can automatically recalculate all cubes that would be recalculated when performing the Recalculate All Cubes action in the manager station at a specified time by adding the following command to the INI file:
RecalcAllCubesAt = "2015" (The time is written without a colon "HHMM")
Its value can easily be checked via the web interface.
When you right-click the report server icon, the server properties will open in a browser. The default HTTP port can be assigned in the manager station by specifying a new port in the report server properties: HTTP Server > HTTP Data Port.
After launching the report server, check its connection to the upper server.
Updating the report server is similar to updating the reference server. After updating, be sure to restart the report server; otherwise, the changes will not take effect.