Search

Search for:
Language:  

No categories for selected product

How do I replace IP addresses in Plesk Panel?

Article ID: 943 
Last Review: Apr, 16 2012
Views:
APPLIES TO:
  • Parallels Plesk Panel 10.x for Linux
  • Parallels Plesk Panel 9.x for Linux/Unix
  • Parallels Plesk Panel 8.x for Linux/Unix
  • Plesk 7.5.x Reloaded

Resolution

The utility ${PRODUCT_ROOT_D}/reconfigurator.pl is developed to replace IP addresses assigned to objects (domains/clients/resellers) in the Plesk Panel database and to reconfigure objects settings with the new IPs:

# /usr/local/psa/bin/reconfigurator.pl
 Plesk reconfigurator - utility to change IP addresses used by
 Plesk Server Administrator

 usage:
        /usr/local/psa/bin/reconfigurator.pl <map_file>

 If <map_file> doesn't exists, a template will be created. Otherwise,
 it will be used to map IP addresses.


Follow these steps to perform the IP addresses replacement:

1. Make sure the new IP addresses are not registered in Plesk Panel on the Server > IP Addresses page. Otherwise, remove them from Plesk Panel before proceeding further.

2. Run the utility to create the mapping template file:
# /usr/local/psa/bin/reconfigurator.pl ipaddresses.map

Then, edit this file and set the appropriate IP mapping. Map file matches in the full list of the currently configured IP addresses with the new ones in the following format:
#cat ipaddresses.map
eth0:192.168.50.60 255.255.255.0 -> eth0:192.168.50.60 255.255.255.0
eth0:192.168.50.70 255.255.255.0 -> eth0:192.168.50.70 255.255.255.0

Edit the file and replace an IP address in the right part of a string with one from the new set:
eth0:192.168.50.60 255.255.255.0 -> eth0:new_ip_address 255.255.255.0

3. Once the appropriate arrangement is given in the mapping file, run reconfigurator.pl again:
# /usr/local/psa/bin/reconfigurator.pl ipaddresses.map

It will read the mapping file and perform the replacement according to its content.

Additional information

Had you any complications please refer to kb article "Changing IP address fails with error: no such network interface"





Email subscription for changes to this article Email subscription for changes to this article

Please provide feedback on this article

* Did this article help you solve your issue?
Yes
No
What can we do to improve this article?

PLEASE NOTE: Knowledge Base feedback is reviewed occasionally and we do not reply to most of the individual comments. Please contact us using one of the Support channels for a response to any support inquiries. We appreciate your feedback.

Subscribe me for article updates. My email
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
For Developers
For Health Care
 
Desktop Virtualization
- Parallels Desktop 7 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Workstation
- Parallels Workstation Extreme
- Parallels Desktop for Mac Enterprise Edition
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac 4.0 Mac mini Edition
- Parallels Server for Mac Bare Metal Edition
- Parallels Server Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Parallels Partner Storefront
More Products