Discussion:
[Pacemaker] pacemaker-remote debian wheezy
Thomas Manninger
2015-01-12 09:46:05 UTC
Permalink
_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
David Vossel
2015-01-12 17:34:12 UTC
Permalink
----- Original Message -----
> Hi,
> what is the best way, to install in a debian wheezy vm the package
> "pacemaker-remote"? This package is in the debian repository not available.

I have no clue.

I just want to point out, if your host OS is debian wheezy and the pacemaker-remote
package is in fact unavailable, it is possible the version of pacemaker shipped
with wheezy doesn't even have the capability of managing pacemaker_remote nodes.

-- Vossel

> Thanks!
> Regards,
> Thomas
>
> _______________________________________________
> Pacemaker mailing list: ***@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>

_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Ken Gaillot
2015-01-12 18:42:50 UTC
Permalink
On 01/12/2015 12:34 PM, David Vossel wrote:
> ----- Original Message -----
>> what is the best way, to install in a debian wheezy vm the package
>> "pacemaker-remote"? This package is in the debian repository not available.
>
> I have no clue.
>
> I just want to point out, if your host OS is debian wheezy and the pacemaker-remote
> package is in fact unavailable, it is possible the version of pacemaker shipped
> with wheezy doesn't even have the capability of managing pacemaker_remote nodes.
>
> -- Vossel

Wheezy's pacemaker 1.1.7 does not support pacemaker-remote; jessie's
1.1.10 should work in a jessie VM, but be aware pacemaker-remote
received improvements and bugfixes since then.

Of course you can compile 1.1.12 yourself (and optionally use
checkinstall to make .deb's, see https://wiki.debian.org/CheckInstall).
Unfortunately you can't backport the 1.1.10 jessie packages (which
normally would be pretty easy) because the dependencies get too hairy
(in particular you wind up needing a newer version of gcc than is in
wheezy).

_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Thomas Manninger
2015-01-13 08:26:42 UTC
Permalink
_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Ken Gaillot
2015-01-13 15:32:42 UTC
Permalink
On 01/13/2015 03:26 AM, Thomas Manninger wrote:
> Hi,
> thanks for answer!
> I try to build my own dpkg package with the newest source.
> Is the pacemaker-remote stable for productive use?

Yes

_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Thomas Manninger
2015-01-13 08:55:56 UTC
Permalink
_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Ken Gaillot
2015-01-13 15:36:33 UTC
Permalink
On 01/13/2015 03:55 AM, Thomas Manninger wrote:
> Hi,
> http://clusterlabs.org/wiki/SourceInstall
> can i use libQB and corosync from the debian repo, and only compile
> pacemaker?

Corosync should be fine (but be aware wheezy has 1.x and not 2.x when
reading how-to's); libqb is iffy, you're probably better off compiling
it too.

> Wheezy's pacemaker 1.1.7 does not support pacemaker-remote; jessie's
> 1.1.10 should work in a jessie VM, but be aware pacemaker-remote
> received improvements and bugfixes since then.
>
> Of course you can compile 1.1.12 yourself (and optionally use
> checkinstall to make .deb's, see https://wiki.debian.org/CheckInstall).
> Unfortunately you can't backport the 1.1.10 jessie packages (which
> normally would be pretty easy) because the dependencies get too hairy
> (in particular you wind up needing a newer version of gcc than is in
> wheezy).


_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Thomas Manninger
2015-01-15 13:11:38 UTC
Permalink
_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Kristoffer Grönlund
2015-01-15 13:18:45 UTC
Permalink
Thomas Manninger <***@gmx.at> writes:

> Hi,
> I compiled the latest libqb, corosync and pacemaker from source.
> Now there is no crm command available? Is there another standard
> shell?
> Should i use crmadmin?
> Thanks!
> Regards
> Thomas

You can get crmsh and build from source at crmsh.github.io, or try the
.rpm packages for various distributions here:

https://build.opensuse.org/package/show/network:ha-clustering:Stable/crmsh

Best regards,
Kristoffer

--
// Kristoffer Grönlund
// ***@suse.com

_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs:
Kostiantyn Ponomarenko
2015-01-15 13:20:27 UTC
Permalink
Hi Thomas,

I don't remember starting from which version of Pacemaker "crmsh" is not
included in it anymore.
It goes as a independent product.
You can get it back.
Here is the link https://github.com/crmsh/crmsh/ .
Build and install =)

Thank you,
Kostya

On Thu, Jan 15, 2015 at 3:18 PM, Kristoffer Grönlund <***@suse.com>
wrote:

