🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Antony Chan Wed, 24 Nov 1999 00:00
Looking for smart INN server migration procedure ...
#41762
Author: Antony Chan
Date: Wed, 24 Nov 1999 00:00
27 lines
1517 bytes
Hi there,

We are upgrading our 1.4 INN server to 2.2.1. The current server 
contains about 5GB news in traditional spool storage.

We inclined to use ufsdump and ufsrestore to copy this 5GB files to 
the new server but the trial of 100MB took about 85 mins to complete.
And we haven't included the time for rebuilding the history and 
overview file. This will cost us almost 2 days' downtime.

The hardware is the best that we can allocate while the disks grouped
under different controller already.

Before going for those clumsy incremental backup steps, we really
want to see if any smart approach is out there.

Our requirement, as always, is to make the process as transparent to
users as possible while making the downtime short.

Any experience to share? Thanks.

Best Regards,
Antony

p.s. we are using Ultra Sparc 1 with Solaris 2.6

Re: Looking for smart INN server migration procedure ...
#41757
Author: Hans-Joachim Zierke
Date: Wed, 24 Nov 1999 00:00
21 lines
1423 bytes
Antony Chan schrieb:


> We inclined to use ufsdump and ufsrestore to copy this 5GB files to 
> the new server but the trial of 100MB took about 85 mins to complete.
> And we haven't included the time for rebuilding the history and 
> overview file. This will cost us almost 2 days' downtime.

What about taking a spare PC with Linux, install INN 2.x, feed the news to 
that server, then move active, history, spool etc. pp. over? Since you 
have all the time of the world, even an old 386 with a new 100$ harddisk 
would do.

No experience, though.


hajo


Re: Looking for smart INN server migration procedure ...
#41763
Author: Tuuli Tuominen
Date: Wed, 24 Nov 1999 00:00
23 lines
1993 bytes
On Wed, 24 Nov 1999 10:18:46 -0500, Todd Olson wrote:
>This past summer I took an approach like this going from 1.7.2 to 2.2.1
>I make the news 2.2.1 an xref slave of 1.7.2 for about 10days
>Then I switched off the 1.7.2, made the 2.2.1 no longer an xref slave
>and adjusted the DNS entries and put set up a virtual interface
>on the new (solaris) box for the
>old box, and voila it work.  It was entirely transparent to the users.
>Down time was perhaps 10min for reconfigs and reboots.

I did this too, but since I needed to keep some local hierarchies that stay
practically forever, I tarred and copied them first, copied the active and
the active times files, created the history and the overview files and then
put the new server into slave mode for a couple of weeks. Worked just fine,
since I was using trad spool for both servers, old and new.

Tuuli.
-- 
In the midst of the word he was trying to say, 
In the midst of his laughter and glee
He had softly and suddenly vanished away--
For the Snark _was_ a boojum, you see.		--Lewis Carroll 

Re: Looking for smart INN server migration procedure ...
#41768
Author: Todd Olson
Date: Wed, 24 Nov 1999 00:00
42 lines
2455 bytes
In article <383BA826.74757D25@capgemini.fr>, Etienne Gauthier
<egauthie@capgemini.fr.nospam> wrote:

> Antony Chan wrote:
> > 
> > Hi there,
> > 
> > We are upgrading our 1.4 INN server to 2.2.1. The current server
> > contains about 5GB news in traditional spool storage.
> > 
> > p.s. we are using Ultra Sparc 1 with Solaris 2.6
> 
> 
>   Just an idea : build a replication to a second server, refeed it. Then
> down the first one and upgrade. Hum,do you have another server, et least
> for some days...


This past summer I took an approach like this going from 1.7.2 to 2.2.1
I make the news 2.2.1 an xref slave of 1.7.2 for about 10days
Then I switched off the 1.7.2, made the 2.2.1 no longer an xref slave
and adjusted the DNS entries and put set up a virtual interface
on the new (solaris) box for the
old box, and voila it work.  It was entirely transparent to the users.
Down time was perhaps 10min for reconfigs and reboots.

If you don't need to upgrade the OS you can do this entirely on one box
by playing with the port numbers that the various servers feed and
read on.  I tried this with several copies of 2.2.1 on our new solaris
ox and it worked fine.  This allowed me to go ahead an use the traditional
spool for the transition without having to brave CNFS, because I can
do that at a future time by just setting up a second news server on
my current (new box) and repeating the roll over.

The length of time needed depends upon if you have any groups that
you retain for a looong time or not.

Regards,
Todd Olson
Cornell USENET News Team

Re: Looking for smart INN server migration procedure ...
#41769
Author: Etienne Gauthier
Date: Wed, 24 Nov 1999 00:00
36 lines
1944 bytes
Antony Chan wrote:
> 
> Hi there,
> 
> We are upgrading our 1.4 INN server to 2.2.1. The current server
> contains about 5GB news in traditional spool storage.
> 
> We inclined to use ufsdump and ufsrestore to copy this 5GB files to
> the new server but the trial of 100MB took about 85 mins to complete.
> And we haven't included the time for rebuilding the history and
> overview file. This will cost us almost 2 days' downtime.
> 
> The hardware is the best that we can allocate while the disks grouped
> under different controller already.
> 
> Before going for those clumsy incremental backup steps, we really
> want to see if any smart approach is out there.
> 
> Our requirement, as always, is to make the process as transparent to
> users as possible while making the downtime short.
> 
> Any experience to share? Thanks.
> 
> Best Regards,
> Antony
> 
> p.s. we are using Ultra Sparc 1 with Solaris 2.6


  Just an idea : build a replication to a second server, refeed it. Then
