[ClusterLabs] building from source

Aaron Cody aaron at aaroncody.com
Fri Dec 1 18:05:40 EST 2017


Unfortunately just upgrading to the latest RHEL is problematic for us as we
are working in a highly qualified environment (based around RHEL 7.2), so I
was hoping to get the latest HA stuff by just building it from source...
I looked at the available RPM packages in the RH HA repo but they don't
seem to be the 'latest' ... could you let me know which versions of what I
would need to download and build to get the latest and greatest?
thanks

On Wed, Nov 29, 2017 at 7:03 AM, Ken Gaillot <kgaillot at redhat.com> wrote:

> On Tue, 2017-11-28 at 11:23 -0800, Aaron Cody wrote:
> > I'm trying to build all of the pacemaker/corosync components from
> > source instead of using the redhat rpms - I have a few questions.
> >
> > I'm building on redhat 7.2 and so far I have been able to build:
> >
> > libqb 1.0.2
> > pacemaker 1.1.18
> > corosync 2.4.3
> > resource-agents 4.0.1
> >
> > however I have not been able to build pcs yet, i'm getting ruby
> > errors:
> >
> > sudo make install_pcsd
> > which: no python3 in (/sbin:/bin:/usr/sbin:/usr/bin)
> > make -C pcsd build_gems
> > make[1]: Entering directory `/home/whacuser/pcs/pcsd'
> > bundle package
> > `ruby_22` is not a valid platform. The available options are: [:ruby,
> > :ruby_18, :ruby_19, :ruby_20, :ruby_21, :mri, :mri_18, :mri_19,
> > :mri_20, :mri_21, :rbx, :jruby,
> > :jruby_18, :jruby_19, :mswin, :mingw, :mingw_18, :mingw_19,
> > :mingw_20, :mingw_21, :x64_mingw, :x64_mingw_20, :x64_mingw_21]
> > make[1]: *** [get_gems] Error 4
> > make[1]: Leaving directory `/home/whacuser/pcs/pcsd'
> > make: *** [install_pcsd] Error 2
> >
> >
> > Q1: Is this the complete set of components I need to build?
>
> Not considering pcs, yes.
>
> > Q2: do I need cluster-glue?
>
> It's only used now to be able to use heartbeat-style fence agents. If
> you have what you need in Red Hat's fence agent packages, you don't
> need it.
>
> > Q3: any idea how I can get past the build error with pcsd?
> > Q4: if I use the pcs rpm instead of building pcs from source, I see
> > an error when my cluster starts up 'unable to get cib'. This didn't
> > happen when I was using the redhat rpms, so i'm wondering what i'm
> > missing...
> >
> > thanks
>
> pcs development is closely tied to Red Hat releases, so it's hit-or-
> miss mixing and matching pcs and RHEL versions. Upgrading to RHEL 7.4
> would get you recent versions of everything, though, so that would be
> easiest if it's an option.
> --
> Ken Gaillot <kgaillot at redhat.com>
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://lists.clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20171201/2a117331/attachment-0002.html>


More information about the Users mailing list