Finish upgrading remote server without physically being there?

2011-03-02 Thread Ed Flecko
Hi folks, If I understand the process of upgrading FreeeBSD correctly, after running: make buildworld make buildkernel make installkernel I then need to reboot into single user mode (which can only be done if I'm physically standing at the machine, right?), and then finally: adjkerntz -i

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Damien Fleuriot
On 3/2/11 5:03 PM, Ed Flecko wrote: Hi folks, If I understand the process of upgrading FreeeBSD correctly, after running: make buildworld make buildkernel make installkernel I then need to reboot into single user mode (which can only be done if I'm physically standing at the

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Ed Flecko
Thanks Damien. :-) Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? 2.) How do I rebuild the ports? Ed ___ freebsd-questions@freebsd.org mailing

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Damien Fleuriot
On 3/2/11 5:15 PM, Ed Flecko wrote: Thanks Damien. :-) Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? Rebooting single user ensures that most daemons aren't launched, as well as

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? Dropping into single user mode is highly recommended especially if you're upgrading from, say, 8.1 to 8.2 (a minor version upgrade). If

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Patrick Gibson
If you're using a fairly recent version of FreeBSD, why not just use the built-in freebsd-update? freebsd-update upgrade -r 8.2-RELEASE freebsd-update install reboot freebsd-update install Patrick On Wed, Mar 2, 2011 at 8:03 AM, Ed Flecko edfle...@gmail.com wrote: Hi folks, If I understand

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Ed Flecko
Patrick, It's my understanding that if you have a custom kernel, you can't use the binary update method. Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Lowell Gilbert
Damien Fleuriot m...@my.gd writes: On 3/2/11 5:15 PM, Ed Flecko wrote: Thanks Damien. :-) Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? Rebooting single user ensures that

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Damien Fleuriot
On 3/2/11 6:56 PM, Patrick Gibson wrote: If you're using a fairly recent version of FreeBSD, why not just use the built-in freebsd-update? freebsd-update upgrade -r 8.2-RELEASE freebsd-update install reboot freebsd-update install Patrick freebsd-update works only with GENERIC

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Warren Block
On Wed, 2 Mar 2011, Damien Fleuriot wrote: Dropping to single user is not strictly necessary, in fact I never do. buildworld buildkernel installkernel reboot mergemaster -p installworld mergemaster -F rebuild your ports reboot Some of these steps are best practices. If you're lucky and

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Damien Fleuriot
On 3/2/11 7:07 PM, Lowell Gilbert wrote: Damien Fleuriot m...@my.gd writes: On 3/2/11 5:15 PM, Ed Flecko wrote: Thanks Damien. :-) Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this?

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread David Brodbeck
On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys nlan...@gmail.com wrote: Another way to do this, but is quite rare, is to log in via serial console.  This requires you to configure serial logins to your server (quite easy, but you should test it first) and it requires the data center to somehow

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Lowell Gilbert
Damien Fleuriot m...@my.gd writes: On 3/2/11 7:07 PM, Lowell Gilbert wrote: I do this all the time too, but if the new kernel doesn't boot, you end up in more trouble than needing an extra reboot. The reboot part is definitely important -- you can reboot into multiuser mode and do the

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys nlan...@gmail.com wrote: Another way to do this, but is quite rare, is to log in via serial console.  This requires you to configure serial logins to your server (quite easy, but you should test it first) and it requires the data center to somehow

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Roland Smith
On Wed, Mar 02, 2011 at 05:20:33PM +0100, Damien Fleuriot wrote: 2.) How do I rebuild the ports? Either you rebuild them by hand, one after another... It kind of depends what kind of upgrade you are doing. When upgrading to another minor version (say from 8.1 to 8.2) no port rebuilds

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Maxim Khitrov
On Wed, Mar 2, 2011 at 5:18 PM, Nerius Landys nlan...@gmail.com wrote: On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys nlan...@gmail.com wrote: Another way to do this, but is quite rare, is to log in via serial console.  This requires you to configure serial logins to your server (quite easy,

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI and KVM-over-IP functionality. The chip gets its own IP address (separate from em0 in FreeBSD) and is powered whenever the power cord is plugged-in. As

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Maxim Khitrov
On Wed, Mar 2, 2011 at 7:10 PM, Nerius Landys nlan...@gmail.com wrote: I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI and KVM-over-IP functionality. The chip gets its own IP address (separate from em0