Index: [Article Count Order] [Thread]

Date:  Fri, 19 Jun 2009 23:28:32 +0200
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:15716] Re: db corrupt?
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200906192328.33490.bq (at mark) solarspeed.net>
In-Reply-To:  <1245439927.22642.24.camel (at mark) columbus.webtent.org>
References:  <391676.6586.qm (at mark) web65513.mail.ac4.yahoo.com> <200906192028.28265.bq (at mark) solarspeed.net> <1245439927.22642.24.camel (at mark) columbus.webtent.org>
X-Mail-Count: 15716

Hi Robert,

> Yeah, I guess this is what I've decided to do tonight, we have a BO
> server up for a while now and love everything about it. I have one
> question, how can I get the eth0 on the old server to stop restarting
> while I'm accessing via terminal?

Hmm ... I'm not sure I understand that question, sorry.

There should be nothing during a cmuExport that shuts down or restarts eth0. 
Unless you shut it down manually. In which case Active Monitor might restart 
it eventually.

> I guess I could just shut it down, but then I must have someone at the
> data center start if I need something. Seems swatch handles this?

Yes, through a cronjob. So you could just stop CRONd:

/etc/init.d/crond stop

> I don't won't to kill networking so I can still use eth1 on the priv
> network if necessary to grab files. If I can use the same IP's, that
> will save me DNS work.

If you want to prevent that email comes in during the cmuExport and/or 
migrations or that the MySQL database changes:

Stop the relevant services during the cmuExport:

/etc/init.d/crond stop
/etc/init.d/httpd stop
/etc/init.d/xinetd stop
/etc/init.d/dovecot stop
/etc/init.d/sendmail stop
/etc/init.d/mysqld stop

That leaves you with SSH, CCEd and AdmServ, which you need for the export. But 
Sendmail, FTP, Apache, Dovecot and MySQL will be "dead". And the stopped CRONd 
service makes sure that Active Monitor doesn't restart the stopped services 
every 15 minutes.

-- 
With best regards,

Michael Stauber