Article View: news.software.nntp
Article #20748Re: Moving Servers
From: Julio Sanchez
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
63 lines
3557 bytes
3557 bytes
dsf@node6.frontiernet.net (Dan Foster) writes:
> 7) When ready to go production with new server, remove slave stuff from new
> box, and obviously make sure old box no longer sends new anything.
> 8) If desired, you can then jack up the DNS TTL back to whatever it was
> sometime after the cutover.
The two times I had to do this, I could not move the new machine to
the old address. This is because I always did this while moving News
away from general-purpose machines (when we started with this, you
could get a lot of articles and keep them for days in less than 100MB,
so News tended to be served from some computer devoted to other
tasks). Not so anymore.
So the slightly modified procedure for this case is:
7a) When ready to go production with new server, remove slave stuff
from new box and make the feed at the old box a regular feed.
7b) Move your readers to the new box somehow (DNS, NIS, manually,
whatever) and disallow reading from the old box
7c) Arrange with your feeds to feed the new box instead of the old one
and start feeding them from the new one
7d) When nothing else remains at the old box, switch INN off there
Last time we did, we did not complete 7c for weeks, since we had a
lot of mail2news gateways on the old machine. Moving something
like this takes some time and since as soon we moved the feeds to the
new box the urge somehow began to fade...
That time we did not even tell our feeds to move and did everything
with firewall hackery. Well, not truly, we had them change them in
advance :-) Too bad we did not do the same for the gatewayed lists :-(
> I don't recall but you might want to also copy the current box's active file
> to the new box, then immediately start master/slave on both boxes then. This
> is from memory, but I'm fairly sure this is very close if it's not exact.
It is mandatory to somehow copy active. The slave box configuration
must closely resemble that in the master. Damn, at the very least,
so that moderated status and such is preserved. Also, from Install.ms:
When running as a slave, innd is very paranoid about
staying synchronized with its master. Most noticeably, you
should make sure that all newgroup and rmgroup control mes-
sages are handled identically on both systems.
What never, NEVER, must be done is just start feeding a new box with a
newly created active (and not slaving) and then change DNS. Newly
enrolled users see nothing strange, but old users do not see new
articles, no even their own. A complete mess. I think I recently saw
one such mess from the outside, but the newsadmin there refused to
confirm or deny it.
Julio
--
Julio Sanchez, SGI Soluciones Globales Internet
Tel: (91) 804 28 37 Fax: (91) 804 14 05 WWW: http://www.esegi.es
jsanchez@esegi.es jsanchez@gmv.es
PGP Key fingerprint = E5 29 93 6F 41 4E 00 E2 90 11 A1 8C 72 D0 DE 71
Technical Details
Message-ID:
<ueg1s4opei.fsf@rama.esegi.es>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<33F65153.54B0@pla.net.au> <5t6961$1f02$1@node17.cwnet.frontiernet.net>Show Full Headers
Complete Article Headers
Message-ID: <ueg1s4opei.fsf@rama.esegi.es> Subject: Re: Moving Servers Date: Wed, 20 Aug 1997 00:00:00 +0000 From: Julio Sanchez <jsanchez@esegi.es> References: <33F65153.54B0@pla.net.au> <5t6961$1f02$1@node17.cwnet.frontiernet.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 265554607 Sender: julio@rama.esegi.es Organization: SGI Soluciones Globales Internet Newsgroups: news.software.nntp