DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th June 2008
goku goku is offline
New User
 
Join Date: Jun 2008
Posts: 1
Thanked 0 Times in 0 Posts
Talking production server upkeep question

Hi all,
I have a question on production server upkeep.
In my supfile I am tracking freebsd 7 stable
*default tag=RELENG_7

Now here is my question. I’ve read that a safe method of updating the system’s binaries is using a utility called freebsd-update. I have read that it does not update –STABLE . It only tracks the release tag. So do I change the RELENG_7 to RELENG_7_0_0_RELEASE ? also when freebsd 7.1R becomes available and I decide not to upgrade. Will the freebsd-update still update the system’s binaries? Or do I have to upgrade to freebsd 7.1R and change the RELENG_7_0_0_RELEASE to RELENG_7_1_0_RELEASE

Another question. Since the server that I am learning on will become a production server. Is there a way to upgrade from freebsd 7 to 7.1(when it come available) without having the server go offline.

Thanks
goku
Reply With Quote
  #2   (View Single Post)  
Old 5th June 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

Well unfortunately I can't answer much about freebsd-update as I do the "build from source" to update all my servers (yes, they are production).

As far was upgrading the system without going offline, unfortunately when going between versions like that you will need to reboot. Otherwise the "old system" will never stop running.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #3   (View Single Post)  
Old 5th June 2008
scottro's Avatar
scottro scottro is online now
Real Name: Scott Robbins
Spam Deminer
 
Join Date: Apr 2008
Location: NYC
Posts: 307
Thanked 31 Times in 25 Posts
Default

For an explanation of release names and all that, though the versions are one release behind
http://home.nyc.rr.com/computertaijutsu/release.html

freebsd-update only works with RELEASE and a GENERIC kernel. (At least, that was the case last time I looked into it.)
Reply With Quote
  #4   (View Single Post)  
Old 10th June 2008
Errinok Errinok is offline
Port Guard
 
Join Date: Jun 2008
Posts: 14
Thanked 0 Times in 0 Posts
Default

to upgrade to a certain version you use the command
Code:
freebsd-update -r 7.0-RELEASE upgrade install
then follow the directions. replace 7.0-RELEASE with whichever major release you desire. note that this only works for the GENERIC kernel. if you want to rebuild a system this way and have a custom kernel expect to have to rebuild your kernel manually afterwards. this method also works for release candidates and betas (ex. when 7 was in beta 7.0-BETA2 or 7.0-RC1). you mentioned that this is a production server though so i advise you do not use betas, release candidates nor the -stable or -current branches as they are constantly changing. once u upgrade to a major release you then can run the command
Code:
freebsd-update fetch install
to get the latest binary patches for your system making it fully up to date with your desired release. once 7.1 has reached beta status you can expect to be able to upgrade via source or binaries although i do stress not to uses potentially unstable code on a production server.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
external drive partition question + fdisk question gosha OpenBSD General 15 15th June 2009 02:00 PM
consider OpenVPN production-grade solution? nimnod Off-Topic 1 26th March 2009 12:22 AM
Sun Java System Web Server - Active Server Pages (yes ASP) hopla FreeBSD General 0 26th September 2008 08:22 AM


All times are GMT. The time now is 12:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick