Page 1 of 1

ip change

PostPosted: Thu May 17, 2007 9:38 am
by ramindia
Hi

iam trying to write a small program
where i can change the IP address, when iam changing the IP address of the server.

I have identify the some places.
please kindly advice is there any other places i need to change the ip address.

1. /etc/astguiclient.conf

in mysql .

2. server_ip in phones table
3. server_ip in servers table
4. server_ip in server_updater table
5. server_ip in conferences table
6. server_ip in vicidial_conferences table


ram

PostPosted: Thu May 17, 2007 11:44 am
by mflorell
I've already posted this a few times here on the forums. I wrote a program to do that which is already included with the astguiclient package:
ADMIN_update_server_ip.pl

This does what you are wanting to do. Run it with the "--help" flag to see options, or run it with no flags for interactive mode.

PostPosted: Thu May 17, 2007 12:05 pm
by ramindia
Hi

thanks for reply

sorry i was not notice this script

i have made similar to the same as you did.
but end its same.

good work

ram