I was working on setting up Pacemaker here at Weebly for an internal project. Everything was going smoothly until I started to setup STONITH. When I tried to add the device I was greeted with errors like this:
ERROR: stonith-server1: parameter passwd does not exist ERROR: stonith-server1: parameter ipaddr does not exist ERROR: stonith-server1: parameter hostname does not exist And on and on and on. Googling around, you'll see a bunch of red herring messages about RHEL6 and something about their own STONITH agents. But hey, I'm using CentOS 5 and using the clusterlabs.com RPM's. That shouldn't bother me right? Well, sorta. The error condition is a false for RHEL6, but it is indicative of the same cause. Pacemaker can't find the right library files. The command line tools all work fine, but the Pacemaker CRM pukes on it. The cause? lib vs lib64. Yes, people are still messing this up after all these years (especially Red Hat packagers -- *ruby*). Symlink /usr/lib64/stonith to /usr/lib/stonith, then restart corosync on your nodes. Once you do that, you'll be able to add the correct stonith resources.This is a pretty big mistake. I'm honestly quite shocked they made it. Just wanted to spread the good word about the fantastic San Francisco event that is Stern Grove. I've been a few times in years past, so this year I donated some moolah to their cause. Money well spent. This year's lineup has been great -- Stephanie and I went to see Aaron Neville on Sunday. We both really enjoyed the concert. Just look at the smile on this girl! Anyway, I encourage everyone to check it out and give them some loot if you do enjoy it. Hell, give them some loot anyway. The concerts are free, so they really do need donations to keep operating. Plus, if you donate over a certain amount, you get reserved access to these cool picnic tables and on site parking.
Stern Grove website |
AuthorA NOLA native just trying to get by. I live in San Francisco and work as a digital plumber for the joint that runs this thing. (Square/Weebly) Thoughts are mine, not my company's. Archives
May 2021
Categories
All
|