[Pacemaker] Bringing High Availability to OpenStack Keystone and Glance

2012-04-03 Thread Martin Gerhard Loschwitz
Hi folks,

there have been some discussions lately on the topic of OpenStack and High
Availability. To take this discussion one step further, I started to work
on OCF resource agents for Keystone and Glance. They allow administrators
to integrate keystone, glance-registry and glance-api into the Pacemaker
cluster manager. I tested them a lot and they worked just fine in my setup, 
so I thought i'd put them up here for discussion.

I wrote a blog post about this which includes the links to the actual files. 
You can find it here:

http://www.hastexo.com/blogs/martin/2012/04/03/bringing-high-availability-openstack-keystone-and-glance

I am keen on hearing your opinion and your feedback on this, so please don't
hestitate to either reply to this email or leave a comment behind in my blog.

Thanks a lot!

Best regards
Martin

-- 
Martin Gerhard Loschwitz 
Principal Consultant 
hastexo Professional Services 

___
Pacemaker mailing list: Pacemaker@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] Announcing updated Linux Cluster Stack packages for Ubuntu 10.04

2011-10-24 Thread Martin Gerhard Loschwitz
Hello everybody on the list,

I'm happy to announce the availability of updated Linux Cluster Stack Packages
for Ubuntu 10.04, including Corosync 1.4.2 and Pacemaker 1.1.6. For details on
the packages and on how to install them, please refer to the explanation in my 
blog, which is available at 

http://martinloschwitz.wordpress.com/2011/10/24/updated-linux-cluster-stack-packages-for-ubuntu-10-04/

Best regards
Martin

-- 
Need help with Pacemaker?
http://www.hastexo.com/knowledge/pacemaker

___
Pacemaker mailing list: Pacemaker@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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] Announcing Pacemaker 1.1.5 for Debian GNU/Linux

2011-08-26 Thread Martin Gerhard Loschwitz
Ladies and Gentlemen,

Pacemaker 1.1.5 has just hit Debian GNU/Linux Unstable ("Sid") along with
according versions of corosync (1.4.1), cluster-glue (1.0.7+hg), 
resource-agents (3.9.2) and Heartbeat (3.0.5).

I have also prepared Backports for Debian GNU/Linux 6.0 ("Squeeze") but can
not upload them to the official Backports repository yet (the packages from
which the Backports come must make it into the "testing" branch first before
I can upload them to Backports). For those of you who can absolutely not
wait for the new packages, I made them available in a separate repository in
my people.debian.org account. Just add the following to your sources.list 
and you are ready to go:

deb http://people.debian.org/~madkiss/pacemaker-1.1 squeeze main
deb-src http://people.debian.org/~madkiss/pacemaker-1.1 squeeze main

Best regards
Martin G. Loschwitz

-- 
: Martin Gerhard Loschwitz
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-63, Fax: +43-1-8178292-82
:
: http://www.linbit.com


Stay up to date on Linux and High Availability! Visit us on Facebook:
http://www.facebook.com/pages/LINBIT-DRBD/346343405475/


DRBD® and LINBIT® are registered trademarks of LINBIT.

This e-mail is solely for use by the intended recipient(s). Information
contained in this e-mail and its attachments may be confidential,
privileged or copyrighted. If you are not the intended recipient you are
hereby formally notified that any use, copying, disclosure or
distribution of the contents of this e-mail, in whole or in part, is
prohibited. Also please notify immediately the sender by return e-mail
and delete this e-mail from your system. Thank you for your co-operation.


___
Pacemaker mailing list: Pacemaker@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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] Linux-HA clusterstack available for Debian GNU/Linux 5.0 (Lenny) from backports.org

2010-07-08 Thread Martin Gerhard Loschwitz
Ladies and Gentlemen,

I am happy to announce that as of today, pre-built packages
for the Linux-HA clusterstack for Debian GNU/Linux 5.0 alias
Lenny are available in the backports.org-repository.

