* [9fans] auto reconnect for cpu servers
@ 2009-05-12 18:43 Steve Simon
2009-05-12 18:49 ` andrey mirtchovski
2009-05-12 18:50 ` Russ Cox
0 siblings, 2 replies; 4+ messages in thread
From: Steve Simon @ 2009-05-12 18:43 UTC (permalink / raw)
To: 9fans
Is there a technique or program that can be used on a diskless
cpu server to make it auto-reconnect when the file server reboots?
I remember reading about the Challange file servers at the labs,
in which (I believe) the cyclone driver would write reboot to
/dev/reboot if the connection dropped.
Is there somthing similar I could do elegantly with a tcp/ip
connection? I could just do a readdir(2) of / every 10 secs and
reboot if that fails but I assume somthing already exists.
-Steve
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] auto reconnect for cpu servers
2009-05-12 18:43 [9fans] auto reconnect for cpu servers Steve Simon
@ 2009-05-12 18:49 ` andrey mirtchovski
2009-05-12 18:50 ` Russ Cox
1 sibling, 0 replies; 4+ messages in thread
From: andrey mirtchovski @ 2009-05-12 18:49 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
see aux/reboot. it reboots the cpu server upon loss of remote fs connection.
On Tue, May 12, 2009 at 12:43 PM, Steve Simon <steve@quintile.net> wrote:
> Is there a technique or program that can be used on a diskless
> cpu server to make it auto-reconnect when the file server reboots?
>
> I remember reading about the Challange file servers at the labs,
> in which (I believe) the cyclone driver would write reboot to
> /dev/reboot if the connection dropped.
>
> Is there somthing similar I could do elegantly with a tcp/ip
> connection? I could just do a readdir(2) of / every 10 secs and
> reboot if that fails but I assume somthing already exists.
>
> -Steve
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] auto reconnect for cpu servers
2009-05-12 18:43 [9fans] auto reconnect for cpu servers Steve Simon
2009-05-12 18:49 ` andrey mirtchovski
@ 2009-05-12 18:50 ` Russ Cox
2009-05-12 20:14 ` Gorka Guardiola
1 sibling, 1 reply; 4+ messages in thread
From: Russ Cox @ 2009-05-12 18:50 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Tue, May 12, 2009 at 11:43 AM, Steve Simon <steve@quintile.net> wrote:
> Is there a technique or program that can be used on a diskless
> cpu server to make it auto-reconnect when the file server reboots?
>
> I remember reading about the Challange file servers at the labs,
> in which (I believe) the cyclone driver would write reboot to
> /dev/reboot if the connection dropped.
>
> Is there somthing similar I could do elegantly with a tcp/ip
> connection? I could just do a readdir(2) of / every 10 secs and
> reboot if that fails but I assume somthing already exists.
aux/reboot
there is also recover (gorka should know where the
source is these days) but that requires building a
custom kernel to connect through it, and i'm not
sure how well that particular setup works.
russ
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] auto reconnect for cpu servers
2009-05-12 18:50 ` Russ Cox
@ 2009-05-12 20:14 ` Gorka Guardiola
0 siblings, 0 replies; 4+ messages in thread
From: Gorka Guardiola @ 2009-05-12 20:14 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Tue, May 12, 2009 at 8:50 PM, Russ Cox <rsc@swtch.com> wrote:
>
> there is also recover (gorka should know where the
> source is these days) but that requires building a
> custom kernel to connect through it, and i'm not
> sure how well that particular setup works.
>
The source for recover is in my contrib directory.
I have never tried it in that
setup either.
--
- curiosity sKilled the cat
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-12 20:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-12 18:43 [9fans] auto reconnect for cpu servers Steve Simon
2009-05-12 18:49 ` andrey mirtchovski
2009-05-12 18:50 ` Russ Cox
2009-05-12 20:14 ` Gorka Guardiola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).