CML - How to change the IP address of CML node
This document describes how to change the IP address of one node in the CML cluster. The steps are very similar also for the single node installation (1CML only).
This article consists of:
Verification of the IP address
This section describes the way how to find the IP address of current server.
1 | Log in to server where the IP address has changed.
|
2 | Enter ipconfig command in the command prompt and press Enter.
|
Configuring CML in the YSoft SafeQ cluster to use the new IP address
This chapter describes how to change the IP address of one CML node that is part of the cluster.
The procedure for configuration of new IP address at the CML which is not part of the cluster is the same. The only difference is that the step 5 can be skipped.
1 | Perform this step on all the CML nodes in cluster: Open the Services window (e.g. Start => Run => services.msc) and stop all YSoft SafeQ services (stop whole CML cluster!):
|
2 | Perform following step on the node where the IP address has changed: 2a. Change the IP address Set the new IP address in the operating system 2b. Replace the IP address in startup.conf Edit <SAFEQ_DIR>\conf\startup.conf and set your new IP address in the parameter:
2c. Replace the IP address in TerminalServer.exe.config Edit <SAFEQ_DIR>\terminalserver\TerminalServer.exe.config and set your new IP address in the parameter:
2d. Replace the IP address in server.xml Edit <SAFEQ_DIR>\tomcat\conf\server.xml and set your new IP address in the parameter:
|
3 | Perform these steps on all the CML nodes in cluster:
3a. Connect to the SQDB5 database The connection shall be made using the management application equal to the type of SQL server that was selected during the installation of YSoft SafeQ (pgAdmin III for PostgreSQL or MS SQL server management studio for MS SQL server). We are describing mainly the procedure for pgAdmin III application, steps for MS SQL server management studio are very similar.
3b. Edit table cluster_server
3c. Edit ip_address field and enter a new IP address for the server where the address has changed In our example the IP address of 2nd node was changed from 10.0.11.20 to 10.0.11.80.
3d. Verify the new IP address in table smartq_servers
3e. Repeat above mentioned action on all nodes of YSoft SafeQ CML cluster (Except the one with the new IP address)!
|
4 | Perform this step on all the CML nodes in cluster: Open the Services window (e.g. Start => Run => services.msc) and start all YSoft SafeQ services:
|
5 | Verify that synchronization in the cluster is functional:
|
Configuring ORS to connect to the new IP address of CML
This section describes how you should reconfigure the ORS server for the connection to the new IP address of the CML server.
This procedure must be followed every time the IP address of the CML is changed. The procedure must be performed on every ORS server.
1 | Be sure that orsCacheRecovery attribute is enabled. Open YSoft SafeQ Web Interface => System => System settings => In the Expert View set orsCacheRecovery to enabled
|
2 | Open the Services window (e.g. Start => Run => services.msc) and stop all ORS services:
|
3 | Edit file <SAFEQ_ORS_DIR>\conf\modules\ors.conf and set your new IP address of the CML server in parameter:
|
4 | Delete ORS cache Delete folder <SAFEQORS_DIR>\server\cache |
5 | Open the Services window (e.g. Start => Run => services.msc) and start all ORS services:
|
Configuring YSoft Payment System to use / to connect to new IP address of CML
This section describes how you should reconfigure YSoft Payment System.
This procedure must be followed every time the IP address of the CML is changed.
1 | If YSoft Payment System is on the same server as CML:
|
2 | Edit configuration of the YSoft Payment System in <YSoft Payment System>\payment-conf\environment-configuration.properties and set your new IP address of CML in the parameter:
|
3 | Restart the Ysoft Payment System Services. |
Configuring Mobile Print Server to connect to new IP address of CML
This section describes how you should reconfigure Mobile Print Server.
This procedure must be followed every time the IP address of the CML is changed.
1 | Edit configuration in <YSoft Mobile Print Server>\Service\conf\mps.config and set your new IP address of CML |
2 | Change the following parameter in both sections <printServers> and <folderSources>:
|
3 | Restart the Ysoft Payment System Services. |
Other required reconfiguration
This section describes what additional steps must be performed for a proper functionality of the YSoft SafeQ once the IP address of one CML node has been changed.
1 | Reconfigure all print drivers (or YSoft SafeQ clients) to connect to the new IP address All print drivers that were connected to the CML with old IP address must be re-connected to the new IP address.
|
2 | Reconfigure HW terminals: If you are using hardware terminals, make sure that they are pointing to the new IP address.
|
3 | Reinstall all embedded Terminals: Reinstall all embedded terminals that shall be connecting to the server with the new IP address.
|
4 | Reconfigure CRS server (IP address of CML has to be changed): If you are using a CRS server, the new IP address of the CML server has to be updated also on the CRS side. The modification has to be done in the following places:
|


