Please login or register to participate.
gioppoluca Jul 20, 2010 12:29 PM
Changing the IP address of a community edition appliance
I have to take an installation of a community edition that is placed on a subnet and have to change the IP address since we are migrating the lab to a new location and this will change the network.
Is ther some script to use to make aware of the network change (also hostname will change)?
Replies (3)
dhiraj Jul 20, 2010 12:43 PM
There's mostly nothing you need to do on, to make the change happen. Most of your changes will be on your network management side like your firewall/router/DNS, usually.

Simply move to the new location, and boot up the server. If you're using DHCP to allocate dynamic / leased IP addresses then you probably already know what to do to update the IP address. If you have used a static IP address and need to change it, you need to go and edit the standard configuration file for this, which should be in /etc somewhere. I think it's /etc/interfaces or /etc/networks/interfaces (I've forgotten, it's been a while since I looked into this myself).

For hostname, you don't really need to bother. will accept any hostname/domain that points to it and use it automagically. For example, if you were pointing to the appliance and you need to point to the server now, there's nothing to do on the server - it will simply work (we use a * ServerHost alias in Apache that let's this magic happen). So unless you have a specific reason to mess with the hostname settings (like email routing?) then I suggest you don't bother with that.
dhiraj Jul 20, 2010 12:44 PM
Oh, and backup your Data.fs file to an off-server location before you do this, so that you can always go back in case something goes critically wrong with the move.
gioppoluca Jul 20, 2010 01:26 PM
Will let you know the outcome.