ERA/O troubles (a crashed adapter) - remote flash

Neil list-linux-poweredge--dell.com at iamafreeman.com
Tue Oct 5 17:03:00 CDT 2004


Hello

This uses the rac tool ethernet connection not the ppp link, thats the main 
reason I use it

Despite that i'm not confident it'll help you anyway, but worth a go?

Neil

On Monday 04 October 2004 18:40, Taneli Leppä wrote:
> Hi,
>
> I'm pretty sure that this doesn't work since it seems
> the script requires an established PPP connection with
> the RAC. My RAC is too dazed to even allow a connection
> to be established.
>
> Thanks for the script, though :) I'm sure it will be
> useful to someone.
>
> Neil wrote:
> > I give no warranty and I'm not sure this will work if you card is really
> > up the spout but...
> >
> > I flash ERA/0's on 2650's remotely using PowerEdge::RAC and a tftp server
> >
> > and the following (based on the script that comes with PowerEdge::RAC)
> >
> > #!/usr/bin/perl -w
> >
> > eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
> >     if 0; # not running under some shell
> > use strict;
> > use PowerEdge::RAC qw(prompt);
> >
> > my ($host, $user, $pass, $ip, $dir) = ('') x 5;
> >
> > print 'Example script to update the firmware on a RAC card.'. "\n";
> >
> > if ($ARGV[0]) {
> >   $host=$ARGV[0];
> > } else {
> > $host = prompt('Enter the RAC card\'s IP address : ','192.168.254.70');
> > }
> > $host = "192.168.254.$host" unless $host =~ /\./;
> >
> > $user ||= 'root';
> > $pass ||= 'calvin';
> >
> > my $server = new PowerEdge::RAC(
> >       host => $host,
> >       user => $user,
> >       password => $pass,
> > );
> >
> > my ($def_ip, $def_dir);
> > print 'Getting defaults from the RAC ...'."\n";
> > my $c = $server->config('TFTP_ADDR_FIRMWARE', 'TFTP_FIRMWARE_FILE');
> > $ip  = '192.168.254.1';
> > $dir = '/racfirmware/';
> >
> > my $h = $server->sysinfo('Host Name') || 'no set';
> > warn "\nStarting RAC firmware update on $host (name: $h) now!\n";
> > warn "Press Ctrl-c within five seconds to abort\n";
> >
> > $| = 1;
> > for (1..5) { print "."; sleep 1; };
> >
> > print "\n". 'Updating firmware'. "\n";
> > print 'Transfering image ..';
> >
> > my $r = $server->fwupdate($ip, $dir);
> >
> > print 'Done.'. "\n";
> >
> > On Monday 04 Oct 2004 15:47, Taneli Leppä wrote:
> >>Hello,
> >>
> >>We had our server crash this afternoon. We have the ERA/O module in it
> >>(good), but I was unable to reboot the server using it (bad).
> >>
> >>The web interface was hanging at login (I managed to load the login
> >>screen once which took about 15 minutes, but I was unable to continue
> >>from there). After 30 minutes of trying to log in, the RAC adapter
> >>stopped responding altogether. So we power-cycled the server physically.
> >>
> >>But that's apparently not enough to snap the RAC adapter back to
> >>its senses: the PPP connection is not established (the adapter
> >>does not respond) and loading esm.o simply says:
> >>
> >>Unable to initialize the ESM device driver, major number: 253
> >>
> >>I spoke to Dell support and they suggested trying to re-flash the
> >>adapter using a floppy (maybe the floppy has some sort of special
> >>connection to the adapter) from the server console. However, each
> >>visit to the hosting site costs us money and time.
> >>
> >>The server is a production system so powering it and waiting for the ERA
> >>battery to drain is out of question. What can we do? Simply ask for a
> >>new adapter?
> >
> > _______________________________________________
> > Linux-PowerEdge mailing list
> > Linux-PowerEdge at dell.com
> > http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> > Please read the FAQ at http://lists.us.dell.com/faq




More information about the Linux-PowerEdge mailing list