[mar...@screwdriver:~]$ rmadison -u bpo corosync
corosync | 1.2.1-1~bpo50+1 | lenny-backports | source, amd64, i386
[mar...@screwdriver:~]$ rmadison -u bpo openais
openais | 1.1.2-2~bpo50+1 | lenny-backports | source, amd64, i386
[mar...@screwdriver:~]$ rmadison -u bpo cluster-glue
cluster-glue | 1.0.5-2~bpo50+1 | lenny-backports | source, amd64, i386
[mar...@screwdriver:~]$ rmadison -u bpo cluster-agents
cluster-agents | 1:1.0.3-3~bpo50+1 | lenny-backports | source, amd64, i386
[mar...@screwdriver:~]$ rmadison -u bpo heartbeat
heartbeat | 1:3.0.3-2~bpo50+1 | lenny-backports | source, amd64, i386
[mar...@screwdriver:~]$ rmadison -u bpo pacemaker
pacemaker | 1.0.8+hg15494-4~bpo50+1 | lenny-backports | source, amd64, i386

This means that from now on, in order to install up-to-date
versions of corosync/heartbeat, cluster-agents, cluster-glue
and pacemaker on Lenny, all you really have to do is set
your system up to use the backports.org-repository. aptitude
(or apt-get) will then just install the new packages.

The "ha"-repository on http://people.debian.org/~madkiss/
will be disabled soon, please adapt your system accordingly.

Best regards
Martin G. Loschwitz

-- 
: Martin Gerhard Loschwitz : LINBIT | Your Way to High Availability :
Tel: +43-1-8178292-63, Fax: +43-1-8178292-82 : : http://www.linbit.com

Need real High Availability for your data? Go DRBD today!
http://www.linbit.com/en/products-services/drbd/

DRBD® and LINBIT® are registered trademarks of LINBIT. This e-mail is
solely for use by the intended recipient(s). Information contained in
this e-mail and its attachments may be confidential, privileged or
copyrighted. If you are not the intended recipient you are hereby
formally notified that any use, copying, disclosure or distribution of
the contents of this e-mail, in whole or in part, is prohibited. Also
please notify immediately the sender by return e-mail and delete this
e-mail from your system. Thank you for your co-operation.

___
Pacemaker mailing list: Pacemaker@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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] Debian packages of the clusterstack updated once more -- urgent call for testers

2010-02-03 Thread Martin Gerhard Loschwitz
Ladies and Gentleman,

once more have these packages been updated; they now include the latest stable
versions of the clusterstack. That means:

Cluster-Glue 1.0.2
Cluster-Agents 1.0.3
Heartbeat 3.0.2
Pacemaker 1.0.7+hg20100203

Sources are available, too (at least for the lenny backports, but apart from the
changelog entries, they are identical).

Anibal, Simon, anybody else: Please help me with testing these packages as good
and as intensive as possible; if you have any spare time, please also help to 
make them lintian-clean and to fix up copyright files so that we can go ahead 
and
get this stuff into unstable as quickly as possible.

Any comments are wholeheartedly welcome!

Best regards
Martin G. Loschwitz

-- 
: Martin Gerhard Loschwitz
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-63, Fax: +43-1-8178292-82
:
: http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT.

This e-mail is solely for use by the intended recipient(s). Information
contained in this e-mail and its attachments may be confidential,
privileged or copyrighted. If you are not the intended recipient you are
hereby formally notified that any use, copying, disclosure or
distribution of the contents of this e-mail, in whole or in part, is
prohibited. Also please notify immediately the sender by return e-mail
and delete this e-mail from your system. Thank you for your co-operation.

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


[Pacemaker] Debian packages of the clusterstack updated

2010-01-27 Thread Martin Gerhard Loschwitz
Ladies and Gentleman,

it's a great pleasure for me to announce the availability of up-to-date packages
of the standard cluster stack components once more, including all the recently
released release-candidates from Heartbeat, Cluster-Glue and Cluster-Agents as
well as Pacemaker 1.0.7. 

Packages available for Lenny on amd64 and i386 from the usual source:

deb http://people.debian.org/~madkiss/ha lenny main
deb-src http://people.debian.org/~madkiss/ha lenny main

-- 
: Martin Gerhard Loschwitz
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-63, Fax: +43-1-8178292-82
:
: http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT.

This e-mail is solely for use by the intended recipient(s). Information
contained in this e-mail and its attachments may be confidential,
privileged or copyrighted. If you are not the intended recipient you are
hereby formally notified that any use, copying, disclosure or
distribution of the contents of this e-mail, in whole or in part, is
prohibited. Also please notify immediately the sender by return e-mail
and delete this e-mail from your system. Thank you for your co-operation.

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


