Return-Path: william@bourbon.usc.edu Delivery-Date: Fri Oct 31 09:00:32 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m9VG0Wkq018503 for ; Fri, 31 Oct 2008 09:00:32 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m9VGCOdc028809 for ; Fri, 31 Oct 2008 09:12:24 -0700 Message-Id: <200810311612.m9VGCOdc028809@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: restart Date: Fri, 31 Oct 2008 09:12:24 -0700 From: Bill Cheng Someone wrote: > On not receiveing a check response within the stipulated time or when not > able to connect to enough neighbors in init_neighbor_list file, we do a > soft-restart so do we delete the init_neighbor_list file in the former case > also or in both cases? In the first case (CHECK failed), you should not delete init_neighbor_list file. In the 2nd case (when you start/restart with init_neighbor_list file and cannot find MinNeighbors number of neighbors), then you delete init_neihbor_list file. > Also should the log file be deleted for these cases ? No. You only delete the log file when your node is started with -reset. > Also, should we assume that the startup.ini that is going to be provided, > will be in the home directory? No. It can be anywhere. Even in /tmp. It's a commandline argument, you just need to open the file. You don't need to do anything special with the filename. After you've parsed the file, you know the HomeDir of this node. -- Bill Cheng // bill.cheng@usc.edu