CML - How to move a CML to the new server with different IP address
This document describes how to move one of the nodes in the CML cluster to the new location (with different IP address). The steps are very similar also for the single node installation (1CML only).
It is expected that YSoft SafeQ will be stored in the same path on the new server as on the original server - moving YSoft SafeQ to the new drive/directory would require additional changes, that are not described here.
Warning
If you are planning to transfer the first CML node of the cluster (master) or the standalone CML server, verify in advance that your license can be transferred to the new server. For more information see chapter Transferring license to new system - hardware or operating system change.
This article consists of:
Step 1 - server backup
This part describes how to backup server that shall be moved to the new location.
Perform these steps only on the server that shall be moved to new location
1 | Open the Services window (e.g. Start => Run => services.msc) and stop all YSoft SafeQ services (stop whole CML server):
|
2 | Using CML Backup tool perform following actions:
|
3 | Backup following folders and copy them to the new location (new server):
|
4 | Be sure that all required components for server installation are copied to the new server. Required components:
|
Step 2 - new server installation/configuration
This part describes how to install a CML server in the new location.
Make sure the node you want to move to the new location is stopped.
1 | Perform following steps only on the server in the new location 1a. Perform the installation Install YSoft SafeQ in the new location according to Basic server installation instructions. Installation requirements:
1b. Restore databases Restore databases on a newly installed server according to the CML - Database restore instructions.
1c. Exchange the IP address of the new node in the database
Example on the picture shows the 2nd node of cluster with IP 10.0.11.20 was changed to 10.0.11.46.
1d. Edit startup.conf file Open <SAFEQ_DIR>\conf\startup.conf and edit following attributes:
1e. Edit TerminalServer.exe.config file Open <SAFEQ_DIR>\terminalserver\TerminalServer.exe.config and set your new IP address in the parameter: networkAddress = %NEW_IP_ADDRESS%
1f. Restore data from original server
|
2 | Perform these steps on all the CML nodes in cluster
2a. 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.
2b. Edit table cluster_server
2c. 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.46.
2d. Verify the new IP address in table smartq_servers
2e. Repeat above mentioned action on all nodes of YSoft SafeQ CML cluster (Except the one which has been moved)!
|
3 | Perform this step on all YSoft SafeQ CML nodes in cluster (except the one which has been moved): Open the Services window (e.g. Start => Run => services.msc) and restart all YSoft SafeQ services:
|
4 | Perform these steps on server which has been moved:
4b. Start the services 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:
|
6 | Optional step Now you can delete server with original IP address.WARNING: Do not start YSoft SafeQ services on "original" server |
Step 3 - configuring ORS to connect to the new IP address of CML
This section describes how you shall 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 | Open the Services window (e.g. Start => Run => services.msc) and stop all ORS services:
|
2 | Edit file <SAFEQ_ORS_DIR>\conf\modules\ors.conf and set your new IP address of the CML server in parameter:
|
3 | Delete ORS cache Delete folder <SAFEQORS_DIR>\server\cache |
4 | Open the Services window (e.g. Start => Run => services.msc) and start all YSoft SafeQ ORS 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:
|
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: 4a. database yBoxDB
4b. database yBoxDBCDC
4d. database yBoxDBREP
|