[Pacemaker] [ANNOUNCEMENT] Debian Packages for Pacemaker 1.0.6, completely revamped

2009-11-03 Thread Martin Gerhard Loschwitz
Ladies and Gentleman,

i am happy to announce the availability of Pacemaker 1.0.6 packages
for Debian GNU/Linux 5.0 alias Lenny (i386 and amd64).

These packages are a remarkable break, as they have totally and
ruthlessly been revamped. The whole layout has actually changed;
here are the most important things to keep in mind when using them:

* pacemaker-openais and pacemaker-heartbeat are gone; pacemaker now
only comes in one flavour, having support for corosync and heartbeat
built it. This is based on pacemaker's capability to detect by which
messaging framework it has been started and act accordingly.

* openais is gone. pacemaker 1.0.6 uses corosync.

* the new layout allows flawless updates. if you have heartbeat
2.1.4 and do a dist-upgrade, you will automatically get pacemaker.
all you need to do afterwards is converting the xml-file to work
with pacemaker -- you can then start heartbeat, and things are
going to be fine (more on this can be found in the Clusterlabs-
Wiki)

* Now that we finally have a decent layout for pacemaker, we can
easily provide gui packages: welcome pacemaker-mgmt, being in good
condition and shape now, allowing you do administer your cluster
via a GTK tool.

The new packages can as always be found on:

deb http://people.debian.org/~madkiss/ha lenny main
deb-src http://people.debian.org/~madkiss/ha lenny main

-- 
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


[Pacemaker] Updated packages for Debian w/ openais only

2009-10-13 Thread Martin Gerhard Loschwitz
Folks,

once again I announce another set of packages; given that corosync
has so far proven to be a moving target, I decided that at least
for the moment, the packages for lenny are going to be openais with
whitetank only.

I have updated my packages at people.debian.org accordingly; they
contain openais-whitetank, cluster-glue, cluster-agents, heartbeat
and of course pacemaker. All versions are from yesterday, i.e. a
brand new pacemaker and openais 0.80.6. Please test them and report
problems you find.

Note that these packages are available in the "old", "stable" part
of my repo, which you can use by adding this to your sources.list:

deb http://people.debian.org/~madkiss/ha lenny main
deb-src deb http://people.debian.org/~madkiss/ha lenny main

(There are also packages available for Sid).

Please note that there is no "upgrade" path from the previous beta-
packages based on corosync; these are going to be continue, but
obviously they are not made for non-developers, at least at the
time of me writing this.

M.

-- 
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


[Pacemaker] Announcing Pacemaker 1.0.5 packages for Debian (with cluster-glue coming all along)

2009-09-15 Thread Martin Gerhard Loschwitz
Hi folks,

after such a long time of (apparent) inactivity by me, I am happy to
announce the availability of Pacemaker 1.0.5 packages for Debian Sid
and Lenny.

Along with them comes the new upstream infrastructure: Cluster-Glue,
Cluster-Agents and the cleaned up Heartbeat.

Please note that these packages are available from a new repository.
This has a simple reason: Corosync and OpenAIS are going to break
those setups that are using the old packages; I did not want that to
happen. I.e. I am not providing a real update path, but I am making
sure that at least people don't get into bigger trouble than necess-
ary.

Please also note that these packages are explicitly marked BETA. If
you install them, expect to find bugs. Please report them to make it
easier to fix them. Keep, however, in mind that I am not going to be
available due to VAC stuff starting on saturday for two weeks.

Find the packages here:

deb http://people.debian.org/~madkiss/ha-corosync lenny main
deb-src http://people.debian.org/~madkiss/ha-corosync lenny main

Or, if you like the bleeding edge and use Sid:

deb http://people.debian.org/~madkiss/ha-corosync sid main
deb-src http://people.debian.org/~madkiss/ha-corosync sid main

-- 
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [Debian-HA] Updates: Pacemaker 1.0.4, Pacemaker Management Client

2009-06-07 Thread Martin Gerhard Loschwitz

Martin Gerhard Loschwitz schrieb:

Hi Folks,

just another rounds of updates flying in as I am writing this. Pacemaker
1.0.4 is now available for Debian in my repository (lenny for amd64/i386
and sid for amd64), and there's another big thing.

(Actually it's a rather small thing, but many of you asked for it, so I
guess some of you consider it the big deal).

