First, thanks for ipmi_sim, it may be the key to virtualizing our clusters
for testing!

I'm running ipmi_sim against qemu+ipmi (from github).  Sometimes,  my
guests get stuck where they're unable to write to /dev/watchdog:

printf "\x00" > /dev/watchdog
-bash: printf: write error: Invalid argument

dmesg shows:
[  421.514473] IPMI Watchdog: response: Error f0 on cmd 22
[  421.515125] IPMI Watchdog: Unexpected close, not stopping watchdog!
[  421.517388] IPMI Watchdog: response: Error f0 on cmd 22


Also,  I've had to hack in a NULL test to avoid a segfault because the
watchdog sensor is not configured:
https://github.com/noelbk/openipmi/commit/ba895c75603b31bb15eccdfa98aafedbf8088496

Anything I can fix with a config?

Here's how I run ipmi_sim:

ipmi_sim -n -c ./ipmi1.conf -f ipmisim.emu &


and here's ipmisim.emu:

mc_setbmc 0x20
mc_add 0x20 0 no-device-sdrs 0x23 9 8 0x9f 0x1291 0xf02 persist_sdr
sel_enable 0x20 1000 0x0a

# Add a temperature sensor and its SDR.  Note that sensor 0 is already
# taken as the watchdog sensor.
sensor_add 0x20 0 1 0x01 0x01
sensor_set_value 0x20 0 1 0x60 0
sensor_set_threshold 0x20 0 1 settable 111000 0xa0 0x90 0x70 00 00 00
sensor_set_event_support 0x20 0 1 enable scanning per-state \
000111111000000 000111111000000 \
000111111000000 000111111000000

# Turn on the BMC
mc_enable 0x20


I'm running about 12 instances of ipmi_sim on the same host with different
ips each attached to its own network interface.


Cheers,
--
Noel
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to