Remotely Upgrade RH 7.2 to 7.3

Remotely Upgrade RH 7.2 to 7.3

Post by Phi » Fri, 13 Sep 2002 22:44:48



Is it possible to upgrade a remote RH 7.2 server through SSH?  

What tools would one use?  up2date?  

Does one have to go through all of the RH 7.3 RPMs?

Thanks,
Phil

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Jonathan Baker-Bate » Sat, 14 Sep 2002 00:19:45


What do you mean by "remotely upgrade"?

You can do an "upgrade" by choosing this as one of the options on the boot
disk/CD, and can then choose FTP or HTTP install I think.

The upgrade process basically looks at all the RPMs you have on your system
and does an rpm -F on them if they're a lower version than the RH7.3 ones
(which they mostly will be).

JJ


Quote:> Is it possible to upgrade a remote RH 7.2 server through SSH?

> What tools would one use?  up2date?

> Does one have to go through all of the RH 7.3 RPMs?

> Thanks,
> Phil


 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Jim Levi » Sat, 14 Sep 2002 05:22:52



> Is it possible to upgrade a remote RH 7.2 server through SSH?

> What tools would one use?  up2date?

> Does one have to go through all of the RH 7.3 RPMs?

No, you can't do an OS upgrade remotely. The process means booting off of
the 7.3 CD's and selecting Upgrade when asked, and that has to be done
from the console.

--
The instructions said to use Windows 98 or better, so I installed RedHat.

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Phi » Sat, 14 Sep 2002 08:40:15


I mean just what it says.  I want to upgrade a machine from a remote
location.  I'm at location A, the machine is at location B.  Can I
reliably upgrade the machine at location B while I'm at location A?

Phil


> What do you mean by "remotely upgrade"?

> You can do an "upgrade" by choosing this as one of the options on the boot
> disk/CD, and can then choose FTP or HTTP install I think.

> The upgrade process basically looks at all the RPMs you have on your system
> and does an rpm -F on them if they're a lower version than the RH7.3 ones
> (which they mostly will be).

> JJ

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Markku Kolkk » Sat, 14 Sep 2002 19:48:17



> Can I
> reliably upgrade the machine at location B while I'm at location A?

No.

--
        Markku Kolkka

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by #Harold Stevens US.972.952.32 » Sat, 14 Sep 2002 22:15:58




>> Can I
>> reliably upgrade the machine at location B while I'm at location A?

>No.

In general I think this is the case simply because I don't know of any
recent commercially significant distro (like Red Hat) which permits an
install (i.e., interactive session) anywhere but the local console. In
fact, autoinstalls ("Jumpstart" maybe?) are quirky, AFAICT.

There was a similar thread recently here:



with the topic:

  Subject: Re: Screen capture during installation?

IIRC--HTH.

--

Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
Pardon any bogus email addresses (mklog*) in place for spambots.
Really it's (wyrd) at raytheon, dotted with com. DO NOT SPAM IT.
Standard Disclaimer: These are my opinions not Raytheon Company.

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Ming H » Sat, 14 Sep 2002 23:07:30



> Is it possible to upgrade a remote RH 7.2 server through SSH?

> What tools would one use?  up2date?

> Does one have to go through all of the RH 7.3 RPMs?

> Thanks,
> Phil

People think upgrade has to be done from console.

So you can put console on serial portj and dial into it using modem.
This would involve some local help, like hook up modem, lines.....

/ming

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Andrew Schult » Sun, 15 Sep 2002 00:44:22



> I mean just what it says.  I want to upgrade a machine from a remote
> location.  I'm at location A, the machine is at location B.  Can I
> reliably upgrade the machine at location B while I'm at location A?

> Phil


>>What do you mean by "remotely upgrade"?

>>You can do an "upgrade" by choosing this as one of the options on the boot
>>disk/CD, and can then choose FTP or HTTP install I think.

>>The upgrade process basically looks at all the RPMs you have on your system
>>and does an rpm -F on them if they're a lower version than the RH7.3 ones
>>(which they mostly will be).

The popular answer seems to be "no", but the correct answer is "yes, but".  The
"but" is that you have to be careful not to break dependencies.  Just rpm
-(F|i|e|U) packages as needed.

Caveats:
1. You cannot run Xconfigurator remotely, so upgrading XFree86 is possible but
dangerous.
2. To get the new kernel, you need to reboot, and if something goes wrong you're
hosed.
3. if the user is logged in, gdm will complain when they log out and someone
needs to kill gdm or just restart X.

--
------------------------------------------------------------------
  Andrew Schultz                    | The views expressed might

  http://www4.ncsu.edu/~ajschult/   | They are however, correct.

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Dave Bro » Sun, 15 Sep 2002 01:02:43



> Is it possible to upgrade a remote RH 7.2 server through SSH?  

