so, i'm testing fencing. i have a supermicro board with dedicated ipmi bmc. (bios & ipmi firmware are on the latest revision available)
pve2.0 on latest version through full-upgrade, fence-agents-pve & ipmitool installed.
powering off/on a server works with ipmitool and this command (as example):
takes around 3-4 seconds after a
replies with Chassis Power is off
good so far, now with the fence_ipmilan wrapper:
this fails ipmilan: Power still on
however when adding a -v:
uhm ? right, it spawns ipmitool in rapid succession with the exact commandline i've wrote above and already confirmed to be working fine. to me it looks like it either ignores the -T parameter or the spawn spamming keeps resetting the command queue on the bmc which seem to only execute the last one send.
is there a way to increase the delay between the spawning of ipmitool processes (for what the -T switch was supposed to be there ? guessing here) ?
or any other suggestions ?
thanks.
pve2.0 on latest version through full-upgrade, fence-agents-pve & ipmitool installed.
powering off/on a server works with ipmitool and this command (as example):
Code:
ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P 'ipmipassword' -v chassis power off
Code:
ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername -P 'ipmipassword' -v chassis power status
good so far, now with the fence_ipmilan wrapper:
Code:
fence_ipmilan -l ipmiusername -p ipmipassword -P -a 192.168.190.83 -T 4 -o off
however when adding a -v:
Code:
fence_ipmilan -l ipmiusername -p ipmipassword -P -a 192.168.190.83 -T 4 -o off -v
Powering off machine @ IPMI:192.168.190.83...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power status'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power off'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power status'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power off'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power status'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power off'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power status'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power off'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power status'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power off'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power status'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power off'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power status'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power off'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power status'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power off'...
Spawning: '/usr/bin/ipmitool -I lanplus -H '192.168.190.83' -U 'ipmiusername' -P '[set]' -v chassis power status'...
ipmilan: Power still on
Failed
uhm ? right, it spawns ipmitool in rapid succession with the exact commandline i've wrote above and already confirmed to be working fine. to me it looks like it either ignores the -T parameter or the spawn spamming keeps resetting the command queue on the bmc which seem to only execute the last one send.
is there a way to increase the delay between the spawning of ipmitool processes (for what the -T switch was supposed to be there ? guessing here) ?
or any other suggestions ?
thanks.