The MD Link Server can be run three ways: as a Windows service, by invoking the server startup program from a shell, or from the Windows start menu. The first way is recommended when running MD Link under Windows. The second is the only way to run MD Link on Unix. The third way is not recommended for production use, but is still offered for convenience.
The server has no GUI, but it may emit console (i.e. text) output, depending on how it is invoked.
This is the recommended way to run the MD Link server for production use under Windows. (By 'service' we refer to the familiar list of system services that can be found via Control Panel > Administrative Tools > Services, or by running the program services.msc at the start menu or a command prompt.) This method of starting the MD Link server has the many conveniences general to all Windows services, namely: easy and central stopping and starting capability, and login account options. However, running MD Link Server as a Windows service requires additional installation steps.
Following are the installation steps required to run the MD Link Server as a Windows service. You will need Administrator access for this. The following instructions assume that you will be running the MD Link service under the same account that you normally log in as, but can be modified to use another account if desired.
Verify that the MD Link service is running by opening the MD Link Monitor from the start menu. If the default server node on the left (pointing to the localhost and the default MD Link port) appears as green, then the MD Link server-as-service is running.
The executable file for running the MD Link server directly is under MD Link's bin directory. It is named server.exe under Windows and simply server under Unix. One can run these from a shell / command prompt, or from another script.
These programs will print many log mesages to the standard output by default. This can be a performance hindrance in extreme cases. One can reduce these using the --stdoutlogfilterlevel command-line argument. For example:
server --stdoutlogfilterlevel=WARN
will reduce the number of log messages printed. Alternately,
server --stdoutlogfilterlevel=NO_ECHO_AT_ALL
will suppress log message echoing entirely.
(This option does not affect the writing of log messages to disk.)
This is a simple way to start the Server. A console window will appear, and log messages will appear in it. (This method runs the same program as method #2 - it is simply a shortcut.) Though convenient for testing, this method of starting the server is not recommended for production use for two reasons: