[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] fence_ipmilan



Hi there,

I’m trying to setup a cluster and had issues with ‘fence_ipmilan’ from the package fence-agents.

I’m 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 )

I’ve 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 )

I’ve played around with available parameters and wasn’t 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

 

Johannes

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]