Yealink Forums
[FAQ] How to change the IP address of YDMP - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Yealink Device Management Platform (/forumdisplay.php?fid=61)
+--- Thread: [FAQ] How to change the IP address of YDMP (/showthread.php?tid=41888)



[FAQ] How to change the IP address of YDMP - Karl_Yealink - 06-14-2018 09:25 AM

When installing YDMP, user will fill a IP address of the YDMP. Then YDMP will generate a dm.cfg file which contain the YDMP IP address. If you change the IP of Centos OS, the YDMP IP address on dm.cfg won't change.
Example:
1. Centos OS IP address: 192.168.6.101, fill 192.168.6.101 as YDMP IP address when installing.
2. Change Centos OS IP address to 192.168.6.100. User still can access web UI of YDMP. The phones can't connect to YDMP, the IP address in dm.cfg file doesn't change, still 192.168.6.100. Phone still try connect to 192.168.6.100

There are two ways to change the IP address.
1. Uninstall then install, fill new IP address of YDMP.

2. Commands below to change IP address
Step 1: cd /usr/local/yealink/dm/tomcat_dm/webapps/ROOT/initData

Step 2: vi dm.cfg, change dm.server.address to new IP address then saved

Step 3: cd /usr/local/yealink/dm/tomcat_dm/webapps/ROOT/WEB-INF/classes/config/product

Step 4: replace the new IP address, via command below
sed -i 's/old IP address/new IP address/g' application.properties

Step 5: reboot the server


RE: [FAQ] How to change the IP address of YDMP - rsheng - 07-21-2021 02:26 AM

/usr/local/yealink/dm no exist in version 3.5.0.11

search return no result for dm.cfg from the root.


RE: [FAQ] How to change the IP address of YDMP - l.calderon - 01-18-2022 12:16 AM

Did you manage where is the path to modify dm.cfg file?

Regards.


RE: [FAQ] How to change the IP address of YDMP - lohel - 03-11-2023 08:33 PM

You should determine the current IP address before the changing new IP address.


RE: [FAQ] How to change the IP address of YDMP - thomas32 - 03-19-2023 06:31 PM

To change the IP address of YDMP on CentOS OS, there are two methods:

Method 1: Uninstall and reinstall YDMP, and fill in the new IP address during the installation process.

Method 2: Change the IP address in the dm.cfg and application.properties files using terminal commands. This involves navigating to the correct directories, opening the files in a text editor, and replacing the old IP address with the new one using the 'sed' command. Finally, reboot the server to apply the changes.


RE: [FAQ] How to change the IP address of YDMP - jorge.gustavo@petrobras.com.br - 11-12-2023 09:30 PM

(07-21-2021 02:26 AM)rsheng Wrote:  /usr/local/yealink/dm no exist in version 3.5.0.11

search return no result for dm.cfg from the root.

Pelo que pude perceber, o diretório pode ter sido alterado. Tente, por exemplo, acessar os arquivos:

cat /usr/local/yealink/microdm_premise/conf/application.yml

ou

cat /usr/local/yealink/data/install.conf