down the first one and upgrade. Hum,do you have another server, et least
for some days...

Etienne

Re: Looking for smart INN server migration procedure ...
#41775
Author: Etienne Gauthier
Date: Thu, 25 Nov 1999 00:00
41 lines
2515 bytes
Tuuli Tuominen wrote:
> 
> On Wed, 24 Nov 1999 10:18:46 -0500, Todd Olson wrote:
> >This past summer I took an approach like this going from 1.7.2 to 2.2.1
> >I make the news 2.2.1 an xref slave of 1.7.2 for about 10days
> >Then I switched off the 1.7.2, made the 2.2.1 no longer an xref slave
> >and adjusted the DNS entries and put set up a virtual interface
> >on the new (solaris) box for the
> >old box, and voila it work.  It was entirely transparent to the users.
> >Down time was perhaps 10min for reconfigs and reboots.
> 
> I did this too, but since I needed to keep some local hierarchies that stay
> practically forever, I tarred and copied them first, copied the active and
> the active times files, created the history and the overview files and then
> put the new server into slave mode for a couple of weeks. Worked just fine,
> since I was using trad spool for both servers, old and new.


  With traditional feed, tar and ftp can be a lot faster I think. Just
an additional word : there is a parameter with INN (-c) that you can
modify in order to allow old messages to come in (like your
'non-expired' newsgroups) :

I had, in my inn.conf :
innflags:               -L -c0

 (no check on incoming messagess's date). But this may be bad when
having a feed on public usenet.

Etienne


> 
> Tuuli.
> --
> In the midst of the word he was trying to say,
> In the midst of his laughter and glee
> He had softly and suddenly vanished away--
> For the Snark _was_ a boojum, you see.          --Lewis Carroll

Re: Looking for smart INN server migration procedure ...
#41885
Author: Etienne Gauthier
Date: Wed, 01 Dec 1999 00:00
35 lines
1864 bytes
Antony Chan wrote:
> 
> Sorry for the long silence. I have been working and finishing the
> upgrade.
> 
> I took the xrefslave approach. My colleagues and I just didn't know
> about this option. This saves much of our time.
> 
> I need to thank all of you for your suggestion!!
> 
> Best Regards,
> Antony
> 
> p.s. One more question: how can I start a "refeed"? by compiling an
>      index file of desired articles for, say, innfeed/nntpsend to send
>      them out?



I do something like this (in a perl script) :

grep '^my_newsgroup' history  > /tmp/my_newsgroup
newsrequeue /tmp/my_newsgroup | filechan -f 2


  This will refeed all articles, to all outgoing feeds. On my system, it
also creates these two files :
~news/spool/outgoing/crosspost
~news/spool/outgoing/overview!

  that I then delete.

Etienne

Re: Looking for smart INN server migration procedure ...
#41890
Author: Antony Chan
Date: Wed, 01 Dec 1999 00:00
16 lines
1421 bytes
Sorry for the long silence. I have been working and finishing the
upgrade.

I took the xrefslave approach. My colleagues and I just didn't know
about this option. This saves much of our time.

I need to thank all of you for your suggestion!!

Best Regards,
Antony

p.s. One more question: how can I start a "refeed"? by compiling an 
     index file of desired articles for, say, innfeed/nntpsend to send
     them out?

Re: Looking for smart INN server migration procedure ...
#42020
Author: John Line
Date: Tue, 07 Dec 1999 00:00
43 lines
2893 bytes
In article <383D0520.30AC9285@capgemini.fr>,
Etienne Gauthier  <egauthie@capgemini.fr.nospam> wrote:
>  With traditional feed, tar and ftp can be a lot faster I think. Just
>an additional word : there is a parameter with INN (-c) that you can
>modify in order to allow old messages to come in (like your
>'non-expired' newsgroups) :
>
>I had, in my inn.conf :
>innflags:               -L -c0
>
> (no check on incoming messagess's date). But this may be bad when
>having a feed on public usenet.

There's an extra point if you have groups with *really* long expiry (we had 
some with one-year expiry, and I've used this approach a couple of times -
the real fun was the first, faking INN master-to-slave feeding from our old 
C-news server :-). 

If you re-feed long-expiry articles, they'll appear new as far as INN's 
default expiry is concerned - so the the effective expiry time may be
doubled. There is a partial solution - you can use the -p option to expire, 
so it expires by posting time rather than arrival time but that could mean 
short-expiry articles vanishing too soon if they they spent several days in 
transit and were almost due to expire when they finally arrived.

I used the re-feed approach for the first transfer between systems, but for 
the second I used tar and ftp to copy the long-expiry articles; that wasn't 
a very large quantity so it was quick and so was rebuilding the 
history/overviews to include the copied articles. 

There was one problem I hit, inherent in the INN slave setup (but maybe 
avoided in newer versions than I was running then) - the slave mechanism 
forces article numbers, but that may result in overview file entries being 
written out of article number order (the articles may not be fed in article 
number order), which expireover -a -s (or whatever) wouldn't correct and
which (I think, long time ago) caused innd to switch to scanning the article
files - bad news for big groups. I put up with that until it was certain
we'd not back off to the old server, disabled slave mode, then nuked the
overview files and rebuilt them.

                                John Line

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