If you need to change the MOBOTIX HUB Management Server hostname after the MxHUb VMS installation, follow the steps in this guide.
Important! Create backups before making any changes to the system!
- A full backup of the original SQL database should be made.
- Before modifying the configuration XML files, you can create their backup copies as well.
Stop all services (run this command in an Administrator command prompt window):
wmic service where "name like 'Mobotix%'" call stopservice
Edit the following XML file (with a plain text editor, as Administrator):
C:\ProgramData\MOBOTIX\HUB Management Server\ServerConfig.xml
In the file, replace HOSTNAME
with your new computer hostname:
<AuthorizationServerUri>http://HOSTNAME/IDP</AuthorizationServerUri>;
New Hostname
Edit the following XML file (with a plain text editor, as Administrator):
C:\ProgramData\MOBOTIX\HUB Recording Server\RecorderConfig.xml
In the file, replace all the entries of HOSTNAME
with your new computer hostname.
<server>
<address>HOSTNAME</address>
<webapiport>9000</webapiport>
<authorizationserveraddress>http://HOSTNAME/IDP</authorizationserveraddress>;
<webapi>
<usewebapi>True</usewebapi>
<port>9001</port>
<publicUri>HOSTNAME:9001</publicUri>
New Hostname
Start the Management Server Service (run this command in an Administrator command prompt window):
net start "MOBOTIX HUB Management Server"
Change the ManagementServer Adresse
Right Click on the HUB Management Server Icon
→ Server Configurator…
Click on Registering Server: Enter your new Hostname within
Click 2 times Register
After a while the following Message should be displayed
Start MxHUB Management Server again
Right Click on the HUB Management Server Icon
**=>Start Management Server Service
Open the Management Client and go to Tools → Registered Services :
Open Network… and replace the server address (LAN) with your computer hostname:
( Note: Never use “Localhost” as a hostname.)
Update all the URLs of the services with the new computer name:
Start all the services again (run this command in an Administrator command prompt window):
wmic service where "name like 'Milestone%'" call startservice
The Management Server should be working normally now.
Note: If the other services like Recording Server, Eventserver and Mobile Server do not start, right-click on the respective icons and start the service manually.
Then all Services should be running again