[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Hot swapping Ethernet Cards



On Mon, Dec 20, 1999 at 01:45:46PM +0530, Binand Raj S. wrote:
> skhader@xxxxxxxxxx forced the electrons to say:
> > Can anybody here provide me with a script for the same and the relevant
> > crontab entry.
> 
> something like:
> 
> #! /bin/sh
> 
> if ! /sbin/ifconfig eth0; then
>    #switch to the second card...
> fi
> 
> should work.

This assumes a benign failure. It won't work in the case of a byzantine
failure - where eth0 doesn't work, but the interface stays up.

I don't think my solution is good either. A better solution is to have
some form of hardware failure detection and notification of the OS.

	-Arun

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.