During the lifetime of a Plesk server, you may need to change the IP addresses employed by Plesk. Two typical cases when IP addresses may need to be changed are the following:
Every time the change happens, you should reconfigure all related system services. To help you do this promptly, we offer the reconfigurator
command line utility located in the following directory:
/usr/local/psa/bin.
/opt/psa/bin.
The reconfigurator
replaces IP addresses and modifies Plesk and services configuration to make the system work properly after the replacement. To do this, the utility requires a mapping file, that includes instructions on what changes to make. Each line of the file should describe a single change. For example, the following line instructs Plesk to change the IP address 192.168.50.60 to 192.168.50.61:
eth0:192.168.50.60 255.255.255.0 -> eth0:192.168.50.61 255.255.255.0
The utility also helps you with creation of the mapping file. If you call the utility with a new file name as an option, it will create the file and write all available IP addresses to it. The IP addresses in the file are mapped to themselves. If you want to perform a change, modify the change instruction for a certain IP address.
When editing the mapping file, consider the following:
To change IP addresses used by Plesk:
./reconfigurator <ip_map_file_name>
./reconfigurator <ip_map_file_name>