From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <586aa74459bb99e8a715bc932a79b789@quintile.net> References: <586aa74459bb99e8a715bc932a79b789@quintile.net> Date: Tue, 12 May 2009 12:49:28 -0600 Message-ID: <14ec7b180905121149l38a73804x1f3b56f6ce97e56b@mail.gmail.com> From: andrey mirtchovski To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] auto reconnect for cpu servers Topicbox-Message-UUID: f8cd0282-ead4-11e9-9d60-3106f5b1d025 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 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 > >