I¹m still confused. How does the list coming from stonith l get populated? I see it goes I ha.cf for V1 configurations, but I can¹t see where it goes for V2. Also, I¹ve got a device question. I¹m trying to get a Baytech to work, and it needs not only a login name and password, but it also needs an outlet number. When ask stonith what is needed for the baytech device, it only lists user name, password and IP address. However, when I look in the C code for the module itself, it keeps referring to variable called unum, which seems to be a socket number on the switch. It seems like that needs to go in an external config file, but I¹m puzzled as to where that goes too. TIA. -- Terry Hull Network Resource Group, Inc. President
On 2/2/09 3:04 AM, in article [email protected], "Dominik Klein" <[email protected]> wrote: > Terry Hull wrote: >> I have been looking at STONITH examples on the web and am somewhat confused. >> I can't figure out how STONITH knows how to kill an individual server. I've >> been looking at some examples such as this one. How does heartbeat know >> that this will shut off node01. I see the nodename set to node01, but does >> that do it? >> >>[CIB stuff deleted] > > The stonith daemon uses stonith -l to get the device's nodelist. So it > knows which nodes a stonith device can manage. > > The location constraint just makes sure the resource is never run on the > node this device can manage. Actually, that should not be necessary. > Afaik, the cluster makes sure a stonith resource is -if possible - not > running on a node which is managed by that agent. > > Regards > Dominik > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
