Contributed by jose on from the major-leaps dept.
Anyone have any suggestions for Michael to try and make this transition as painless as possible (keeping his configuration and services as intact as he can)?
(Comments are closed)
OpenBSD Journal
Contributed by jose on from the major-leaps dept.
Anyone have any suggestions for Michael to try and make this transition as painless as possible (keeping his configuration and services as intact as he can)?
(Comments are closed)
Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]
By sthen () on
Comments
By Jason () on
By Anonymous Coward () on
By eb0la () on http://exocert.com
By deekayen () on http://openbsddiary.org
My advice: wait for 3.3. Figure out how much trouble it is to do a fresh install, it's worth considering, IMO. If you decide to upgrade instead of fresh install, don't try to jump right from 2.6 to 3.3, do it one upgrade at a time along with the Mini-UpgradeFAQ, just to make sure you catch everything.
By James A. Peltier () james@site-fx.net on http://www.site-fx.net
By Darren () on
Also try to find out which sites and users are more important, so you can make sure those work first.
Comments
By Anonymous Coward () on
Are you talking about the users/people...or companies?
*grin*
Sorry, couldn't resist.
By Ben Goren () ben@trumpetpower.com on http://www.trumpetpower.com/
Any chance that any of those sites are dynamic? If so, you'll need to make sure that the latest and greatest versions of Perl, PHP, back-end databases, etc., don't break the hosted sites.
You'll really have to set this up as a new system. Once you think you've got the new system working as well as the old, you'll have to turn the users loose on it for a couple weeks, so they can be sure you're right. Be prepared, if necessary, to work with them to fix things and to push back the switchover when you discover that somebody needs to re-write that entire e-commerce backend.
If things get too painful, then just go with two servers. Leave the old one for the incompetent ones who can't get their act together, but with a cut-off date that says, ``the plug will be pulled on such-and-such date.'' Switch everybody else over to the new one. Be sure that ``such-and-such date'' is negotiated and make it clear that, if the client can't fix what's broken, they're responsible for finding somebody else who'll support the old system. Or just charge them out the wazoo.
Also, be sure to plan for this in the future. Publish a maintenance schedule that just happens to be June 1 / December 1 (or thereabouts). Use the month of lead time to either do dry runs on your development machine, or to prep the replacement computer and swap cables at the right moment.
You might also consider whether breaking functions into physically separate boxes (one for DNS, one for Web serving, etc.) might make your life easier. At a few hundred bucks for a multi-gigahertz computer, money is no excuse.
Good luck,
b&
By Anonymous Coward () on
Nice new hardware is cheap - and can save your bacon if things fail. Worth the investment.
By Michael Anuzis () on
To clarify exactly what's going on, I was definitely planning on performing a clean install and not trying to literally upgrade the same machine from 2.6 to 3.3.
I've already got a new (but identicle, as far as hardware goes) server set up with a 3.3 snapshot installed (took a snapshot to avoid the ELF catch and allow for easier upgrades in the future). I'm going to be setting it up in the server room within the next couple days and begin transfering over all of the static websites and DNS zone files.
One thing I'm especially concerned with, however, is the master.passwd file, and the whole issue with the user accounts. How would one go about transfering all the user accounts over from 2.6 to 3.3? Is it simply an issue of copying /etc/master.passwd and /etc/passwd to the new machine with identicle ownership/permission settings? Or is there more to it, ie. dealing with the new _shadow group, and /etc/spwd.db and so on? Is there a process/order for copying these files over to be carried out in? They seem to be a sensitive group of files worth taking the time to transition correctly. Any advice on this topic would be appreciated --Michael
Comments
By Anonymous Coward () on
Copy your current config files to the new machine, install a recent src in /usr/src, then install & run mergemaster, which will automate the process of updating all those files. Newer versions will automatically rebuild your passwd and/or aliases db files.
By Ben Goren () ben@trumpetpower.com on http://www.trumpetpower.com/
Michael,
First, you'll be able to get the official version of 3.3 on Thursday if you can beat the crowds at the FTP sites and can wait that long. Then, there'll be no need to go with a snapshot.
Answers to your questions about the password file can all be found in pwd_mkdb(8) and passwd(5).
Personally, I'd take the opportunity to do a bit of house-cleaning amongst my users. Let them know that you'll be doing some serious spring-cleaning and that they'll all be assigned new passwords as a security precaution--which is the exact truth. You don't want somebody using the same password for three years! Require them to get their new password from secured means (in person, over the telephone, via FAX, etc., but *NOT* over the 'Net). Also read up on the password aging mechanisms detailed in passwd(5).
You'll probably not hear back from--or not be able to contact--some of the users. These people must not have accounts on your system. You've got no way to reach them; how can you possibly hold them accountable for anything they do?
Good luck,
b&
Comments
By Brad () brad at comstyle dot com on mailto:brad at comstyle dot com
>First, you'll be able to get the official version of 3.3 on Thursday if you can beat the crowds at the FTP sites and can wait that long. Then, there'll be no need to go with a snapshot.
Did you not read what he said? He clearly stated why he used a snapshot.
Comments
By deekayen () on http://openbsddiary.org
Comments
By Michael Anuzis () on
After asking around on IRC (ef-net #openbsd) I was told I'd be safer going with a snapshot than taking the release because it would let me dodge a difficult transition in the future that'd leave half the files a.out (whatever I compiled on my own, ie. postfix etc) and half ELF.
Comments
By James A. Peltier () james@site-fx.net on http://www.site-fx.net
By tedu () on
ELF was tested for a long time before the commit. It's not like it was developed one day and committed the next. Hasn't really destabilized anything.
If you're going to wait another three years before upgrading, I don't think it matters. If you intend to upgrade more often, switching now will save some pain later.
Comments
By GPS () on
By crc () maxentropic at hotmail dot com on mailto:maxentropic at hotmail dot com
cc
By Michael Anuzis () on
http://www.anuzis.net/openbsd/systemupgrade.html
I hope other people can find this information useful in similar scenarios in the future.
--Michael Anuzis