Current time: 11-25-2024, 11:40 AM Hello There, Guest! (LoginRegister)


Post Reply 
Changing a running IP
Author Message
ikaRus Offline
Junior Member
*

Posts: 12
Joined: May 2008
Reputation: 0
Post: #1
Changing a running IP
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.
08-06-2008 07:17 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: Changing a running IP
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.
08-06-2008 07:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ikaRus Offline
Junior Member
*

Posts: 12
Joined: May 2008
Reputation: 0
Post: #3
RE: Changing a running IP
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.
08-06-2008 07:40 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #4
RE: Changing a running IP
Is programed for v1.0.0. Hopefully RC6 will be last RC release so soon this should / must be possible.
08-06-2008 07:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ikaRus Offline
Junior Member
*

Posts: 12
Joined: May 2008
Reputation: 0
Post: #5
RE: Changing a running IP
Ok, Good news.

Is there a planned release date?

Regards,

D.
08-06-2008 08:10 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)