🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by dward Sun, 17 Aug 1997 00:00
Moving Servers
#20616
Author: dward
Date: Sun, 17 Aug 1997 00:00
12 lines
920 bytes
Is there an 'easy' way to move a live server from one machine over to a
new high performance machine without losing any data such as active
synching etc......

We run INN 1.5.1 and want to have it running from the same point it was
running on the other machine, the dns is no prob but we need to make
sure what to copy across and to make sure it stays in synch

Darren

Re: Moving Servers
#20597
Author: Dan Foster
Date: Sun, 17 Aug 1997 00:00
37 lines
2239 bytes
In article <33F65153.54B0@pla.net.au>,
dward@pla.net.au <dward@pla.net.au> wrote:
>Is there an 'easy' way to move a live server from one machine over to a
>new high performance machine without losing any data such as active
>synching etc......
>
>We run INN 1.5.1 and want to have it running from the same point it was
>running on the other machine, the dns is no prob but we need to make
>sure what to copy across and to make sure it stays in synch

Ok, checklist:

1) Brain loaded, active, and engaged?
1a) It isn't 3am, local time
2) Make sure DNS TTL for domain is down to 3600, so change for actual cutover
   won't take forever for info to get out/propagate.
3) Start up current server as an INN master (add flag in rc.news)
4) Start up new machine as an INN slave (think need add a flag in rc.news too?)
5) Make sure you have innxmit (aka nntpsend) in a master/slave configuration,
   have newsfeeds entry slightly modified to accommodate M/S
6) Wait a while...couple days? A week, tops.
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.

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.

Anyway, all this worked like a charm for us. Nobody noticed. :)

-Dan Foster
Internet: dsf@frontiernet.net

Re: Moving Servers
#20618
Author: Juan Carlos Castro
Date: Mon, 18 Aug 1997 00:00
28 lines
1945 bytes
On Sun, 17 Aug 1997, dward@pla.net.au wrote:

> Is there an 'easy' way to move a live server from one machine over to a
> new high performance machine without losing any data such as active
> synching etc......
> 
> We run INN 1.5.1 and want to have it running from the same point it was
> running on the other machine, the dns is no prob but we need to make
> sure what to copy across and to make sure it stays in synch
> 
What I would do is place the new machine on the same physical network
as the existing machine and set up an xreplic feed (actually any form
of feed which keeps article numbers accross both sides) from the existing
server to the new server.  After a week or so (number of days set to the
highest number in your expire.ctl file) your servers should have
a synced spool and active file and a pretty close history file.

At that point you can turn down your old server and move the new
server into the appropriate IP address and run INND in standard mode.

----
J. Carlos Castro (JCC31) -  Consulting for your Internet Needs
work --president@netcrusader.net--> http://www.netcrusader.net
http://www.jcas.com <-------------j@jcas.com------------- play


Re: Moving Servers
#20748
Author: Julio Sanchez
Date: Wed, 20 Aug 1997 00:00
63 lines
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 

Re: Moving Servers
#22259
Author: Paul Zastoupil
Date: Fri, 10 Oct 1997 00:00
29 lines
1709 bytes
Julio Sanchez wrote:
> 
>              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.
> 

I saw this happen too.  Newsreaders keep a high watermark number so when
the numbers suddenly get smaller they don't see any articles.  Sometimes
for a long time, and to make it worse, some newsreaders are a real pain
in the you know what to get them to reload the numbers from the active
file.
-- 
Paul Zastoupil - paulz@adnc.com
System Administrator
American Digital Network 
http://www.adnc.com
619.576.4272

Re: Moving Servers
#22298
Author: Homer W. Smith
Date: Mon, 13 Oct 1997 00:00
16 lines
1136 bytes
Paul Zastoupil (paulz@adnc.com) wrote:
>I saw this happen too.  Newsreaders keep a high watermark number so when
>the numbers suddenly get smaller they don't see any articles.  Sometimes
>for a long time, and to make it worse, some newsreaders are a real pain
>in the you know what to get them to reload the numbers from the active
>file.

     All netscape and most ppp news readers need to do is delete the
news host and re open it.  This gives them a new .newsrc file.

     Tin users need to erase .newsrc.

     Homer

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads