Changing a running IP - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Changing a running IP (/thread-3941.html) |
Changing a running IP - ikaRus - 08-06-2008 07:17 AM Hi, I have a test system ready to be deployed. One thing bugs me. I am trying to change one of the machines IPs, in preparation to what I'll have to do when I deploy this machine. The IP belongs to a reseller, and holds a single test domain. I have created another test IP on the machine (same domain name) and tried to remove the old IP. I got an error msg stating that I can not remove this IP because it has a domain it belongs to. Now this machine has ~30 secondary IPs that will need to be changed once the machine goes into the real world. Not to mention the fact that IPs (even static) are quite dynamic :-) I've seen this more then once where my ISP gave me 1 a month to change IPs. Please advice. D. RE: Changing a running IP - sci2tech - 08-06-2008 07:31 AM You have to modify manually: find and replace all the instances of your old ip with your new ip in following files (debian case): 1. /etc/apache2/sites-available/ispcp.conf 2. /etc/ispcp/apache/working/ispcp.conf 3. /etc/ispcp/ispcp.conf all files from 4. /etc/ispcp/bind/working and 5. /var/cache/bind. 6. Then modify in mysql database ispcp table server_ips old ip in new ip. 7. Restart apache and bind. In theory bind data can be recreated by regenerating configuration file (after passing step 1,2,3 6) but i did not test this. RE: Changing a running IP - ikaRus - 08-06-2008 07:40 AM I am indeed on Debian, etch/lenny combo. This procedure is Ok for root access but it will not do for a reseller. Consider adding a new IP, then telling a reseller to modify his 30 domains... This is the way it should be done. Any chance of this entering the GUI soon? This box is about to replace an old BlueQuartz machine, where IP modification takes 10 seconds. Regards, D. RE: Changing a running IP - sci2tech - 08-06-2008 07:48 AM Is programed for v1.0.0. Hopefully RC6 will be last RC release so soon this should / must be possible. RE: Changing a running IP - ikaRus - 08-06-2008 08:10 AM Ok, Good news. Is there a planned release date? Regards, D. |