> Thomas Manninger <***@gmx.at> writes:
>
> > Hi,
> > I compiled the latest libqb, corosync and pacemaker from source.
> > Now there is no crm command available? Is there another standard
> > shell?
> > Should i use crmadmin?
> > Thanks!
> > Regards
> > Thomas
>
> You can get crmsh and build from source at crmsh.github.io, or try the
> .rpm packages for various distributions here:
>
> https://build.opensuse.org/package/show/network:ha-clustering:Stable/crmsh
>
> Best regards,
> Kristoffer
>
> --
> // Kristoffer Grönlund
> // ***@suse.com
>
> _______________________________________________
> Pacemaker mailing list: ***@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
Ken Gaillot
2015-01-15 14:16:36 UTC
Permalink
On 01/15/2015 08:18 AM, Kristoffer Grönlund wrote:
> Thomas Manninger <***@gmx.at> writes:
>
>> Hi,
>> I compiled the latest libqb, corosync and pacemaker from source.
>> Now there is no crm command available? Is there another standard
>> shell?
>> Should i use crmadmin?
>> Thanks!
>> Regards
>> Thomas
>
> You can get crmsh and build from source at crmsh.github.io, or try the
> .rpm packages for various distributions here:
>
> https://build.opensuse.org/package/show/network:ha-clustering:Stable/crmsh

Congratulations on getting that far, that's probably the hardest part :-)

The crm shell was part of the pacemaker packages in Debian squeeze. It
was going to be separated into its own package for jessie, but that
hasn't made it out of sid/unstable yet, so it might not make it into the
final release.

Since you've built everything else from source, that's probably easiest,
but if you want to try ...

