Thread View: news.software.nntp
11 messages
11 total messages
Started by hume.spamfilter
Sun, 09 Jan 2000 00:00
Preparing for INN 2.2 -> 2.3
Author: hume.spamfilter
Date: Sun, 09 Jan 2000 00:00
Date: Sun, 09 Jan 2000 00:00
47 lines
2540 bytes
2540 bytes
I'd like to get some word from people who have upgraded from 2.2 to 2.3
on reasonably production machines.
I've got a box running beautifully with CNFS and binary blocking feeds.
Of course, this is both a feeder and reader box, and the users are less
pleased with it than I.
I've been watching inn-workers, and 2.3 seems to be inching toward release
quality, with the only real problems being underdocumentation.
So, I'd like to work my box onto 2.3. I think the overview boost will
please people enough for them to look over the occasional bouncing that
might occur.
I'd like to solidify a procedure for upgrading though, before I take the
plunge. I don't have a separate machine to build onto and switch over, so
I'd like to reduce the variables beforehand... and maximize my ability to
back out in the event of nastiness.
What I'm looking at is:
Schedule outage
Shut down INN 2.2.
Build INN 2.3
Back up old news directories, including history and overview.
Clean out news structure
make install INN2.3
makehistory -I -O (I'm unsure about this bit, I don't have the 2.3
manpages handy)
Construct a new readers.conf...
... ?
Start INN, happy users?
Obviously I'm fuzzy on the 2.2 -> 2.3 history and overview conversion. I
can say I've not needed to rebuild history and overview in the entire year
that this server has been running, whether that's a credit I don't know. :)
I'd also, if possible, like to keep the "remembered" message IDs from the old
history. Has the Message-ID token format changed? Can I grep them out and
insert them into the new history?
Any comments? Insults? Reasons to hold off?
--
Brandon Hume - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
-> Solaris Snob and general NOCMonkey
Re: Preparing for INN 2.2 -> 2.3
Author: Brad Knowles
Date: Sun, 09 Jan 2000 00:00
Date: Sun, 09 Jan 2000 00:00
24 lines
1815 bytes
1815 bytes
In article <85aloj$gmd$1@News.Dal.Ca>,
hume.spamfilter@bofh.halifax.ns.ca wrote:
> I've got a box running beautifully with CNFS and binary blocking feeds.
> Of course, this is both a feeder and reader box, and the users are less
> pleased with it than I.
I can't speak for anyone else (and I haven't made the upgrade to 2.3
yet), and I don't know the details of your situation, but it seems to me
that the problem is that you've got is that you're using one machine for
both jobs, when you should instead be using two machines -- one for
transit, one for serving the readers.
It would also make the job of transitioning from 2.2.2 to 2.3 a lot
easier if you set up a second machine.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: Preparing for INN 2.2 -> 2.3
Author: Miquel van Smoorenburg
Date: Mon, 10 Jan 2000 00:00
Date: Mon, 10 Jan 2000 00:00
25 lines
1953 bytes
1953 bytes
In article <85ckal$7io$1@News.Dal.Ca>, <hume.spamfilter@bofh.halifax.ns.ca> wrote: >Oh well, I guess there's nobody with experience with this, seeing as the >only information I'm getting in response is the subtle implication that I'm >an idiot for not possessing a second machine. (Welcome to a small University >in the Canadian Maritimes, where matching machines are NOT plentiful, disk is >NOT cheap, and the last time I could get a second machine for an OS upgrade >took six months from the CS department.) Well, I am running INN 2.3 on both a reader and a feeder, upgraded from 2.0 -> 2.1 -> 2.2 -> 2.3 I think the history file format changed again between 2.2 and 2.3, and ofcourse the overview format. Best thing is to regenerate both, but on a reasonably sized spool (few million articles) this will take hours, so start at 00:00 and hope it's finished before morning.. As the reader is still marked experimental, last time I simply nuked the entrire history, overview and spool and started from scratch. Customers know they can expect things like that on that particular machine. Mike.
Re: Preparing for INN 2.2 -> 2.3
Author: hume.spamfilter
Date: Mon, 10 Jan 2000 00:00
Date: Mon, 10 Jan 2000 00:00
29 lines
2088 bytes
2088 bytes
Brad Knowles <brad@shub-internet.org> wrote:
: that the problem is that you've got is that you're using one machine for
: both jobs, when you should instead be using two machines -- one for
: transit, one for serving the readers.
I really don't move enough news a day to justify that, even if I could get
the resources for a second machine.
I move about 650M a day. There's maybe 20 readers on at a time (less now,
due to frustration with reading speed). The machine isn't breaking a sweat.
The problem is overview, pure and simple.
CNFS is EXTREMELY useful, and I can't transition back to traditional spool,
even if I wanted to (I switched before the slow overview problem was well
known, and before all my tweaking resulted in a large number of retained
articles per group at a time). INN 2.3 is everything I need, and I don't
expect switching to be a horrible, disasterous undertaking... I just see no
reason to jump into it with guesses.
: It would also make the job of transitioning from 2.2.2 to 2.3 a lot
: easier if you set up a second machine.
I agree. However, like I said... I can't.
--
Brandon Hume - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
-> Solaris Snob and general NOCMonkey
Re: Preparing for INN 2.2 -> 2.3
Author: hume.spamfilter
Date: Mon, 10 Jan 2000 00:00
Date: Mon, 10 Jan 2000 00:00
31 lines
2166 bytes
2166 bytes
Brad Knowles <brad@shub-internet.org> wrote:
: been in reasonably wide use for a while and is relatively stable, and
: other people have had the opportunity to do the migration, detail where
Well, someone is going to have to go first, yes?
: with how it's running you could slide that into place as your "peering"
: server (to get more experience with how it works in the real world).
I've run standalone INN 2.3 before, and was impressed. I was asking about
2.2 to 2.3 conversion.
: tango-uniform on you, but you can't possibly afford a single screw-up,
I can afford screwups. I think you're confusing simple research with being
scared to touch the machine.
Oh well, I guess there's nobody with experience with this, seeing as the
only information I'm getting in response is the subtle implication that I'm
an idiot for not possessing a second machine. (Welcome to a small University
in the Canadian Maritimes, where matching machines are NOT plentiful, disk is
NOT cheap, and the last time I could get a second machine for an OS upgrade
took six months from the CS department.)
This'll be fun. :)
--
Brandon Hume - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
-> Solaris Snob and general NOCMonkey
Re: Preparing for INN 2.2 -> 2.3
Author: Charles Ball
Date: Mon, 10 Jan 2000 00:00
Date: Mon, 10 Jan 2000 00:00
39 lines
2569 bytes
2569 bytes
hume.spamfilter@bofh.halifax.ns.ca wrote: : I'd like to get some word from people who have upgraded from 2.2 to 2.3 : on reasonably production machines. I've been very pleased with 2.3 in production as feeder+reader for the past couple weeks. However our transition was 1.5.1+lots_of_patches => 2.3 on a second system so our transition procedure isn't directly relevant. In our experience, relative performance is great. : I've been watching inn-workers, and 2.3 seems to be inching toward release : quality, with the only real problems being underdocumentation. The problem with using 2.3 in production now is that more features are planned prior to release and, as I understand it, some of these are intended to involve substantial code changes. These will, however briefly, destabilize snapshots. It's always possible that there will be another history/overview format change which requires a rebuild. : I'd like to solidify a procedure for upgrading though, before I take the : plunge. I don't have a separate machine to build onto and switch over, so : I'd like to reduce the variables beforehand... and maximize my ability to : back out in the event of nastiness. You need to plan for numerous upgrades. Sure 2.2 => 2.3 is the major one but there will be occasions when you need to pick up all or part of a snapshot. Most will be simple installs, but the only responsible way to do this is with a test installation that you can use to verify the upgrade procedures in advance. The beauty of inn w/ CNFS is that the resources necessary to run a test installation are really minimal, especially if it's only handling a few hierarchies. We're using our future feeder box for testing, but there's no particular reason this needs to be a dedicated server. -- Charles Ball Information Technology Boston University
Re: Preparing for INN 2.2 -> 2.3
Author: Brad Knowles
Date: Mon, 10 Jan 2000 00:00
Date: Mon, 10 Jan 2000 00:00
26 lines
1890 bytes
1890 bytes
In article <85ckal$7io$1@News.Dal.Ca>,
hume.spamfilter@bofh.halifax.ns.ca wrote:
> Oh well, I guess there's nobody with experience with this, seeing as the
> only information I'm getting in response is the subtle implication that
> I'm an idiot for not possessing a second machine.
Sorry, I did not mean to imply that you were an idiot for not having
a second machine.
And don't take my response as the gospel, either. There may well be
several other people who've made the conversion, and they just haven't
spoken up yet.
Regardless, I'll be interested to hear what the conversion process
should be like.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: Preparing for INN 2.2 -> 2.3
Author: Brad Knowles
Date: Mon, 10 Jan 2000 00:00
Date: Mon, 10 Jan 2000 00:00
37 lines
2577 bytes
2577 bytes
In article <85babe$ncf$1@News.Dal.Ca>,
hume.spamfilter@bofh.halifax.ns.ca wrote:
> : It would also make the job of transitioning from 2.2.2 to 2.3 a lot
> : easier if you set up a second machine.
>
> I agree. However, like I said... I can't.
GIven that, I can't see where you're going to be able to find a
solution for this problem. You're going to need to wait until 2.3 has
been in reasonably wide use for a while and is relatively stable, and
other people have had the opportunity to do the migration, detail where
things screwed up for them (perhaps even multiple rounds of that), and
then wait until someone comes up with a pretty solid "smooth transition"
plan.
As a start, you could try running 2.3 on a different IP address
and/or port (and different base directory), and once you get comfortable
with how it's running you could slide that into place as your "peering"
server (to get more experience with how it works in the real world).
Once that is complete, you could then work on trying to move your
readers over to the new process as well (you might have to tell them to
switch what IP address/port they point their newsreader at).
But when you've got only one machine, it's in the process of going
tango-uniform on you, but you can't possibly afford a single screw-up,
well, you've just got a virtually unsolvable problem.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: Preparing for INN 2.2 -> 2.3
Author: Russ Allbery
Date: Tue, 11 Jan 2000 00:00
Date: Tue, 11 Jan 2000 00:00
17 lines
1420 bytes
1420 bytes
Brad Knowles <brad@shub-internet.org> writes: > Regardless, I'll be interested to hear what the conversion process > should be like. The theory is that you should be able to install your new binaries, rebuild history and overview completely, and then go, and it should just work. I haven't done it myself yet either, though, mostly due to lack of time rather than lack of willingness. I have four news boxes to play with at present, though, so I'll be building it on a new server. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Preparing for INN 2.2 -> 2.3
Author: bill davidsen
Date: Tue, 11 Jan 2000 00:00
Date: Tue, 11 Jan 2000 00:00
83 lines
4510 bytes
4510 bytes
In article <85aloj$gmd$1@News.Dal.Ca>, <hume.spamfilter@bofh.halifax.ns.ca> wrote: | I'd like to get some word from people who have upgraded from 2.2 to 2.3 | on reasonably production machines. Done it, planning to do it twice more this month. Not expecting too much pain. | I've been watching inn-workers, and 2.3 seems to be inching toward release | quality, with the only real problems being underdocumentation. Actually much of it is better documented than the 2.2 equivalent, although there are some obvious missing warnings in the man pages, like "makehistory only makes history, and optionally overview, use makedbz to make the index files." | So, I'd like to work my box onto 2.3. I think the overview boost will | please people enough for them to look over the occasional bouncing that | might occur. Haven't had much problem with it, readers love it. | I'd like to solidify a procedure for upgrading though, before I take the | plunge. I don't have a separate machine to build onto and switch over, so | I'd like to reduce the variables beforehand... and maximize my ability to | back out in the event of nastiness. | | What I'm looking at is: | Schedule outage | Shut down INN 2.2. | Build INN 2.3 I would do this way early, not as part of the process. One of the most painful parts of the conversion is that they changed the config files again. | Back up old news directories, including history and overview. If you're really paranoid backup history and overview. | Clean out news structure I wouldn't do that. | make install INN2.3 | makehistory -I -O (I'm unsure about this bit, I don't have the 2.3 | manpages handy) See above, but yes, you can preserve your old articles and numbering, make the users happy, etc. | Construct a new readers.conf... No, no, no. I love what reader.conf gives me, but unless you have a very simple setup you will spend much time on this. Also inn.conf, there are things which affect performance and memory use, you have to *think* about them, not do them under deadline! | ... ? | Start INN, happy users? The guy who reads a busy group twice a week will love you, overview doesn't mean coffee break. Everybody else will be happy, too, but the people who find lots of articles in a group will be happiest of all. | | Obviously I'm fuzzy on the 2.2 -> 2.3 history and overview conversion. I | can say I've not needed to rebuild history and overview in the entire year | that this server has been running, whether that's a credit I don't know. :) I haven't had any problems since I went to 1999-12-14, the early Aug-99 version I was running got sick, but I ran about four months before that happened, and added more cycbuffs a few times. | I'd also, if possible, like to keep the "remembered" message IDs from the old | history. Has the Message-ID token format changed? Can I grep them out and | insert them into the new history? I would keep the existing article base, your conversion time will be longer, but the users will be happier, I think. | Any comments? Insults? Reasons to hold off? Other than makehistory taking a long time, 7-8 hours on a PC with 150GB spool, I wouldn't hold off. I have issues with readers.conf, but they are "I wish I could" rather than anything which doesn't work as documented. Do read the man page on this very carefully, all the info is there but you will have to start by assuming that every word means something, not much filler in there. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: Preparing for INN 2.2 -> 2.3
Author: hume.spamfilter
Date: Wed, 12 Jan 2000 00:00
Date: Wed, 12 Jan 2000 00:00
72 lines
3666 bytes
3666 bytes
bill davidsen <davidsen@tmr.com> wrote:
: Done it, planning to do it twice more this month. Not expecting too
Great.
: "makehistory only makes history, and optionally overview, use makedbz to
: make the index files."
Heh, I remembered that from your lamintations on the group a while ago.
: I would do this way early, not as part of the process. One of the most
: painful parts of the conversion is that they changed the config files again.
Actually, I did a test installation on my workstation, and took the time to
familiarize myself with the new configs.
: | Back up old news directories, including history and overview.
: If you're really paranoid backup history and overview.
I'm not horribly paranoid, but I have access to obscene amounts of backup
capacity for such a comparatively small machine, so I may as well make use
of it.
: | Clean out news structure
: I wouldn't do that.
I meant the binaries and dead overview/uniover, but I take your meaning.
: No, no, no. I love what reader.conf gives me, but unless you have a
: very simple setup you will spend much time on this. Also inn.conf, there
I DO have a very simple setup, actually. I've already got the new
readers.conf worked out.
: are things which affect performance and memory use, you have to *think*
: about them, not do them under deadline!
I can likely schedule up to an entire day to accomplish this, although I
doubt it'd take that long. I won't have the heat on me unless I really
underestimate the actual time.
: doesn't mean coffee break. Everybody else will be happy, too, but the
: people who find lots of articles in a group will be happiest of all.
That'd likely be everyone who still sticks with the machine over the past
year.
: I would keep the existing article base, your conversion time will be
: longer, but the users will be happier, I think.
I would do that. What I meant was keeping the currently stored articles,
as well as the "remembered" ids which have expired and no longer have an
existing article to match... to avoid old articles from creeping back in.
Although this is probably a needless worry, since I think I have the
longest retention of anyone who feeds with me.
: Other than makehistory taking a long time, 7-8 hours on a PC with
: 150GB spool, I wouldn't hold off. I have issues with readers.conf, but
I've got a puny 26G spool. (And two weeks + retention! People will have
a very difficult time convincing me to add the binary groups back in.)
: documented. Do read the man page on this very carefully, all the info is
: there but you will have to start by assuming that every word means
Indeed.
--
Brandon Hume - hume -> BOFH.Halifax.NS.Ca, http://WWW.BOFH.Halifax.NS.Ca/
-> Solaris Snob and general NOCMonkey
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