Hi there, thanks for your reply.
This version is in the debian stable repositories, Ive installed from there. http://packages.debian.org/search?keywords=fence-agents Next time I know better Kind regards Von: linux-cluster-boun...@redhat.com [mailto:linux-cluster-boun...@redhat.com] Im Auftrag von Marek Grac Gesendet: Donnerstag, 1. August 2013 09:40 An: linux-cluster@redhat.com Betreff: Re: [Linux-cluster] fence_ipmilan On 07/31/2013 03:57 PM, Johannes Mäulen wrote: Hi there, Im trying to setup a cluster and had issues with fence_ipmilan from the package fence-agents. Im running debian 7.1 with a 3.2.0-4-amd64 kernel. fence_ipmilan V gives fence_ipmilan 3.1.5 My Cluster nodes are running on Supermicro Motherboards with IPMI on-board. (To be exact: http://www.supermicro.nl/products/motherboard/Xeon/C202_C204/X9SCA-F.cfm ) Ive experienced the following behavior: fence_ipmilan -a xxx.xxx.xxx.xxx -l USER-p PASS -v -o off; echo $? Powering off machine @ IPMI:xxx.xxx.xxx.xxx...Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power off'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power off'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power off'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power off'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power off'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power off'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power off'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power off'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... ipmilan: Power still on Failed 1 More or less in the same moment when I got this message the machine went down. So all the commands were working, but not in the expected time. ( Using Supermicro Mainboards with IPMI onboard, http://www.supermicro.nl/products/motherboard/Xeon/C202_C204/X9SCA-F.cfm ) Ive played around with available parameters and wasnt able to fix this behavior. So I went into the source code(fence-agents-3.1.5/fence/agents/ipmilan/ipmilan.c) and had a look at the ipmi_off function. There was a fixed value of 2 seconds to sleep. I modified this to use the same parameter like ipmi_on: ipmi-> i_power_wait instead of 2, so that I can modify this value and test if it has effect on my problem. Now when I use the modified version of fence_ipmilan the output looks like: ./fence_ipmilan -a xxx.xxx.xxx.xxx -l USER -p PASS -T 10 -v -o off ; echo $? Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power off'... Spawning: '/usr/bin/ipmitool -I lan -H 'xxx.xxx.xxx.xxx' -U 'USER' -P 'PASS' -v chassis power status'... Done 0 So I think this fixed my problem, and I think it might help other users experiencing the same issues. Kind regards Thanks for reporting, I'm quite suprised that you use such old version. This issue was fixed in 3.1.8 (26 Mar 2012) m,
smime.p7s
Description: S/MIME cryptographic signature
-- Linux-cluster mailing list Linux-cluster@redhat.com https://www.redhat.com/mailman/listinfo/linux-cluster