Skip to main content

Server Monitor

B2Win Suite Server Monitor runs on the B2Win Suite server computer. Use it to check the server status, switch the server off or on, and manage the server's Windows service settings.

Set up by NAZDAQ Customer Support

NAZDAQ Customer Support installs and configures the Server Monitor. Change its settings only when support asks you to.

Open the Server Monitor​

The Server Monitor runs in the system tray. Double-click its icon, or right-click it and choose Open. Closing the window keeps the monitor in the tray. Exit closes the monitor but does not stop the server.

If the monitor is not running, start B2WinMonitor.exe from the bin folder of the home directory, for example C:\B2Win\bin\B2WinMonitor.exe.

Main window​


Figure 1 - B2Win Suite Server Monitor

FieldDescription
Service InstalledYes or No. When No, click the install icon to install the service.
Service NameThe Windows service name. Default: B2WinServer.
DatabaseThe internal database. Click it to open Database settings.
Web Linkhttp://localhost:<HTTP Port>. Click it to open B2Win Suite.
SSL LinkThe HTTPS address, or Disabled.
Home DirectoryClick it to open the home folder.
Log FileLog Viewer opens the server logs. See Server Logs.

The status is Running, Starting, Stopping, Stopped, Restoring or Not Installed. Use Switch server off and Switch server on to stop and start the server. While the server is starting, the button changes to Cancel starting Server.

Settings​

Click Settings in the main window.


Figure 2 - Server Monitor Settings

While the server is on, only Backup/Restore is available. To change anything else, switch the server off, make the change and click Save.

SettingDescription
Service NameSet during installation.
Service Start TypeAutomatic (default) starts the server with Windows. Manual starts it only when you switch it on.
Extra Run ParamsExtra start-up parameters for the server, one per line, each starting with -. Leave empty unless support asks.
Java Path "jvm.dll"The Java runtime the server uses, normally <Home Directory>\jre\bin\server\jvm.dll.
HTTP PortDefault: 5700.
SSL SettingsShows the HTTPS Port (default 5701). The button opens the SSL settings.
Initial Heap Size / Maximum Heap SizeServer memory in MB. Minimum 256 / 512, default 1024 / 8192.
Run Server monitor on startupStarts the monitor when you sign in to Windows. On by default.
Allow Self signed SSL CertificateStarts the server with the Java settings that a self-signed certificate needs. Also allows TLS 1.0 connections.
Turn on remote debuggingFor NAZDAQ support only. Opens debugging port 6555 on the server.
Open ServiceOpens the service manager for the B2Win Suite Windows service.
Backup/RestoreSee Backup and restore.
UninstallRemoves the Windows service. Files and data are kept.
DatabaseOpens Database settings.

If you changed Service Start Type, click Yes when asked whether to apply the change now.

SSL settings​

  1. Switch the server off, open Settings and click SSL Settings.
  2. Select Enable SSL and set the HTTPS Port.
  3. In Key path, select the certificate (.jks or .pfx) and enter its Password.
  4. Click Done, then Save.

Database settings​

The connection to the internal MySQL database: Database Type, Driver, Host, Port, Schema, Username and Password. Use Test Connection to check it, Create Schema to create a missing schema, and Download MySQL Server to open the MySQL download page. The settings are saved to conf\database.conf.

Backup and restore​

Click Backup/Restore in Settings. To back up the files by hand instead, see Backup System Files.

Back up (the server must be on): on the Backup tab, enter an existing folder in Backup Path on Server and click Run Backup. The server saves a .zip archive in that folder.

To back up on a schedule, create a Windows Task Scheduler task that runs, for example:

C:\B2Win\bin\B2WinMonitor.exe -backup D:\Backups

Restore (the server must be off):

  1. On the Restore tab, click Browse, select the backup .zip file and click Set restore.
  2. Switch the server on and click Yes to confirm. The current data is replaced and cannot be recovered.

Click No to cancel the restore and start the server normally. Clear Path cancels a restore before the server starts.

Messages​

MessageWhat to do
No license has been added.The server cannot start. Place the license file at <Home Directory>\licensefile\license.key.
...You need to accept the run as administrator dialog!Try again and click Yes in the Windows prompt.
The B2Win Suite Server is running under a local/system account...Click OK to start anyway (you are not asked again), or ask support to run the service under an administrator account.
Can't update port while server is running, stop it first!Switch the server off first.
Failed to connect to the server ... with SSLIf the certificate is self-signed, select Allow Self signed SSL Certificate.