Management Packages are available now for OpenAIS and Heartbeat. Let me
get this straight: The way they are built is butt ugly, and I hope I 
will come up with a nicer solution until I upload them to Unstable. But 
as we

are speaking, i'm okay with it, and I hope so are you.

The package names are "pacemaker-mgmt-{heartbeat,openais}-{client}" and
the packages can be found in my repository.

Just for those who forgot meanwhile, the URL to add to your sources.list
is this one:

deb http://people.debian.org/~madkiss/ha lenny main (for lenny)
deb http://people.debian.org/~madkiss/ha lenny main (for sid)

Please feel free to test the packages and give feedback. The OpenAIS mgmt
stuff at least workd fine on a cluster that I tested it on, even remote
with X forwarding enabled.

Best Regards
Martin



Okay, the URL for sid of course is:

deb http://people.debian.org/~madkiss/ha sid main

Oh, and, yeah, another thing I forgot to mention is that the Release.gpg
is now signed with my key that is also in the Debian Keyring.

Best Regards
Martin

--
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


[Pacemaker] [Debian-HA] Updates: Pacemaker 1.0.4, Pacemaker Management Client

2009-06-07 Thread Martin Gerhard Loschwitz

Hi Folks,

just another rounds of updates flying in as I am writing this. Pacemaker
1.0.4 is now available for Debian in my repository (lenny for amd64/i386
and sid for amd64), and there's another big thing.

(Actually it's a rather small thing, but many of you asked for it, so I
guess some of you consider it the big deal).

Management Packages are available now for OpenAIS and Heartbeat. Let me
get this straight: The way they are built is butt ugly, and I hope I will 
come up with a nicer solution until I upload them to Unstable. But as we

are speaking, i'm okay with it, and I hope so are you.

The package names are "pacemaker-mgmt-{heartbeat,openais}-{client}" and
the packages can be found in my repository.

Just for those who forgot meanwhile, the URL to add to your sources.list
is this one:

deb http://people.debian.org/~madkiss/ha lenny main (for lenny)
deb http://people.debian.org/~madkiss/ha lenny main (for sid)

Please feel free to test the packages and give feedback. The OpenAIS mgmt
stuff at least workd fine on a cluster that I tested it on, even remote
with X forwarding enabled.

Best Regards
Martin

--
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] Redesigned Debian HA packages, try 3 (was: try 2)

2009-06-02 Thread Martin Gerhard Loschwitz
Juha Heinanen wrote:
> martin,
> 
> i tried to install heartbeat and pacemaker using today's packages from
> 
> deb http://people.debian.org/~madkiss/ha lenny main
> 
> and file
> 
> /usr/share/doc/heartbeat/README.lrm_regression_tests.gz
> 
> is still in two packages:
> 
> p$ dpkg --contents heartbeat_2.99.2+sles11r9-4~bpo50+1_i386.deb  | egrep 
> lrm_regression_tests.gz
> -rw-r--r-- root/root  2151 2009-06-01 20:20 
> ./usr/share/doc/heartbeat/README.lrm_regression_tests.gz
> 
> $ dpkg --contents heartbeat-common_2.99.2+sles11r9-4~bpo50+1_i386.deb | egrep 
> lrm_regression_tests.gz
> -rw-r--r-- root/root  2151 2009-06-01 20:20 
> ./usr/share/doc/heartbeat/README.lrm_regression_tests.gz
> 
> -- juha
> 
> 
> 
> ___
> Pacemaker mailing list
> Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Sorry,

this was a mistake in debian/rules that I now fixed; the packages
ought to install correctly in revision -5 of the heartbeat packages.

M.

-- 
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


[Pacemaker] [RfC] Redesigned Debian HA packages, try 3 (was: try 2)

2009-06-01 Thread Martin Gerhard Loschwitz

Folks,

another update. New packages of openais and heartbeat; the former
don't add an ais-user anyway and have a new init-script, the latter
fix the nasty one-file-in-two-dependant-packages bug.

And another news item: I finally built up an archive infrastructure
so that the URL from which you can get the packages has slightly
changed.

It's now like this:

deb http://people.debian.org/~madkiss/ha lenny main

Or, if you use Sid indeed:

deb http://people.debian.org/~madkiss/ha sid main

These lines will work regardless whether you have amd64 or i386.
Just this single line will bring you the latest packages from my
repository.

