Page 1 of 1

script to change server_ip

PostPosted: Mon Aug 20, 2007 11:17 am
by mcargile
We have a client that was moving their vicidial server to a colo where it has a new IP address. Rather than adding it as a new server and adjusting all the phones, remote agents and everything else to use the new ip, I wrote a script to change the server_ip of a server if it gets moved. This will keep all the previous records tied to the new ip.

Here is the issue in the bug tracker for this new feature:
http://www.eflo.net/VICIDIALmantis/view.php?id=135

You also need to change the IP in the astguiclient.conf. It is best to do this before running this script, and you have to change the DB's ip in the astguiclient.conf if that has changed as well before running this.

PostPosted: Wed Aug 22, 2007 9:12 am
by mflorell
Script already exists for this:
ADMIN_update_server_ip.pl in the bin directory

PostPosted: Wed Aug 22, 2007 11:11 am
by mcargile
:oops:
Well that would probably have been good to know.

PostPosted: Thu Sep 06, 2007 9:11 am
by mcargile
It might be a good idea to make the IP address of an established server not an editable text box and instead make a link to a page that allows you to change it by calling the existing script.

PostPosted: Fri Sep 07, 2007 7:31 pm
by mflorell
might be a good idea, but this is the first I've heard of that being an issue.