Changing the server IP address on agents

For all agents

The server IP address can be changed in the server settings: Control Panel → Server Settings → Server IP address for redirection (“none” to disable).

Illustration 1 — Changing the server IP address on agents

The port is indicated after the colon, for example, 10.10.11.22:3333:

Illustration 2 — Changing the server IP address on agents

After saving the settings, the agents will be restarted and directed to the new server.

Windows

The server’s IP address or its domain name is stored in the Windows registry in the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TimeSvc3\ServiceConfiguration branch in the Url parameter. You can change the server IP address in the Url parameter:

  • manually,

  • using the command:

    REG ADD HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TimeSvc3\ServiceConfiguration /v Url /t REG_EXPAND_SZ /d <ip-address> /f
    

where <ip-address> is the IP address of the new server.

After changing the setting, restart your computer or restart the agent service:

C:\Windows\SysWOW64\TimeControlSvc\vmnetdrv64.exe restart

If necessary, add the backup server address using the script:

set var=<ip-address:443>
set var2=<ip-address:порт>
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TimeSvc3\ServiceConfiguration /v Url /t REG_EXPAND_SZ /d %var% /f
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TimeSvc3\ServiceConfiguration /v Url2 /t REG_EXPAND_SZ /d %var2% /f
C:\Windows\SysWOW64\TimeControlSvc\vmnetdrv64.exe restart

Note

The script must be run as administrator.

Linux

Changing the server IP address for the Linux agent:

sudo /usr/share/ibatyr/agent <ip-адрес> <порт> restart

Where

<ip-address> — IP address of the new server. <порт> — server port. The parameter can be skipped if you did not change the port using the Changing the standard port 443 instruction.