[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] IP-CHANGE



> Actually I just mean "how to change the ip's on all the sites 
> in one time" we have about 300 sites so it would take some 
> time to change all of them.........!!
> 

I take it you mean that you have 300 sites all on different ips and not
on the same ip as the main one for the Raq?If they are all sharing that
one ip but many sites then just change the main ip and the others will
all get updated at the same time - either using the front panel or by
going to control panel network and changing it there.

If they are on different ips then one possible way - untested is to use
the cmuExport all the sites then do a search and replace on the cmu.xml
you could write a small script to change it all automatically, then when
done reimport using the cmuImport

You then have the work of changing all your dns entries as well, if you
host your dns on the Raq then you can edit /etc/records directly then
execute /usr/admserv/.cobalt/cgi-bin/dns/index.cgi (I think) which will
update all the other files if you've got lots then that is quicker than
going through the gui
that pretty much covers it unless of course anyone has done something
stupid like hard coding the ip into their web pages (I've seen it done)
oh except if you have formmail installed which might have ip hard coded
into it do a search from / do find -name FormMail.pl and see what you
get locate would also work for that as well.

Let me know anyone if you try the cmu idea - I need to know for someone
I said I would try it but haven't had the time.

Regards

Gavin