9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] auto reconnect for cpu servers
Date: Tue, 12 May 2009 11:50:42 -0700	[thread overview]
Message-ID: <dd6fe68a0905121150s70de75edqc54aadc5160719bd@mail.gmail.com> (raw)
In-Reply-To: <586aa74459bb99e8a715bc932a79b789@quintile.net>

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


  parent reply	other threads:[~2009-05-12 18:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12 18:43 Steve Simon
2009-05-12 18:49 ` andrey mirtchovski
2009-05-12 18:50 ` Russ Cox [this message]
2009-05-12 20:14   ` Gorka Guardiola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd6fe68a0905121150s70de75edqc54aadc5160719bd@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).