> What tools would one use?  up2date?  
> Does one have to go through all of the RH 7.3 RPMs?

Unfortunately RH's "kickstart" procedure with network install involves
booting a diskette, which needs insertion and removal.

One approach might be to install on a local machine which matches the
remote machine, upgrade it, archive it, un-archive it on a spare partition
on the remote machine, alter the boot manager on the remote machine, and
reboot to the new partition.  

--
Dave Brown  Austin, TX

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Jeff Grossma » Sun, 15 Sep 2002 01:20:49





> > Is it possible to upgrade a remote RH 7.2 server through SSH?

> > What tools would one use?  up2date?

> > Does one have to go through all of the RH 7.3 RPMs?

> > Thanks,
> > Phil

> People think upgrade has to be done from console.

> So you can put console on serial portj and dial into it using modem.
> This would involve some local help, like hook up modem, lines.....

I have my Redhat machine running as a server right next to me.  But,
currently, there is no monitor.  Is there a way I can connect the
console output to my PC which I use all the time?  That would save me
from having to hook up a monitor on it to ever run an install.

Thanks,
Jeff

--

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Jack Strang » Sun, 15 Sep 2002 17:01:48




> > So you can put console on serial portj and dial into it using modem.
> > This would involve some local help, like hook up modem, lines.....

> I have my Redhat machine running as a server right next to me.  But,
> currently, there is no monitor.  Is there a way I can connect the
> console output to my PC which I use all the time?

Sure. You could use a null-modem ( crossover ) cable to connect the
serial port of the RH machine to the serial port of the PC. You will
need some sort of terminal program for the PC, such as 'commo',
'hyperterminal', etc., which is capable of running without using
a modem.

Set up the RH machine with 'agetty','mgetty', or similar so that
you can login via the serial port.

Change the security defaults of the RH machine so you can login
as root through the serial port. Alternatively, login as a 'normal'
user and 'su -' to root.

Simple. :-)

Jack

--

Vlad, Heisenberg and Thomas - The originators of FUD


 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Dave Bro » Sun, 15 Sep 2002 23:32:29





>> > So you can put console on serial portj and dial into it using modem.
>> > This would involve some local help, like hook up modem, lines.....

>> I have my Redhat machine running as a server right next to me.  But,
>> currently, there is no monitor.  Is there a way I can connect the
>> console output to my PC which I use all the time?

> Sure. You could use a null-modem ( crossover ) cable to connect the
> serial port of the RH machine to the serial port of the PC. You will
> need some sort of terminal program for the PC, such as 'commo',
> 'hyperterminal', etc., which is capable of running without using
> a modem.

Has 'hyperterminal' been ported to Linux?  :)

If you're interested in a Serial Console, check the HOWTOs at
www.tldp.org:  "Remote Serial Console".

--
Dave Brown  Austin, TX

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Jeff » Mon, 16 Sep 2002 05:07:35



> Is it possible to upgrade a remote RH 7.2 server through SSH?

> What tools would one use?  up2date?

> Does one have to go through all of the RH 7.3 RPMs?

> Thanks,
> Phil

You could use Kickstart and make a unattended upgrade install floppy and
have who ever is at the remote location put in the floppy, cdrom and
reboot the system.
 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Andrew Schult » Mon, 16 Sep 2002 05:12:44



> Has 'hyperterminal' been ported to Linux?  :)

uh, ya.  The linux version is called "minicom"

--
------------------------------------------------------------------
  Andrew Schultz                    | The views expressed might

  http://www4.ncsu.edu/~ajschult/   | They are however, correct.

 
 
 

Remotely Upgrade RH 7.2 to 7.3

Post by Jeff Grossma » Mon, 16 Sep 2002 09:30:52





>> > So you can put console on serial portj and dial into it using modem.
>> > This would involve some local help, like hook up modem, lines.....

>> I have my Redhat machine running as a server right next to me.  But,
>> currently, there is no monitor.  Is there a way I can connect the
>> console output to my PC which I use all the time?

>Sure. You could use a null-modem ( crossover ) cable to connect the
>serial port of the RH machine to the serial port of the PC. You will
>need some sort of terminal program for the PC, such as 'commo',
>'hyperterminal', etc., which is capable of running without using
>a modem.

>Set up the RH machine with 'agetty','mgetty', or similar so that
>you can login via the serial port.

>Change the security defaults of the RH machine so you can login
>as root through the serial port. Alternatively, login as a 'normal'
>user and 'su -' to root.

Okay, I think I can do that.  But, will that give me the console, or
just a login?  I can login just fine to that Redhat machine using
telnet or ssh.  But, that does not give me the console screen.  Will
the null-modem method using either agetty or mgetty give me the
console?

Thanks,
Jeff

--