DIQ'S DEN - WWW.COUYON.NET
  • Home
  • Blog
  • Photos

Silly Pacemaker, Get Your Libs Straight

8/17/2011

 
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.

Comments are closed.

    Author

    A 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.

    Picture
    Moi

    Archives

    May 2021
    April 2021
    March 2021
    February 2021
    December 2019
    April 2019
    July 2018
    February 2018
    January 2017
    August 2016
    May 2016
    June 2015
    May 2015
    December 2014
    July 2014
    March 2014
    December 2013
    November 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    October 2012
    July 2012
    June 2012
    April 2012
    March 2012
    February 2012
    November 2011
    September 2011
    August 2011
    June 2011
    May 2011

    Categories

    All
    Cajun
    Computers And Internet
    Cooking
    Creole
    Food
    Gumbo
    Nola
    Recipe
    Sf

    RSS Feed

Proudly powered by Weebly
  • Home
  • Blog
  • Photos