The old files have been moved away.

Best Regards
Martin

--
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] lvm2-clvm RPMs in opensuse.org package repo?

2009-05-28 Thread Martin Gerhard Loschwitz
Andrew Beekhof wrote:
> On Wed, May 27, 2009 at 3:57 PM, Florian Haas  wrote:
>> Hmmm.
>>
>> Debian lenny is on 2.6.26, and it already has clvm, albeit including a
>> dependency on cman which is now probably obsolete. Rumor has it that
>> Martin is working on fixing that. :)
> 
> Right.
> I've basically come to the conclusion that I should disable the builds
> for Debian-based distros.
> 
> The build service doesn't create them correctly and I'm in no position
> to verify them.
> Once he's done, these will be the official debian builds for pacemaker
> (and probably the rest of the stack too).
> 

Andrew,

thank you very much for the trust you put in me; i'm most delighted
about it. :-)

As for the topic mentioned in the subject, I prepared some packages
to make lvm and clvm work with my openais-legacy packages (and
without the cman-dependency, thus leaving the outdated openais-
packages out of the loop). To use them in Debian GNU/Linux 5.0 alias
Lenny, add the following to your sources.list-file:

"deb http://people.debian.org/~madkiss/clvm/amd64 ./" (for amd64)
"deb http://people.debian.org/~madkiss/clvm/i386 ./" (for i386)
"deb http://people.debian.org/~madkiss/clvm/src ./" (for sources)

Additionally, you will need this for openais-legacy:

"deb http://people.debian.org/~madkiss/ha/lenny/ ./" (for amd64)
"deb http://people.debian.org/~madkiss/ha/lenny/i386 ./" (for i386)

Just install the "clvm-openais"-package afterwards. If you have any
pinning in place, you will need to change that accordingly.

Please note that these packages are designwise not compatible with
the standard Lenny ones. A better solution for clvm-openais needs
to be found as soon as cman and openais in unstable were brought to
a more recent state than the one they are in at the moment.

Best regards
Martin

-- 
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2

2009-05-27 Thread Martin Gerhard Loschwitz
Martin Gerhard Loschwitz wrote:
> Martin Gerhard Loschwitz schrieb:
>>
>> And here are packages for Lenny / i386:
>>
>> deb http://people.debian.org/~madkiss/ha/lenny/i386 ./
>>
>> Please feel free to test and send feedback! :-)
>>
> 
> Folks,
> 
> while doing some further testing, I spotted some more errors that
> were potentially harmful; I created new versions of Pacemaker and
> Heartbeat, both are available the usual place (and thus people
> with the lines suggested above will get updated packages automa-
> tically when doing an update / dist-upgrade).
> 
> The new versions are available for sid/lenny-i386/lenny-amd64.
> 
> Best Regards
> M.
> ___
> Pacemaker mailing list
> Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Hi folks,

yet another round of updates; openais and heartbeat this time,
mostly to fix those things spooted by Raoul. Huge Kudos goes to
Andrew Beekhof for his support.

Location as usual. Available for Sid (amd64) and Lenny (x86/amd64).

Regards
M.

-- 
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-26 Thread Martin Gerhard Loschwitz

Raoul Bhatia [IPAX] schrieb:

8. q. should pacemaker-openais add the service definition for pacemaker
to /etc/init.d/openais.conf?

e.g.:


service {
# Load the Pacemaker Cluster Resource Manager
ver:   0
name:  pacemaker
use_mgmtd: yes
}


cheers,
raoul


This is a rather tough thing. I am not sure that this is allowed by the 
Debian policy (I am, in fact, rather sure that it's not). 


Having this happen automatically would involve some magic in the postinst
script of pacemaker, and accordingly some more magic in the postrm script
to remove the stanza that was previously added.

Additionally, we would be modifying a configuration file that does not
even belong to the package itself (pacemaker-openais vs. openais.conf).

I will take a look at the policy tomorrow to check in how far this is
legal in Debian terms; don't expect too much,tho.

M.

--
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-26 Thread Martin Gerhard Loschwitz

Raoul Bhatia [IPAX] schrieb:

9. i think a logrotate configuration i missing from openais-legacy:

e.g.

# cat /etc/logrotate.d/openais-legacy
/var/log/openais/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
}


cheers,
raoul


