[Linux-HA] Correct way to run BasicSanityCheck?
John Felczak
jfelczak at siderean.com
Tue Sep 5 17:33:34 MDT 2006
JF>> What is the officially correct way to run BasicSanityCheck?
JF>> In the course of troubleshooting an earlier problem, I've built
JF>> heartbeat 2.0.7 from source on a machine in our test lab that runs the
JF>> same OS (64-bit Fedora Core 5) as our production systems, and now am
JF>> trying to run BasicSanityCheck against it.
JF>> The comments at the beginning of the script say "CANNOT have a real
JF>> heartbeat configuration". Am I correct in assuming that this means I
JF>> need to rename or remove ha.cf, haresources, authkeys, cib.xml, etc.?
AR> In spite of the comments, it will move them to the side and put them back.
AR> There is basically no wrong way to run BSC. Unlike CTS, it's pretty simple to run.
AR> Your 13 errors are real. It isn't installed correctly. Installing from RPM is a good idea.
AR> Why don't you install the fedora packages of heartbeat?
Hi Alan! Thank you for the response.
Yes, I figured out soon after posting that BasicSanityCheck ignored my config files and was able to test what it needed to. The 13 errors were indeed real, and were caused by the fact that neither the earlier RPM install nor the later "make install" after building from source had ever created the hacluster user and haclient group. Manually creating those and re-running BasicSanityCheck got me down to 2 errors, caused by hacluster not being able to write to its home directory, so I had to chown the directory. Once the hacluster user was able to write to its home directory I got a slew of other errors relating to pengine and other obscure things, but I'll start a fresh thread on those, as they're trending away from the original topic of this thread.
As to why I built from source, the RPMs I originally got from yum were screwing up the library paths on my 64-bit version of FC5 because it seems the RPM code didn't fully understand the concept of /usr/lib64, so Andrew B. recommended I uninstall the RPMs and build from source. In short, available FC5 RPMs don't work right on my 64-bit distribution.
John J. Felczak
Build & Integration Manager
Siderean Software, Inc.
www.siderean.com
More information about the Linux-HA
mailing list