Hi, On Fri, Sep 12, 2008 at 07:14:45PM -0700, Zack Gilburd wrote: > Oddly enough, I am still getting timeouts every time as per my original > message in the thread. I can successfully stonith the node from the > command line using the script you gave me, however.
Normally, that really shouldn't happen. If the stonith configuration is the same as what you give on the command line, then stonithd should carry out the fencing operations in the same timeframe. You can try to add "debug 1" to the configuration and post logs somewhere and I can take a look at them. > Perhaps this is a bug afterall. Of course, there's always a possibility. If you believe that it's a bug please open a bugzilla with all relevant information and preferable using hb_report to generate a report. Thanks, Dejan > > Jeremy, > > > > Excellent, thank you. > > > > So I gather then that you placed no constraints on this resource, correct? > > > > Cheers, > > Z > > > >> Zack Gilburd wrote: > >>> Are you suggesting that I put the entries in separate groups? I don't > >> No, just one line, match your username/passwords on the IPMI interfaces > >> and then use a single stonith stanza with the > >> hostnames and ipaddrs like: > >> > >> <nvpair id="f4511eb5-0c0c-4178-ae9c-d8e44e6a55db" name="hostname" > >> value="ctrl1,ctrl2,ctrl3"/> > >> <nvpair id="858efbcd-744e-430d-89c7-a0cbfb9a588f" name="ipaddr" > >> value="192.168.1.200,192.168.1.201,192.168.1.202"/> > >> > >> Make sure the host names and IP addresses are in the same order (aka 201 > >> is for ctrl2). > >> > >> > >> > >>> considering that their BMC boards listen on separate IPs. I can't > >>> think > >>> of a good way to differentiate the hosts in that case. > >> Stonith passes the hostname of the device to be managed to the script. > >> Its up to the script to select the correct one > >> to actually power cycle. The "dumber" devices like the ipmi script need > >> to > >> have the hostnames passed in for comparison > >> purposes. Hence the hostname list, I guess in theory you can get rid of > >> both the hostname and ipaddr parameters if your > >> willing to provide DNS entries of the form hostname-IPMI or similar > >> (this > >> is what the riloe script does). That way when > >> stonith says reset ctrl1, the script knows to talk to ctrl1-ipmi. > >> > >> > >>> I would be interested in seeing your script, though. I am open to > >>> trying anything, at this point. Because this cluster in particular is > >> I attached it. You must use it for the syntax I pointed out above to > >> work. > >> > >> > >> _______________________________________________________ > >> Linux-HA-Dev: [email protected] > >> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > >> Home Page: http://linux-ha.org/ > >> > > > > > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > > > > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