Thank you; applied.

M.

--
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-26 Thread Martin Gerhard Loschwitz

Raoul Bhatia [IPAX] schrieb:

7. i am not finding /usr/sbin/ocf-tester in any package.

cheers,
raoul


It's in the heartbeat package; is this another candidate for "move
over to heartbeat-common"?

M.

--
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-26 Thread Martin Gerhard Loschwitz

Raoul Bhatia [IPAX] schrieb:

6. # getent passwd ais

ais:x:104:108::/home/ais:/bin/false


shouldn't ais' homedir be set to something like /var/lib/openais ?

cheers,
raoul


You are right; the current setting is not optimal, I will discuss
with Simon and Anibal which directory would be the best for this.

M.

--
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-26 Thread Martin Gerhard Loschwitz

Raoul Bhatia [IPAX] schrieb:

Raoul Bhatia [IPAX] wrote:

4. installation of pacemaker-openais fails with:

Reading package lists... Done
Building dependency tree   
Reading state information... Done

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
hg-snapshot-script: nothing to be done
Setting up pacemaker-openais (1.0.3+svn20090522-1~bpo50+1) ...
chown: cannot access `/var/run/heartbeat/crm': No such file or directory

^^

dpkg: error processing pacemaker-openais (--configure):


i've discovered another missing directory:


/var/lib/heartbeat/pengine


cheers,
raoul


Fixed in the latest version of these packages as well.

M.

--
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-26 Thread Martin Gerhard Loschwitz

Raoul Bhatia [IPAX] schrieb:

feedback:

1. openais-legacy 0.80.5+svn20090522-1~bpo50+1 installs

/etc
/etc/openais
/etc/openais/openais.conf
/etc/openais/amf.conf


and a symlink inside /etc/.

ais -> openais




I fear that many people inside Debian will consider "/etc/ais" to be way too
generic; I even had some headache regarding /etc/openais vs. 
/etc/openais-legacy,
but finally went that road as you can not install them together anyway. Making
openais use /etc/openais directly is on my TODO.


but the deamon searches for the configuration in /etc/ais/ by default.
q. should we not avoid such symlinks?

2. i like the comments inside the openais.conf file. please include
them. please refer to openais.conf.patch


I will consider this ...


3. in the postrm script, i suggest openais-legacy.postrm.patch


Thanks, applied in my local working base.


4. installation of pacemaker-openais fails with:

Reading package lists... Done
Building dependency tree   
Reading state information... Done

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
hg-snapshot-script: nothing to be done
Setting up pacemaker-openais (1.0.3+svn20090522-1~bpo50+1) ...
chown: cannot access `/var/run/heartbeat/crm': No such file or directory

^^

