6.2 Use

The 2N® Lift8 Server application updates a lift database where all the lift check and alarm calls are recorded. The database also includes a list of authorised users, which, depending on their user roles, can connect to the server, change configuration settings and/or process incoming alarm calls via the 2N® Lift8 Control Panel and 2N® Lift8 Communicator.

The 2N® Lift8 Server integrates a SIP station which can be assigned up to 8 independent accounts and process up to 32 parallel calls. A proprietary protocol communicating on TCP/UDP port 7008 is used for the server – application communication. Port 7008 is set by default during installation and can be changed. The 2N® Lift8 Server also includes a storage manager, which helps you map a storage of any size for building plans and firmware for central unit upgrades. The application also keeps a database of and evaluates check calls. The lift that fails to meet the set limits will be marked in the database. Refer to Section 7, 2N® Lift8  Control Panel, for setting details.

Caution

  • Important! A default user with administrator login is created during the 2N® Lift8 Server installation to get connected to the server and configure the other users. The default user uses the following login data:
  • Name: Admin
  • Password: 2n

Caution

  • The default listening port of the server is 7008.

The terminal application l8-config.exe is used for server administration and launched in the command row that controls the 2N® Lift8 Server. Use this program to set all the server parameters, stop/start the server and export/import the server database. 

Caution

  • Database export/import can only be executed securely using this program.
  • Copying of database files 'config.db' between the servers is not recommended as data may get lost during this operation.

Tip

  • The application is launched in the command row. The common path to the program in all WINDOWS XP, Vista and 7 versions is as follows:
  • c:\Program Files\2N TELEKOMUNIKACE\2N Lift8\Server\l8-config.exe

If l8-config.exe is launched without any parameter, the program will write out all available information on the server as follows:

l8-config.exe

Database Export/Import

You can export the database under normal operational conditions. When the program is launched, a copy of the current database is made for the exporting purpose to avoid database overwriting and modifications during export. Start the l8-config program with the –cExportDatabase parameter with the following command to execute export:

C:\Program Files\2N TELEKOMUNIKACE\2N Lift8\Server\l8-config.exe -cExportDatabase

The program creates a new file, db–20120221095921–export.xml, for example. The number in the filename specifies the current export date and time in the YYYYMMDDhhmmss format.

Being saved into a user data folder, the database may be different in different systems.

Note

  • Typical location for WINDOWS XP: C:\Documents and Settings\All Users\Application data\2NTELEKOMUNIKACE\2N Lift8\Server\db–20120221095921–export.xml.
  • Typical location for WINDOWS Vista and 7: C:\ProgramData\2NTELEKOMUNIKACE2N Lift8\Server\db–20130221095921–export.xml.

Database import may only be executed when the server is stopped. If the server is running, the program identifies any importing attempt as an error. Enter the following command to stop the server:

C:\Program Files\2N   TELEKOMUNIKACE\ 2N Lift8\Server\l8-config.exe -cStopServer

Then enter the –cImportDatabase parameter and the file path to import the database:

C:\Program Files\2N TELEKOMUNIKACE\ 2N Lift8\Server\l8-config.exe -cImportDatabase "C:\ProgramData\2N TELEKOMUNIKACE\ 2N Lift8\Server\db-20130221095921-export.xml"

Now all the database tables start being exported sequentially. Every successful table import is confirmed. 

Caution

  • The path to the exported database file must always be given in inverted commas. If no path is found, the current database will be deleted and replaced with a new, empty one.

Note

  • If the database includes a high number of users and terminals, the table import will take a few minutes.

Restart the server after every successful database import using the following command:

C:\Program Files\2N  TELEKOMUNIKACE\ 2N Lift8\Server\l8-config.exe -cStartServer

Setting Options

The l8-config program provides numerous server settings; see the long list below. 

Tip

  • The parameters are set as program parameters: program name<space>program parameter.

General Commands

-l
  • writes out all the parameters.
--help or -h
  • displays Help.
--version or -V 
  • writes out the program version.
-d <data directory> 
  • sets the server data directory.

Parameter Get Commands

-gListenPort
  • writes out the server listening port.
-gLicensesNumber
  • gets the number of installed licences 
-gProductStatisticsEnable 
  • displays the server statistics sending option: 1 = enabled, 0 = disabled.

Parameter Set Commands

-sListenPort <listen_port>
  • sets the server listening port.
-sProductStatisticsEnable 
  • sets the server statistics sending: 1 = enabled, 0 = disabled.
-sLogLevel <log_level>
  • sets the server logging level (1–5).
-sMaxUser <max_user_tcp_conn>
  • sets the maximum count of users to be connected to the server at the same time. The maximum count is based on the licence.
-sMaxLift <max_lift_tcp_conn>
  • sets the maximum count of lifts to be connected to the server at the same time. The maximum count is based on the licence.
-sResetAdmin
  • resets the Admin password to default '2n'. 

Server Commands

-cStartServer
  • starts the l8 server.
-cStopServer
  • stops the l8 server.
-cRestartServer
  • restarts the l8 server.
-cExportDatabase
  • exports the database to an XML file.
-cImportDatabase <XML_file>
  • imports the database from an XML file. Make sure that the server has been stopped to avoid operation failure.