[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] is there a way to deactivate ALL vsites at once?
- Subject: Re: [cobalt-users] is there a way to deactivate ALL vsites at once?
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri Jun 28 11:24:44 2002
- Organization: Front Street Networks LLC
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Friday 28 June 2002 01:04 pm, Joseph Lundgren wrote:
> Greetings,
>
> Last week, when I used the CMU to migrate 90+ vsites from one RaQ4r to
> another RaQ4r (via the Mounted Filesystem Migration method (over a 100mb
> switched hub)) I spent at least an hour deactivating each individual site,
> and at least an hour re-activating the sites after the (6 stinkin' hour)
> migration. This, in effect, put some of my customers out of operation for
> 8 hours. EIGHT HOURS!!! Next time (god forbid there be a next time) I'm
> going to do one site at a time, regardless of the fact that it'll take
> three times as long.
>
> There's got to be a way to deactivate the vsites en-mass... Anyone know
> how?
>
shutdown http
/etc/rc.d/init.d/httpd stop
then edit /etc/cobalt/swatch/services/http
state = off
Probably should do the same for admserv
/etc/rc.d/init.d/admserv stop
edit /etc/cobalt/swatch/services/ahttp
state = off
This is also a way to disable web services, we do this on mail and dns servers
of course you have to add
chkconfig --level 345 http off
and for admserv
chkconfig --level 345 admserv off
so they won't start on reboot
--
Gerald Waugh
http://frontstreetnetworks.com SOHO Networks & Web Site Hosting
Front Street Networks LLC voice +1 203 785 0699 * fax +1 203 785 1787
229 Front Street, Ste. #C, New Haven CT 06513-3203