dpkg: error processing pacemaker-openais (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 pacemaker-openais
hg-snapshot-script: nothing to be done
E: Sub-process /usr/bin/dpkg returned an error code (1)



That should be fixed in the latest version of the packages.


who should provide this directory? originally, this was provide by
"heartbeat".

fyi, i purged my configuration to my best knowledge  and installed the
following packages:


ii  heartbeat-common2.99.2+sles11r9-1~bpo50+1Subsystem 
for High-Availability Linux (commo
ii  libheartbeat2   2.99.2+sles11r9-1~bpo50+1Subsystem 
for High-Availability Linux (libra
ii  libopenais-legacy-2 0.80.5+svn20090522-1~bpo50+1 
Standards-based cluster framework (libraries
ii  openais-legacy  0.80.5+svn20090522-1~bpo50+1 
Standards-based cluster framework (daemon an
iF  pacemaker-openais   1.0.3+svn20090522-1~bpo50+1  HA cluster 
resource manager for OpenAIS


thanks for your work!

cheers,
raoul




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


M.

--
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-26 Thread Martin Gerhard Loschwitz

Martin Gerhard Loschwitz schrieb:


And here are packages for Lenny / i386:

deb http://people.debian.org/~madkiss/ha/lenny/i386 ./

Please feel free to test and send feedback! :-)



Folks,

while doing some further testing, I spotted some more errors that
were potentially harmful; I created new versions of Pacemaker and
Heartbeat, both are available the usual place (and thus people
with the lines suggested above will get updated packages automa-
tically when doing an update / dist-upgrade).

The new versions are available for sid/lenny-i386/lenny-amd64.

Best Regards
M. 


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


Re: [Pacemaker] [Fwd: Re: [RfC] Redesigned Debian HA packages, try 2 (was: try 1)]]

2009-05-25 Thread Martin Gerhard Loschwitz
Florian Haas wrote:
> Hello,
> 
> for some reason, Martin's post isn't making it through, so he asked me
> to forward. Let's hope it works out this time...
> 
> Cheers,
> Florian
> 
>  Original Message 
> Subject: [Fwd: Re: [Pacemaker] [RfC] Redesigned Debian HA packages, try
> 2 (was: try 1)]
> Date: Mon, 25 May 2009 07:14:34 +0200
> From: Martin Gerhard Loschwitz 
> 
> Simon Horman schrieb:
>> Hi,
>>
>> Has there been any progress with getting these packages into experimental?
>>
> 
> Hi folks,
> 
> it's me again after some kind of longer outage; I overworked the packages
> and created new ones of the latest upstream versions.
> 
> openais-legacy has lately been ACCEPTed into Experimental; heartbeat and
> pacemaker are in the NEW queue since today and wait for their inclusion.
> 
> I also created Lenny packages. These packages are proven to work on Lenny
> and allow you to run an openais-pacemaker or heartbeat-pacemaker-based
> cluster on Debian GNU/Linux 5.0 alias Lenny. They are available only for
> the amd64-architecture at the moment, but I hope to add x86-versions to
> the archive tomorrow.
> 
> Anybody who wants to test them finds the versions for Unstable alias Sid
> here:
> 
> deb http://people.debian.org/~madkiss/ha/sid/ ./
> deb-src http://people.debian.org/~madkiss/ha/sid/ ./
> 
> Stable aka Debian GNU/Linux 5.0 (Lenny) users go here:
> 
> deb http://people.debian.org/~madkiss/ha/lenny/ ./
> deb-src http://people.debian.org/~madkiss/ha/lenny/ ./
> 
> These packages are mostly lintian clean by now.
> 
> Please report back any glitches or packaging mistakes you spot.
> 
> Best Regards
> Martin
> 
> ___
> Pacemaker mailing list
> Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 

And here are packages for Lenny / i386:

deb http://people.debian.org/~madkiss/ha/lenny/i386 ./

Please feel free to test and send feedback! :-)

-- 
: Martin G. Loschwitz   Tel +43-1-8178292-63  :
: LINBIT Information Technologies GmbH  Fax +43-1-8178292-82  :
: Vivenotgasse 48, 1120 Vienna, Austria http://www.linbit.com :

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


Re: [Pacemaker] [RfC] Redesigned Debian HA packages, try 2 (was: try 1)

2009-05-25 Thread Martin Gerhard Loschwitz

Simon Horman schrieb:

Hi,

Has there been any progress with getting these packages into experimental?



Hi folks,

it's me again after some kind of longer outage; I overworked the packages
and created new ones of the latest upstream versions.

openais-legacy has lately been ACCEPTed into Experimental; heartbeat and
pacemaker are in the NEW queue since today and wait for their inclusion.

I also created Lenny packages. These packages are proven to work on Lenny
and allow you to run an openais-pacemaker or heartbeat-pacemaker-based
cluster on Debian GNU/Linux 5.0 alias Lenny. They are available only for
the amd64-architecture at the moment, but I hope to add x86-versions to
the archive tomorrow.

Anybody who wants to test them finds the versions for Unstable alias Sid
here:

deb http://people.debian.org/~madkiss/ha/sid/ ./
deb-src http://people.debian.org/~madkiss/ha/sid/ ./

Stable aka Debian GNU/Linux 5.0 (Lenny) users go here:

deb http://people.debian.org/~madkiss/ha/lenny/ ./
deb-src http://people.debian.org/~madkiss/ha/lenny/ ./

These packages are mostly lintian clean by now.

Please report back any glitches or packaging mistakes you spot.

Best Regards
Martin

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


[Pacemaker] [RfC] Redesigned Debian HA packages, try 1

2009-03-22 Thread Martin Gerhard Loschwitz

Hi folks,

my name is Martin Loschwitz, I am working for LINBIT, the DRBD upstream
and furthermore I am Debian GNU/Linux Developer. As we use Debian on a
rather large number of systems, i have a fairly vital interest in sane
and well designed packages for openais, pacemaker and heartbeat. This is
why I did the work that I will describe further down in this email, and
this actually also is why I am writing this mail at all.

After numerous consultations with Anabel and Simon, the Debian pacemaker
and heartbeat packages, as well as after consultations with the Debian
Kernel team, that is maintaining OpenAIS at the moment, I redesigned the
way of how OpenAIS, Pacemaker and Heartbeat are packaged in Debian. This
mainly happened to achieve the following goals:

* Make it possible to run pacemaker mostly independant from Heartbeat
* Get a more recent version of OpenAIS into Debian (currently, the only
available version is 0.83, which is a "discontinued development branch").
* Generally improve the situation of Heartbeat, OpenAIS and Pacemaker in
Debian.

In order to achieve better coordtination between the numerous HA-related
packages in Debian, I proposed to Anabel and Simon as well as to Norbert
Tretkowski, Frederik Schüler and Bastian Blank to start a "Debian HA 
Maintainers" group. Up to this point, the DRBD packages are officially

team-maintained by that group with Norbert and me as Uploaders. I hope
that Anabel and Simon will agree to have the Maintainer-Fields of "their"
packages set to the HA-Group as well. An Alioth-project "debian-ha" has
been created for this purpose; it contains an SVN directory that will, if
people agree to cooperate, contain the debian-subdirectories of openais,
pacemaker, heartbeat, and corosync as well. 


'Nuff said about organizational things -- let's start with the real inte-
resting stuff, namely being the packages.

First of all, I created new openais-packages. This has been one of the 
more difficult design decisions -- as already said, the openais-version

in debian is outdated. Meanwhile, the openais-upstream development is in
a quite active state at the moment; openais is a "moving target". Thus,
I decided that it would probably be better to have the "openais"-packages
be the latest upstream version (for corosync-integration later on -- we
will certainly have openais and corosync in Squeeze, aka the next stable
Debian Release, which is due ... somewhen). I went ahead and created a
new set of packages called "openais-legacy". These packages contain the
whitetank-tree and can not live together with the openais-packages on a
system. They are mutually exclusive. They are, however, the base for the
newly designed Heartbeat and Pacemaker packages.

Heartbeat were the next packages to work on. Heartbeat 2.99.x does not
contain the CRM anymore, as that part is now known as Pacemaker. On the
other hand, it is possible to run Pacemaker with OpenAIS and mostly with-
out heartbeat. There was the need to invent a packaging design that would
allow Pacemaker to be built with OpenAIS and yet have the heartbeat-parts
it needs -- without having to install the complete Heartbeat suite. So 
the heartbeat packages got split up into a schema that mostly corresponds

to the way that the SLES people decided to use for their Heartbeat stuff.

Heartbeat is now split up into the following packages:

libheartbeat2
libheartbeat2-dev
heartbeat-common
heartbeat-common-dev
heartbeat
heartbeat-dev
ldirectord


It is possible to install Pacemaker-OpenAIS while only heartbeat-common 
is installed. 


Finally, I also redesigned the pacemaker packages. Before my work, pace-
maker was built both with OpenAIS and heartbeat support. That is nice,
but actually nullifies the idea behind the Heartbeat-split. Thus, I had
to split up the Pacemaker-package into pacemaker-openais and pacemaker-
heartbeat versions. Pacemaker now consists out of the following packages:

openais-heartbeat
openais-heartbeat-dev
openais-pacemaker
openais-pacemaker-dev

The packages are built from one source; the build process actually 
happens twice during the dpkg-buildpackage run.


There are still some things on my todo list. I want to provide an pace-
maker-compability package that provides a smooth upgrade path to the
heartbeat-version. Please keep in mind: These packages are HIGHLY and
ABSOLUTELY and z0mg!!!111 experimental. They are NOT INTENDED for pro-
ductional use; if you are tough anyway and want to help us hunt bugs,
you can do so by adding the following to your sources.list:

deb http://people.debian.org/~madkiss/ha/amd64/ ./

Please report any bugs you see at a first glance -- if Anibal and Simon
agree, I would like to get these packages uploaded to Experimental in
a rather timely manner; additionally, I would like to get versions of
these packages into backports.org as soon as they hit unstable and are
proven to be working.

Thank you for your attention!

Best Regards
M.

--
 .''`.   Martin LoschwitzDebian GN