Article View: news.software.nntp
Article #22042Re: NEWBIE: Best way to move news server?
From: Geoff Allen
Date: Wed, 01 Oct 1997 00:00
Date: Wed, 01 Oct 1997 00:00
56 lines
3173 bytes
3173 bytes
[mailed and posted] sonu@netcom.com (Sonu Nayyar) writes: > We are planning to move our news server (INN) running on Solaris 2.4 > to a new server running Solaris 2.6. I have installed inn 1.5.1 on > this machine. We are planning on using the same IP address and name > for the new server when it is ready. My question is, what is the best > way to test the functionality of the new server without getting rid > of the old server yet? I would appreciated any help/ideas from people > that have had experience with this. This is my first experience working > with inn. Thanks for your help. I've recently done this so maybe I can give you some ideas. First idea: Run the new server as a slave (check the INN documentation on slave servers). Once you decide it's working well, make the slave the "real" server and shut down the old server. By the way, it's a lot easier if you're using a CNAME in the DNS to name the news server. Then you don't have to worry about changing IP addresses, etc. Just change the CNAME and you're done. For example, our CNAME is news.wsu.edu. The old server was serval.net.wsu.edu, the new one is leopard.it.wsu.edu, but nobody had to know those details. We just changed the definition of news.wsu.edu one morning, and everyone was now using the new server (except, of course, for those people who were using "serval.net.wsu.edu" instead of "news.wsu.edu" as the name of their news server. Shutting down the news on serval.net.wsu.edu after a couple of days helped to motivate them to use the officially advertized name...). Second idea (this is what I did, since I was moving from Cnews to INN): Set up INN on the new server and feed news to it, either from your current server, or from an outside feed, if they're willing. Once you're satisfied that it's working, make sure that the "high" article number in your new server's active file is at least as large as the "high" article number in your old server's (a pretty simple perl or awk script can do this), then switch your CNAME as in the other option. The reason for making sure that the article numbers are higher on the new server is so that people don't lose any news when they move to the new server. They may see some articles again for the first week or so, so be sure to warn them. In our case, I don't think it turned out to be much of a problem. Good luck. Geoff -- Geoff Allen, geoff@wsu.edu, <http://www.wsu.edu/~geoff/> Love is the most important thing in the world, but baseball is pretty good too. -- Greg, age 8
Technical Details
Message-ID:
<u3hgb189c2.fsf@cyclone.it.wsu.edu>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:
<sonuEHC43J.43q@netcom.com>Show Full Headers
Complete Article Headers
Message-ID: <u3hgb189c2.fsf@cyclone.it.wsu.edu> Subject: Re: NEWBIE: Best way to move news server? Date: Wed, 01 Oct 1997 00:00:00 +0000 From: Geoff Allen <geoff@wsu.edu> References: <sonuEHC43J.43q@netcom.com> 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: 277137780 To: sonu@netcom.com Organization: Professional Unix Geek, Washington State University Newsgroups: news.software.nntp