For the rpm mentioned above, have a look at alien
(https://wiki.debian.org/Alien). crmsh is a standalone package so
hopefully it would work; I wouldn't try alien for something as
complicated as all the rpm's that go into a pacemaker install.

You could try backporting the sid package
https://packages.debian.org/source/sid/crmsh but I suspect the
dependencies would get you.

In theory the crm binary from the squeeze packages should work with the
newer pacemaker, if you can straighten out the library dependencies.

Or you can use the crm*/cib* command-line tools that come with pacemaker
if you don't mind the lower-level approach.

_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_fro
Thomas Manninger
2015-01-15 15:44:20 UTC
Permalink
_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Kostiantyn Ponomarenko
2015-01-15 17:21:16 UTC
Permalink
Thomas,

There was a need for me to run the latest cluster stuff on Debian 7.
So I created a document for myself to use.
I don't claim this doc to be the best way to go, but it works for me.
I hope it will work for you as well.

Here is the doc's content:


Software


-

libqb 0.17.0
-

corosync 2.3.3
-

cluster-glue 1.0.12
-

resource-agents 3.9.5
-

pacemaker 1.1.12
-

crmsh 2.1.0


IMPORTANT: do this installation step-by-step as here, the order is
significant.


Pre-Configuration

$ sudo apt-get install build-essential

$ sudo apt-get install automake autoconf

$ sudo apt-get install libtool

$ sudo apt-get install pkg-config


LIBQB (needed by Corosync)

https://github.com/ClusterLabs/libqb/releases

$ echo "0.17.0" > .tarball-version

$ ./autogen.sh

$ ./configure

$ make

$ sudo make install


COROSYNC

https://github.com/corosync/corosync/releases

$ sudo apt-get install libnss3-dev

$ echo "2.3.3" > .tarball-version

$ ./autogen.sh

$ ./configure

$ make

$ sudo make install




CLUSTER-GLUE (node fencing plugins, an error reporting utility, and other
reusable cluster components from the Linux HA project)

http://hg.linux-ha.org/glue/archive/glue-1.0.12.tar.bz2

$ sudo apt-get install libaio-dev

(!) install dependencies for pacemaker (below) before proceed

$ ./autogen.sh

$ ./configure --enable-fatal-warnings=no

$ make

$ sudo make install


RESOURCE-AGENTS (Combined repository of OCF agents from the RHCS and
Linux-HA projects)

https://github.com/ClusterLabs/resource-agents/releases

$ echo "3.9.5" > .tarball-version

$ ./autogen.sh

$ ./configure

$ make

$ sudo make install


PACEMAKER

https://github.com/ClusterLabs/pacemaker/releases

$ sudo apt-get install uuid-dev

$ sudo apt-get install libglib2.0-dev

$ sudo apt-get install libxml2-dev

$ sudo apt-get install libxslt1-dev

$ sudo apt-get install libbz2-dev

$ sudo apt-get install libncurses5-dev

$ sudo addgroup --system haclient

$ sudo adduser --system --no-create-home --ingroup haclient hacluster

$ ./autogen.sh

$ ./configure

$ make

$ sudo make install



CRMSH

https://github.com/crmsh/crmsh/releases

$ sudo apt-get install python-lxml

$ ./autogen.sh

$ ./configure

$ make
$ sudo make install


Thank you,
Kostya

On Thu, Jan 15, 2015 at 5:44 PM, Thomas Manninger <***@gmx.at> wrote:

> Hi,
>
> i also compiled the pacemaker_mgmt. I can start the hb_gui, but i have no
> server daemon?
> I used git://github.com/ClusterLabs/pacemaker-mgmt.git as source.
>
> Is the server in another repo??
>
> I used:
> ./ConfigureMe configure
> ./ConfigureMe make
> checkinstall --fstrans=no ./ConfigureMe install
>
> regards
> thomas
>
> *Gesendet:* Donnerstag, 15. Januar 2015 um 15:16 Uhr
> *Von:* "Ken Gaillot" <***@redhat.com>
> *An:* ***@oss.clusterlabs.org
> *Betreff:* Re: [Pacemaker] pacemaker-remote debian wheezy
> On 01/15/2015 08:18 AM, Kristoffer Grönlund wrote:
> > Thomas Manninger <***@gmx.at> writes:
> >
> >> Hi,
> >> I compiled the latest libqb, corosync and pacemaker from source.
> >> Now there is no crm command available? Is there another standard
> >> shell?
> >> Should i use crmadmin?
> >> Thanks!
> >> Regards
> >> Thomas
> >
> > You can get crmsh and build from source at crmsh.github.io, or try the
> > .rpm packages for various distributions here:
> >
> >
> https://build.opensuse.org/package/show/network:ha-clustering:Stable/crmsh
>
> Congratulations on getting that far, that's probably the hardest part :-)
>
> The crm shell was part of the pacemaker packages in Debian squeeze. It
> was going to be separated into its own package for jessie, but that
> hasn't made it out of sid/unstable yet, so it might not make it into the
> final release.
>
> Since you've built everything else from source, that's probably easiest,
> but if you want to try ...
>
> For the rpm mentioned above, have a look at alien
> (https://wiki.debian.org/Alien). crmsh is a standalone package so
> hopefully it would work; I wouldn't try alien for something as
> complicated as all the rpm's that go into a pacemaker install.
>
> You could try backporting the sid package
> https://packages.debian.org/source/sid/crmsh but I suspect the
> dependencies would get you.
>
> In theory the crm binary from the squeeze packages should work with the
> newer pacemaker, if you can straighten out the library dependencies.
>
> Or you can use the crm*/cib* command-line tools that come with pacemaker
> if you don't mind the lower-level approach.
>
> _______________________________________________
> Pacemaker mailing list: ***@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
> _______________________________________________
> Pacemaker mailing list: ***@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
>
Alexis de BRUYN
2015-03-14 15:10:07 UTC
Permalink
Hi Kostya,

Sorry to bother you off-list but I just want to know if you use DRBD in
your setup on Debian.

I have some issues with DRBD with Corosync/Pacemaker, my resources are
never promoted in active/active mode.

Thanks for your answer.

Best regards,

Alexis.

On 01/15/15 18:21, Kostiantyn Ponomarenko wrote:
> Thomas,
>
> There was a need for me to run the latest cluster stuff on Debian 7.
> So I created a document for myself to use.
> I don't claim this doc to be the best way to go, but it works for me.
> I hope it will work for you as well.
>
> Here is the doc's content:
>
>
> Software
>
>
> *
>
> libqb 0.17.0
>
> *
>
> corosync 2.3.3
>
> *
>
> cluster-glue 1.0.12
>
> *
>
> resource-agents 3.9.5
>
> *
>
> pacemaker 1.1.12
>
> *
>
> crmsh 2.1.0
>
>
> IMPORTANT: do this installation step-by-step as here, the order is
> significant.
>
>
>
> Pre-Configuration
>
>
> $ sudo apt-get install build-essential
>
> $ sudo apt-get install automake autoconf
>
> $ sudo apt-get install libtool
>
> $ sudo apt-get install pkg-config
>
>
>
> LIBQB (needed by Corosync)
>
> https://github.com/ClusterLabs/libqb/releases
>
>
> $ echo "0.17.0" > .tarball-version
>
> $ ./autogen.sh
>
> $ ./configure
>
> $ make
>
> $ sudo make install
>
>
>
> COROSYNC
>
> https://github.com/corosync/corosync/releases
>
>
> $ sudo apt-get install libnss3-dev
>
>
> $ echo "2.3.3" > .tarball-version
>
> $ ./autogen.sh
>
> $ ./configure
>
> $ make
>
> $ sudo make install
>
>
>
>
>
> CLUSTER-GLUE(node fencing plugins, an error reporting utility, and other
> reusable cluster components from the Linux HA project)
>
> http://hg.linux-ha.org/glue/archive/glue-1.0.12.tar.bz2
>
>
> $ sudo apt-get install libaio-dev
>
> (!) install dependencies for pacemaker (below) before proceed
>
>
> $ ./autogen.sh
>
> $ ./configure --enable-fatal-warnings=no
>
> $ make
>
> $ sudo make install
>
>
>
> RESOURCE-AGENTS(Combined repository of OCF agents from the RHCS and
> Linux-HA projects)
>
> https://github.com/ClusterLabs/resource-agents/releases
>
>
> $ echo "3.9.5" > .tarball-version
>
> $ ./autogen.sh
>
> $ ./configure
>
> $ make
>
> $ sudo make install
>
>
>
> PACEMAKER
>
> https://github.com/ClusterLabs/pacemaker/releases
>
>
> $ sudo apt-get install uuid-dev
>
> $ sudo apt-get install libglib2.0-dev
>
> $ sudo apt-get install libxml2-dev
>
> $ sudo apt-get install libxslt1-dev
>
> $ sudo apt-get install libbz2-dev
>
> $ sudo apt-get install libncurses5-dev
>
>
> $ sudo addgroup --system haclient
>
> $ sudo adduser --system --no-create-home --ingroup haclient hacluster
>
>
> $ ./autogen.sh
>
> $ ./configure
>
> $ make
>
> $ sudo make install
>
>
>
>
> CRMSH
>
> https://github.com/crmsh/crmsh/releases
>
>
> $ sudo apt-get install python-lxml
>
>
> $ ./autogen.sh
>
> $ ./configure
>
> $ make
>
> $ sudo make install
>
>
> Thank you,
> Kostya
>
> On Thu, Jan 15, 2015 at 5:44 PM, Thomas Manninger <***@gmx.at
> <mailto:***@gmx.at>> wrote:
>
> Hi,
> i also compiled the pacemaker_mgmt. I can start the hb_gui, but i
> have no server daemon?
> I used git://github.com/ClusterLabs/pacemaker-mgmt.git
> <http://github.com/ClusterLabs/pacemaker-mgmt.git> as source.
> Is the server in another repo??
> I used:
> ./ConfigureMe configure
> ./ConfigureMe make
> checkinstall --fstrans=no ./ConfigureMe install
> regards
> thomas
> *Gesendet:* Donnerstag, 15. Januar 2015 um 15:16 Uhr
> *Von:* "Ken Gaillot" <***@redhat.com <mailto:***@redhat.com>>
> *An:* ***@oss.clusterlabs.org
> <mailto:***@oss.clusterlabs.org>
> *Betreff:* Re: [Pacemaker] pacemaker-remote debian wheezy
> On 01/15/2015 08:18 AM, Kristoffer Grönlund wrote:
> > Thomas Manninger <***@gmx.at <mailto:***@gmx.at>>
> writes:
> >
> >> Hi,
> >> I compiled the latest libqb, corosync and pacemaker from source.
> >> Now there is no crm command available? Is there another standard
> >> shell?
> >> Should i use crmadmin?
> >> Thanks!
> >> Regards
> >> Thomas
> >
> > You can get crmsh and build from source at crmsh.github.io
> <http://crmsh.github.io>, or try the
> > .rpm packages for various distributions here:
> >
> >
> https://build.opensuse.org/package/show/network:ha-clustering:Stable/crmsh
>
> Congratulations on getting that far, that's probably the hardest
> part :-)
>
> The crm shell was part of the pacemaker packages in Debian squeeze. It
> was going to be separated into its own package for jessie, but that
> hasn't made it out of sid/unstable yet, so it might not make it into the
> final release.
>
> Since you've built everything else from source, that's probably easiest,
> but if you want to try ...
>
> For the rpm mentioned above, have a look at alien
> (https://wiki.debian.org/Alien). crmsh is a standalone package so
> hopefully it would work; I wouldn't try alien for something as
> complicated as all the rpm's that go into a pacemaker install.
>
> You could try backporting the sid package
> https://packages.debian.org/source/sid/crmsh but I suspect the
> dependencies would get you.
>
> In theory the crm binary from the squeeze packages should work with the
> newer pacemaker, if you can straighten out the library dependencies.
>
> Or you can use the crm*/cib* command-line tools that come with pacemaker
> if you don't mind the lower-level approach.
>
> _______________________________________________
> Pacemaker mailing list: ***@oss.clusterlabs.org
> <mailto:***@oss.clusterlabs.org>
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
> _______________________________________________
> Pacemaker mailing list: ***@oss.clusterlabs.org
> <mailto:***@oss.clusterlabs.org>
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
>
>
>
> _______________________________________________
> Pacemaker mailing list: ***@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>

--
Alexis de BRUYN

_______________________________________________
Pacemaker mailing list: ***@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Kostiantyn Ponomarenko
2015-03-14 19:42:30 UTC
Permalink
Hi Alexis,

Sorry, I didn't work with drbd.
Try to look here
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html-single/Clusters_from_Scratch/
.

Thank you,
Kostya
Loading...