You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

The main server of r_keeper 7 system, or a root server, is the References server. It is launched first at system setup.

The References server executable file is REFSRV.EXE, the default config file name is RK7SRV.INI.

When RK7 is being installed from the distribution kit (the archive is at ftp in ftp.ucs.ru/versions folder), the RK7SRV.INI file needs to be copied from the \bin\win\ini\ folder into the \bin\win\ wording folder containing REFSRV.EXE.

If the software is being installed via the installer, the server with config file is located in [installation path\instance name\Rk7Reference] folder.


Note

The server name, the settings file name, and the database name can be arbitrary, but you shall remember that the server will be searching for RK7SRV.ini settings file by default. The information on the use of other configuration files is available below, in the «Launch» section.


Licensing

If you need to view the reports, the References server should be licensed. License is associated with a full object code, a key code, and hardware components of the machine where the server is installed.


Important!

Until the References server is not licensed, the manager station connections to the server are limited to 1, and reports cannot be viewed.
If the server is licensed, number of connections is limited to the number of licenses, and reports can be viewed.


To license the References server:

  1. Specify the corporation code in the parameters.
    1. Specify the Corporation code from the license system to the Enterprise code parameter. To do that, go to Options > Parameters > Installation and enter the number in the Integer field.

    2. The Object code from the license system should be specified in the restaurant properties.
      To do that, go to Service > Stations and Devices and select the required restaurant.
    3. Enter your object code in the Code field.
    4. Confirm and save the changes.
  2. Enter Settings > OLAP reports > Reporting servers.
  3. Select the References server, expand the «License information» properties group.
  4. Select the protection key. The key can be either virtual or physical. The Guardant driver is necessary for licensing with the physical keys.
    Starting from versions 7.06.05.399, a virtual protection key is used by default.!
  1. Generate license request (right-click on the server - Actions - Generate license request);
  2. Generate the requested license on ucs.rusite; The objects shall have master license with RKeeper 7 Reporting server SW type.
  3. Enter it into License key field;
  4. Save changes.

References server licensing with virtual key

Fill the Servers restaurant field (mandatory). This must be a restaurant other than Head office.

Find more details on this type of licensing in Licensing system description article.

If your r_keeper version is below 7.06.05.399, specify the following parameter in rk7srv.ini prior to virtual key generation:

[REFSERVER]

UseNetChecking=1

And restart References server.

Launch

Before the server is launched, perform the following:

  1. Modify RK7SRV.ini file: in [Refserver] section, specify server name (Server) and add UseSql parameter if not any:

Server = RK7SRV_3001 ; References server network ID

UseSql = 0 ; since there is no connection to external DB yet

See more detail on other rk7srv.ini file parameters below.

  1. Run the server.

This application can be launched either as a separate service, or as an application.

Important: the first launch shall always be performed as an application (with /desktop parameter). Also, make sure to perform the launch as administrator.

Note: default application config file is rk7srv.ini. If References server needs to be launched with other ini file, use command: "refsrv.exe /ininame: newname.ini /desktop".

After server is launched as an application, icon will appear in Wndows task bar.

Depending on the task performed, the server icon can have three colors:

  • green - normal server operation;
  • yellow - data processing (loading, editing, cubes re-calculation, etc.), server is loaded;
  • red - server is stopped.

Double click on the icon will open the Server information window.

To install server as a service, just double click Refsrv.exe file, and follow dialog instructions, or launch the server with /install parameter. After the service is installed, it needs to be launched.

Note that r_keeper_7 services should be launched from account with administrator rights.

Setup of connection to external DB

To have possibility to view cube reports in manager station, setup of connection to external SQL DB is necessary, as described in Setup of connection to MS SQL article

To configure interactive reports, see Setup of interactive reports plugin article.

Reports are generated from data collected from POS server only after common shift is closed at cash register station.

Note

The refsrv service often starts before MS SQL server, therefore, refsrv stops operation at startup phase with access to SQL DB error. This is solved by configuring the service dependencies. See more detail here: http://support.microsoft.com/kb/193888/ru.

References server settings description

Parameter

Default value

Description

[REFSERVER]


General section

Server

TEST_RK7SRV

References server network name

UDBFILE

..\..\base\rk7.udb

Path to References server database file. rk7.udb is a default name, it can be changed to any other name

ERRORLOG

refsrv.stk

Error log file name

MainLang

.\RefSrv.Rus

full path to primary language data translation file

AltLang

()

full path to alternative language data translation file

WorkModules

..\..\base\workmods

Path to working cash register module bases

WORKUDB

""

full path to billing data file.

BLDCUBELOG

0

If the value is not 0, BLDCUBE.TXT cube construction log is maintained

ShortTimeout

20000

Max time of network operation execution over one element, ms

LongTimeout

100000

Max time of network operation execution over collection, ms

NoTempMemStream

0

If 1 is set — intermediate data storage in memory is not used when cubes are being constructed. 1 is slower but can be useful in case of very big data. Obsolete parameter. It is now recommended to use "Source type" cube property.

UpgradeAnyTime

0

If 1 is set, base version is not checked, and upgrade attempt is always made when upgrade.udb file is detected

UpgradeTranslateRussian

0

If 1 is set, values configured in primary language are translated from Russian rather than from English when new base is being created. Upon new base creation, languages cannot be changed anymore.

UpgradeAltTranslateRussian

1

If 1 is set, preset values in alternative language are translated from Russian rather than from English when new base is being created

CubesRecalc

0

Disable cubes re-calculation, 1- enable cubes re-calculation, 2 - manual only cubes re-calculation for versions 7.6.1.2 or higher .

NoReports

0

Disable reports menu at manager station – for versions 7.6.1.2 or higher

UnknownIdFormat(“Id=%d”)


Output format for info on element that was not found (in reports/cubes). Element ID will substitute %d.

UseSQL

1

Connection ot SQLserver. 0-off, 1-on.

MaxCubeCalcs

2

Max number of cubes calculated in parallel. Makes sense to increase for SQL if the server is multi-processor.

DisableSMARTVerify

1

Do not send SMART requests to IDE devices or emulators thereof when license is being generated. Only for versions 7.4.17.31 or higher. This parameter is used for POS server license generation in multi-processor systems with References server installed.

EventCachePath

C:\path\

Specify path if you want the References server to store the latest changes in RefEvents.dat file. This will allow to send the whole collection rather than a limited list of changes. The parameter will only work if PollEvents is turned on at POS server or Reporting server

[REFEDIT]


For direct reports, ConnectionString parameters can be moved to INI file

Server

"IMxREPS1x0"

Server name

Client

"IMxMNGRx%RANDOM%"


SQLServerLink

"Provider

MS SQL connection string

[NETKERN]


Network protocol section Possible options nbhdup.dll,spxsoc.dll

Protocols

tcpsoc.DLL

Full path to tcpsoc.DLL file

[TCPSOC]


TCP/IP section

PORT

3639

server port for incoming connections

[CubeDLL]


CubeDLL.dll settings section. This section is supported starting from version 7.0.21.2

CommandTimeout

30

Time in seconds to execute SQL query for cube

[Config]


If References server also functions as Reporting server, add this section to rk7srv.ini

UseShift2SQL

1

See more details on this parameter in the article on shifts upload via Shifts2sql

LoadThreadsCount

"4"

Upload data on closed shifts to cumulative DB in parallel, "4" is the number of files processed in parallel (recommended no case of big number of shift files incoming simultaneously). Version shall not be below 7.5.2.328

ErrorLogSize

1048576

Error log file size, bytes

To translate reference data:

  1. In [REFSERVER] section, enter primary and alternative language file name.

[REFSERVER]

MainLang=.\RefSrv.DEU ; primary language

AltLang=.\ RefSrv.PLK ; alternative language

To translate primary language:

UpgradeTranslateRussian=0 ; 0 - translation from English, 1-translation from Russian

To translate alternative language:

UpgradeAltTranslateRussian=0 ; 0 - translation from English, 1-translation from Russian

UPGRADE.DEU2. With Langer.exe program (can be downloaded from our FTP), translate the files from /base folder

UPGRADEDEV.DEU
These files are created automatically after you perform paragraph 1 and update the progam.

Attention! To restore default settings for different drivers:

Go to base\drvlocalize and run Defparam.exe by selecting defparams.rus from the list (for versions below 7.5.2.269, see readme.txt in the same folder).

Default driver settings will be specified. This is particularly important for universal FR drivers.

 Partial update  Setup of connection to MS SQL

 

  • No labels