• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Move server to another datacenter (ip range change)

pegasx

Basic Pleskian
Hello,

We need to move our server to another datacenter. All ip adresses which are used by server will be changed. There are 2 articles about changing ip adresses.



In one article this command is recommended:

Code:
plesk bin ipmanage --remap /root/ip_map_file_name

In another article, this one:

Code:
./reconfigurator <ip_map_file_name>

Firs one fails on Centos 6:

Code:
[root@mail ~]# plesk bin ipmanage --remap /root/ip_map_file_name
Unknown command: --remap



exit status 1
[root@mail ~]#


Which one should I use for colocation change (change all ip range of server)? And except network interfeaces, will postfix, qmail, bind, opendns ip configurations be changed manually after plesk ip replace command?

Thanks.
 
Firs one fails on Centos 6:

Code:
[root@mail ~]# plesk bin ipmanage --remap /root/ip_map_file_name
Unknown command: --remap



exit status 1
[root@mail ~]#
Looks like you have an outdated Plesk version on an unsupported OS. In this case your instruction may be following:

  1. Generate a mapping file with current Plesk IP addresses by running the command:
    Code:
    # plesk bin reconfigurator /root/ip_map_file_name
  2. Open the file /root/ip_map_file_name for editing. To switch all subscriptions from the IP address 203.0.113.2 to 203.0.113.3 edit the file as below:
    Before:
    venet0 203.0.113.2 255.255.255.255 -> venet0 203.0.113.2 255.255.255.255
    After:
    venet0 203.0.113.2 255.255.255.255 -> venet0 203.0.113.3 255.255.255.255
  3. Reconfigure Plesk and its services by running the command again:
    Code:
    # plesk bin reconfigurator /root/ip_map_file_name
 
Looks like you have an outdated Plesk version on an unsupported OS. In this case your instruction may be following:

Thanks Igor. Will this reconfigurator change ip configurations on network interfaces, postfix, qmail, bind, opendns or do i have to change them manually?
 
All should be reconfigured automatically, but I'm not sure about mentioned opendns. Is it something custom for your Plesk?
 
but I'm not sure about mentioned opendns. Is it something custom for your Plesk?

Sorry, of course it is not opendns, it is openssl, I replied in hurry.

Btw this reconfigurator does not include gateway ip adresses, I need to change it manually on network interfaces, I guess.
 
Looks like you have an outdated Plesk version on an unsupported OS. In this case your instruction may be following:

  1. Generate a mapping file with current Plesk IP addresses by running the command:
    Code:
    # plesk bin reconfigurator /root/ip_map_file_name
  2. Open the file /root/ip_map_file_name for editing. To switch all subscriptions from the IP address 203.0.113.2 to 203.0.113.3 edit the file as below:
    Before:
    venet0 203.0.113.2 255.255.255.255 -> venet0 203.0.113.2 255.255.255.255
    After:
    venet0 203.0.113.2 255.255.255.255 -> venet0 203.0.113.3 255.255.255.255
  3. Reconfigure Plesk and its services by running the command again:
    Code:
    # plesk bin reconfigurator /root/ip_map_file_name
I want to make a test with just one ip address. Should I remove the other ip addresses which will not be changed in ip_map_file or just leaving them without touching and only changing the ip which will be tested. What should I do? Thanks.
 
Hello again,

@IgorG

Now my network-scripts has been changed, reconfigurator created new ones and i changed old ip addreeses to new ones. So ifcfg-eth0:2 and ifcfg-eth0:5 has same ip, will it be a problem?

DEVICE="eth0:2"
IPADDR="xxx.xxx.xxx.91"
NETMASK="255.255.255.248"

DEVICE="eth0:5"
IPADDR="xxx.xxx.xxx.91"
NETMASK="255.255.255.248"
 
Back
Top