4Start and stop mdm server / mdm client
If mdm has been installed automatically via the mdm Installer for Windows or Ubuntu‘s package managing tools, the mdm server will be initialized automatically on system start.
The mdm client can be started using shortcuts and icons created during installation.
|
Ubuntu 18.04 LTS |
Microsoft Windows |
---|---|---|
Start |
|
The command line must be started as Local Administrator. |
mdm server |
sudo systemctl start mdm-server |
net start MDMServer |
mdm ca server |
sudo systemctl start mdm-ca |
net start MDMCAServer |
Stop |
|
The command line must be started as Local Administrator. |
mdm server |
sudo systemctl stop mdm-server |
net stop MDMServer |
mdm ca server |
sudo systemctl stop mdm-ca |
net stop MDMCAServer |
If mdm has been installed manually, proceed as follows:
To configure the mdm server, a preferences file is required. A standard preferences file (preferences.xml) is contained in the mdm-server-1.11.x.zip file. Please unpack the ZIP file to get access to the preferences.xml file. |
In general the server is started with the following command (in a single line):
java -Xmx1024m -jar mdm-server-1.11.x.jar start preferences.xml
If mdm has been installed via Ubuntu‘s package managing tools, the name of the jar file is: mdm-server.jar. |
You have to add the full path for mdm-server-1.11.x.jar (or mdm-server.jar) and preferences.xml. |
Memory allocation
You should also specify the size of the memory allocation pool using the -Xmx and -Xms options.
Initial size of the memory allocation pool
Use the option -Xms to specify the initial size, in bytes, of the memory allocation pool. This value must be a multiple of 1024. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 2 MB. Examples:
–Xms33554432
–Xms32768k
–Xms32m
Maximum size of the memory allocation pool
Use the option -Xmx to specify the maximum size, in bytes, of the memory allocation pool. This value must be a multiple of 1024. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 64 MB. Examples:
–Xmx268435456
–Xmx262144k
–Xmx256m
For the client a value of 512 MB (-Xmx512m) is recommended, especially if mdm is used to configure VPN connections. |
The server should generally have as much memory as possible, so that it can make efficient use of its caching mechanisms, but not so much that the machine starts swapping. Recommended is a value between 50% and 75% of the physical RAM size, depending on which other applications are running on the same machine. |
mdm client
You can start the client either on the command line:
full_path\java -Xmx384m -jar mdm-client-1.11.x.jar
or with a double-click on mdm-client-1.11.x.jar in the Explorer-Window.
If mdm has been installed via Ubuntu‘s package managing tools, the names of the jar files are: mdm-server.jar and mdm-client.jar. |
mdm server
The server can be started manually with the command (in a single line):
java -Xmx1024m -jar full_path/mdm-server-1.11.x.jar start full_path/preferences.xml
mdm client
You can start the client by entering the command:
java -Xmx384m -jar mdm-client-1.11.x.jar