Server

<< Click to Display Table of Contents >>

PackBench > 7.3 u1 > User Guide > Advanced Topics > Configuration Files 

Server

Server configuration is stored in XML format in the following location:

 

%PROGRAMDATA%\RayBench\RayBenchServer.config

 

Below is a sample content of the configuration file:

 

<?xml version="1.0"?>

<ServerConfig>

  <DatabaseConnection>

    <Type>MsSql2008</Type>

    <ServerAddress>PBPR05NB000079</ServerAddress>

    <DatabaseName>PackBench</DatabaseName>

    <InstanceName>SQLEXPRESS</InstanceName>

    <InMemory>false</InMemory>

    <FilePath>C:\db\db.db</FilePath>

    <IsTrusted>False</IsTrusted>

    <UserName>USERNAME</UserName>

    <UserPassword>USERPASSWORD</UserPassword>

  </DatabaseConnection>

  <PersistenceType>Database</PersistenceType>

  <RayFlowConnection />

  <Port>23624</Port>

</ServerConfig>

 

DatabaseConnection Element

This element defines how PackBench accesses the SQL database.

 

Type (REQUIRED)
Defines the type of database to be used. Currently supported values are: MsSql2008MySqlMySql2012SqlLite. It is recommended to leave the default value MsSql2008 for full compatibility with SQL Server 2008 and newer. Support for SQLite and MySql is experimental.
 

ServerAddress (REQUIRED)
Name or IP address of the database server.
 

InstanceName
The name of the instance. When empty or missing, a default instance is used.
 

DatabaseName (REQUIRED)
The name of the database.
 

IsTrusted
Determines whether Windows Authentication will be used. When set to False, empty or missing then SQL Authentication is used instead. SQL Authentication requires that the UserName and UserPassword elements are specified.
 

UserName
User name used to authenticate to SQL Server using SQL Authentication.
 

UserPassword
Password used to authenticate to SQL Server using SQL Authentication. This value may be written in open text, but when configured from PackBench UI it is always encrypted.
 

InMemory (SQLite only)
When set to True, then in-memory database mode will be used. When equal to False, empty or missing then a single ordinary disk file will be used.
 

FilePath (SQLite only)
File path of the database.

 

Port Element

A numeric value specifying the port on which the server is listening occurs. Standard value is 23624.

 

PersistenceType Element

This value is intended for a further use and should not be changed.

 

RayFlowConnection Element

This value is intended for a further use and should not be changed.