Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Upgrade heartbeat 2.1.3 to 3.0.3

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


michalko.system at a-i-p

Sep 8, 2010, 5:40 AM

Post #1 of 10 (934 views)
Permalink
Upgrade heartbeat 2.1.3 to 3.0.3

Helo list!

I am trying now to upgrade heartbeat 2.1.3 (pacemaker 0.6) to 3.0.3 on
SLES11/SP1.
After installing the new RPM's from
http://download.opensuse.org/repositories/network:/ha-clustering/SLE_11_SP1/x86_64/
I see the following errors in the ha-log:
...
WARN: do_cib_control: Couldn't complete CIB registration 30 times... pause
and retry
ERROR: do_cib_control: Could not complete CIB registration 30 times... hard
error
...
The cib.xml has proper rights (I think):
-rw------- 1 hacluster haclient 3474 2010-09-08
12:25 /var/lib/heartbeat/crm/cib.xml

Verifying CIB:
crm_verify -VVV -x cib.xml
crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation: Upgrading
(null)-style configuration to pacemaker-0.6 with no-op
crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation: Upgrading
transitional-0.6-style configuration to pacemaker-1.0
with /usr/share/pacemake
r/upgrade06.xsl
crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation: Upgrading
pacemaker-1.1-style configuration to pacemaker-1.2 with no-op
crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation: Upgraded
from <none> to pacemaker-1.2 validation
crm_verify[24558]: 2010/09/08_13:20:17 WARN: cluster_status: We do not have
quorum - fencing and resource management disabled

With crm I can not change anything in cib.xml:
crm configure
Signon to CIB failed: connection failed
Init failed, could not perform requested operations
ERROR: cannot parse xml: no element found: line 1, column 0

Installed SW/versions:
heartbeat-3.0.3-2.14
libgssglue1-0.1-6.22
libglue2-1.0.6-2.1
cluster-glue-1.0.6-2.1
resource-agents-1.0.3-4.2
pacemaker-1.1.2.1-5.1

My cib.xml and ha-log are attached. I suppose my CIB is wrong.
How can I update the old cib.xml?
Could someone point me pls to the right upgrade
sequence/documentation?



Best regards

Nikita Michalko
Attachments: cib.xml (3.82 KB)
  ha-log (11.9 KB)


tserong at novell

Sep 8, 2010, 10:09 PM

Post #2 of 10 (886 views)
Permalink
Re: Upgrade heartbeat 2.1.3 to 3.0.3 [In reply to]

On 9/8/2010 at 10:40 PM, Nikita Michalko <michalko.system [at] a-i-p> wrote:
> Helo list!
>
> I am trying now to upgrade heartbeat 2.1.3 (pacemaker 0.6) to 3.0.3 on
> SLES11/SP1.
> After installing the new RPM's from
> http://download.opensuse.org/repositories/network:/ha-clustering/SLE_11_SP1/x
> 86_64/
> I see the following errors in the ha-log:
> ...
> WARN: do_cib_control: Couldn't complete CIB registration 30 times... pause
> and retry
> ERROR: do_cib_control: Could not complete CIB registration 30 times...
> hard
> error
> ...
> The cib.xml has proper rights (I think):
> -rw------- 1 hacluster haclient 3474 2010-09-08
> 12:25 /var/lib/heartbeat/crm/cib.xml
>
> Verifying CIB:
> crm_verify -VVV -x cib.xml
> crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation: Upgrading
> (null)-style configuration to pacemaker-0.6 with no-op
> crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation: Upgrading
> transitional-0.6-style configuration to pacemaker-1.0
> with /usr/share/pacemake
> r/upgrade06.xsl
> crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation: Upgrading
> pacemaker-1.1-style configuration to pacemaker-1.2 with no-op
> crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation: Upgraded
> from <none> to pacemaker-1.2 validation
> crm_verify[24558]: 2010/09/08_13:20:17 WARN: cluster_status: We do not have
> quorum - fencing and resource management disabled
>
> With crm I can not change anything in cib.xml:
> crm configure
> Signon to CIB failed: connection failed
> Init failed, could not perform requested operations
> ERROR: cannot parse xml: no element found: line 1, column 0
>
> Installed SW/versions:
> heartbeat-3.0.3-2.14

Where did that version of Heartbeat come from? It's not present in the
openSUSE network:ha-clustering repo (actually, there is no version of
heartbeat present in that repo).

> libgssglue1-0.1-6.22
> libglue2-1.0.6-2.1
> cluster-glue-1.0.6-2.1
> resource-agents-1.0.3-4.2
> pacemaker-1.1.2.1-5.1
>
> My cib.xml and ha-log are attached. I suppose my CIB is wrong.
> How can I update the old cib.xml?
> Could someone point me pls to the right upgrade
> sequence/documentation?

It looks like Pacemaker in network:ha-clustering builds without Heartbeat
support (there's no Heartbeat in that repo, so no current source for
heartbeat-devel). That being said, I suspect Pacemaker in the openSUSE
repos hasn't built with Heartbeat support for some time (seems to be
disabled in the spec file for Pacemaker 1.0.x from the openSUSE:11.1
repo, for example).

The SLE HAE product replaced Heartbeat with openAIS when SLES 11 was
released (this is now corosync+openais on SLE 11 SP1), so I'm curious to
know what OS you're upgrading from, if you previously had heartbeat 2.1.3
running.

Regards,

Tim


--
Tim Serong <tserong [at] novell>
Senior Clustering Engineer, OPS Engineering, Novell Inc.



_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


michalko.system at a-i-p

Sep 8, 2010, 11:38 PM

Post #3 of 10 (922 views)
Permalink
Re: Upgrade heartbeat 2.1.3 to 3.0.3 [In reply to]

Hi Tim,

thank you for reply. See my answer below ...

Am Donnerstag, 9. September 2010 07:09 schrieb Tim Serong:
> On 9/8/2010 at 10:40 PM, Nikita Michalko <michalko.system [at] a-i-p> wrote:
> > Helo list!
> >
> > I am trying now to upgrade heartbeat 2.1.3 (pacemaker 0.6) to 3.0.3 on
> > SLES11/SP1.
> > After installing the new RPM's from
> > http://download.opensuse.org/repositories/network:/ha-clustering/SLE_11_S
> >P1/x 86_64/
> > I see the following errors in the ha-log:
> > ...
> > WARN: do_cib_control: Couldn't complete CIB registration 30 times...
> > pause and retry
> > ERROR: do_cib_control: Could not complete CIB registration 30 times...
> > hard
> > error
> > ...
> > The cib.xml has proper rights (I think):
> > -rw------- 1 hacluster haclient 3474 2010-09-08
> > 12:25 /var/lib/heartbeat/crm/cib.xml
> >
> > Verifying CIB:
> > crm_verify -VVV -x cib.xml
> > crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation:
> > Upgrading (null)-style configuration to pacemaker-0.6 with no-op
> > crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation:
> > Upgrading transitional-0.6-style configuration to pacemaker-1.0
> > with /usr/share/pacemake
> > r/upgrade06.xsl
> > crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation:
> > Upgrading pacemaker-1.1-style configuration to pacemaker-1.2 with no-op
> > crm_verify[24558]: 2010/09/08_13:20:17 notice: update_validation:
> > Upgraded from <none> to pacemaker-1.2 validation
> > crm_verify[24558]: 2010/09/08_13:20:17 WARN: cluster_status: We do not
> > have quorum - fencing and resource management disabled
> >
> > With crm I can not change anything in cib.xml:
> > crm configure
> > Signon to CIB failed: connection failed
> > Init failed, could not perform requested operations
> > ERROR: cannot parse xml: no element found: line 1, column 0
> >
> > Installed SW/versions:
> > heartbeat-3.0.3-2.14
>
> Where did that version of Heartbeat come from? It's not present in the
> openSUSE network:ha-clustering repo (actually, there is no version of
> heartbeat present in that repo).
>
> > libgssglue1-0.1-6.22
> > libglue2-1.0.6-2.1
> > cluster-glue-1.0.6-2.1
> > resource-agents-1.0.3-4.2
> > pacemaker-1.1.2.1-5.1
> >
> > My cib.xml and ha-log are attached. I suppose my CIB is wrong.
> > How can I update the old cib.xml?
> > Could someone point me pls to the right upgrade
> > sequence/documentation?
>
> It looks like Pacemaker in network:ha-clustering builds without Heartbeat
> support (there's no Heartbeat in that repo, so no current source for
> heartbeat-devel). That being said, I suspect Pacemaker in the openSUSE
> repos hasn't built with Heartbeat support for some time (seems to be
> disabled in the spec file for Pacemaker 1.0.x from the openSUSE:11.1
> repo, for example).
Does it mean I should build the new RPMs from sources?

>
> The SLE HAE product replaced Heartbeat with openAIS when SLES 11 was
Yes, I know it, we want stay by Heartbeat & Pacemaker in the production
though ...

> released (this is now corosync+openais on SLE 11 SP1), so I'm curious to
> know what OS you're upgrading from, if you previously had heartbeat 2.1.3
> running.
>
That was the SLES10 SP2, but with the HA version of
heartbeat-resources-2.1.3-23.1 (pacemaker-heartbeat-0.6.5-8.2)

> Regards,
>
> Tim

Best regards

Nikita
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


tserong at novell

Sep 9, 2010, 4:31 AM

Post #4 of 10 (886 views)
Permalink
Re: Upgrade heartbeat 2.1.3 to 3.0.3 [In reply to]

On 9/9/2010 at 04:38 PM, Nikita Michalko <michalko.system [at] a-i-p> wrote:
> Am Donnerstag, 9. September 2010 07:09 schrieb Tim Serong:
> >
> > It looks like Pacemaker in network:ha-clustering builds without Heartbeat
> > support (there's no Heartbeat in that repo, so no current source for
> > heartbeat-devel). That being said, I suspect Pacemaker in the openSUSE
> > repos hasn't built with Heartbeat support for some time (seems to be
> > disabled in the spec file for Pacemaker 1.0.x from the openSUSE:11.1
> > repo, for example).
> Does it mean I should build the new RPMs from sources?

Maybe.. But if you don't want to have to do that, you might try the
RPMs from http://www.clusterlabs.org/rpm/ - you may find the openSUSE 11.1
or 11.2 RPMs are installable on SLES (although I haven't tried this myself,
and I would still generally encourage people on SLES to use SLE HAE,
although I understand you want to continue to use Heartbeat, which makes
that a problem :))

Another possibility, if you (or anyone else) is in a position to get a
current version of heartbeat building on build.opensuse.org, I can help
to get it included in the network:ha-clustering repo (I'm just not really
able to do any packaging or testing of it myself).

> >
> > The SLE HAE product replaced Heartbeat with openAIS when SLES 11 was
> Yes, I know it, we want stay by Heartbeat & Pacemaker in the production
> though ...
>
> > released (this is now corosync+openais on SLE 11 SP1), so I'm curious to
> > know what OS you're upgrading from, if you previously had heartbeat 2.1.3
> > running.
> >
> That was the SLES10 SP2, but with the HA version of
> heartbeat-resources-2.1.3-23.1 (pacemaker-heartbeat-0.6.5-8.2)

OK, understood.

Regards,

Tim


--
Tim Serong <tserong [at] novell>
Senior Clustering Engineer, OPS Engineering, Novell Inc.



_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


michalko.system at a-i-p

Sep 10, 2010, 12:05 AM

Post #5 of 10 (878 views)
Permalink
Re: Upgrade heartbeat 2.1.3 to 3.0.3 [In reply to]

Am Donnerstag, 9. September 2010 13:31 schrieb Tim Serong:
> On 9/9/2010 at 04:38 PM, Nikita Michalko <michalko.system [at] a-i-p> wrote:
> > Am Donnerstag, 9. September 2010 07:09 schrieb Tim Serong:
> > > It looks like Pacemaker in network:ha-clustering builds without
> > > Heartbeat support (there's no Heartbeat in that repo, so no current
> > > source for heartbeat-devel). That being said, I suspect Pacemaker in
> > > the openSUSE repos hasn't built with Heartbeat support for some time
> > > (seems to be disabled in the spec file for Pacemaker 1.0.x from the
> > > openSUSE:11.1 repo, for example).
> >
> > Does it mean I should build the new RPMs from sources?
>
> Maybe.. But if you don't want to have to do that, you might try the
> RPMs from http://www.clusterlabs.org/rpm/ - you may find the openSUSE 11.1
> or 11.2 RPMs are installable on SLES (although I haven't tried this myself,

I tried it already of course - installed with zypper, but then can't start it:
problem with pacemaker (Signon to CIB failed: connection failed ...)
In the meantime I installed the pacemaker + heratbeat from scratch and just now testing it ...

> and I would still generally encourage people on SLES to use SLE HAE,
> although I understand you want to continue to use Heartbeat, which makes
> that a problem :))
>
> Another possibility, if you (or anyone else) is in a position to get a
> current version of heartbeat building on build.opensuse.org, I can help
> to get it included in the network:ha-clustering repo (I'm just not really

That would be great !!

> able to do any packaging or testing of it myself).
>
> > > The SLE HAE product replaced Heartbeat with openAIS when SLES 11 was
> >
> > Yes, I know it, we want stay by Heartbeat & Pacemaker in the production
> > though ...
> >
> > > released (this is now corosync+openais on SLE 11 SP1), so I'm curious
> > > to know what OS you're upgrading from, if you previously had heartbeat
> > > 2.1.3 running.
> >
> > That was the SLES10 SP2, but with the HA version of
> > heartbeat-resources-2.1.3-23.1 (pacemaker-heartbeat-0.6.5-8.2)
>
> OK, understood.
>
> Regards,
>
> Tim

Regards,

Nikita
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


florian.haas at linbit

Sep 10, 2010, 4:17 AM

Post #6 of 10 (873 views)
Permalink
Re: Upgrade heartbeat 2.1.3 to 3.0.3 [In reply to]

On 2010-09-10 09:05, Nikita Michalko wrote:
> Am Donnerstag, 9. September 2010 13:31 schrieb Tim Serong:
>> On 9/9/2010 at 04:38 PM, Nikita Michalko <michalko.system [at] a-i-p> wrote:
>>> Am Donnerstag, 9. September 2010 07:09 schrieb Tim Serong:
>>>> It looks like Pacemaker in network:ha-clustering builds without
>>>> Heartbeat support (there's no Heartbeat in that repo, so no current
>>>> source for heartbeat-devel). That being said, I suspect Pacemaker in
>>>> the openSUSE repos hasn't built with Heartbeat support for some time
>>>> (seems to be disabled in the spec file for Pacemaker 1.0.x from the
>>>> openSUSE:11.1 repo, for example).
>>>
>>> Does it mean I should build the new RPMs from sources?
>>
>> Maybe.. But if you don't want to have to do that, you might try the
>> RPMs from http://www.clusterlabs.org/rpm/ - you may find the openSUSE 11.1
>> or 11.2 RPMs are installable on SLES (although I haven't tried this myself,
>
> I tried it already of course - installed with zypper, but then can't start it:
> problem with pacemaker (Signon to CIB failed: connection failed ...)
> In the meantime I installed the pacemaker + heratbeat from scratch and just now testing it ...

Even though you're not on Debian, this webinar may still be of help wrt
the Heartbeat and Pacemaker upgrade process:

http://www.linbit.com/en/training/on-demand-webinars/upgrading-to-pacemaker-on-debian-squeeze/

Cheers,
Florian
Attachments: signature.asc (0.26 KB)


michalko.system at a-i-p

Sep 14, 2010, 3:13 AM

Post #7 of 10 (863 views)
Permalink
Re: Upgrade heartbeat 2.1.3 to 3.0.3 [In reply to]

Hi Florian,

thank you very much for the link to webinar - very good work!
I have tried that on SLES in the meantime, but facing with the following
issue:
Download heartbeat 3.0.3_STABLE from http://www.linux-ha.org/wiki/Download
starts and then immediately comes error:
"Verbindung zu Rechner hg.linux-ha.org ist unterbrochen"

Other possibilities?

Regards

Nikita Michalko

Am Freitag, 10. September 2010 13:17 schrieb Florian Haas:
> On 2010-09-10 09:05, Nikita Michalko wrote:
> > Am Donnerstag, 9. September 2010 13:31 schrieb Tim Serong:
> >> On 9/9/2010 at 04:38 PM, Nikita Michalko <michalko.system [at] a-i-p>
wrote:
> >>> Am Donnerstag, 9. September 2010 07:09 schrieb Tim Serong:
> >>>> It looks like Pacemaker in network:ha-clustering builds without
> >>>> Heartbeat support (there's no Heartbeat in that repo, so no current
> >>>> source for heartbeat-devel). That being said, I suspect Pacemaker in
> >>>> the openSUSE repos hasn't built with Heartbeat support for some time
> >>>> (seems to be disabled in the spec file for Pacemaker 1.0.x from the
> >>>> openSUSE:11.1 repo, for example).
> >>>
> >>> Does it mean I should build the new RPMs from sources?
> >>
> >> Maybe.. But if you don't want to have to do that, you might try the
> >> RPMs from http://www.clusterlabs.org/rpm/ - you may find the openSUSE
> >> 11.1 or 11.2 RPMs are installable on SLES (although I haven't tried this
> >> myself,
> >
> > I tried it already of course - installed with zypper, but then can't
> > start it: problem with pacemaker (Signon to CIB failed: connection failed
> > ...) In the meantime I installed the pacemaker + heratbeat from scratch
> > and just now testing it ...
>
> Even though you're not on Debian, this webinar may still be of help wrt
> the Heartbeat and Pacemaker upgrade process:
>
> http://www.linbit.com/en/training/on-demand-webinars/upgrading-to-pacemaker
>-on-debian-squeeze/
>
> Cheers,
> Florian
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


florian.haas at linbit

Sep 14, 2010, 3:16 AM

Post #8 of 10 (868 views)
Permalink
Re: Upgrade heartbeat 2.1.3 to 3.0.3 [In reply to]

On 2010-09-14 12:13, Nikita Michalko wrote:
> Hi Florian,
>
> thank you very much for the link to webinar - very good work!
> I have tried that on SLES in the meantime, but facing with the following
> issue:
> Download heartbeat 3.0.3_STABLE from http://www.linux-ha.org/wiki/Download
> starts and then immediately comes error:
> "Verbindung zu Rechner hg.linux-ha.org ist unterbrochen"

Works just fine for me. Some upstream proxy getting in the way? In case
anyone else is having this issue, please speak up now.

Cheers,
Florian
Attachments: signature.asc (0.26 KB)


timo.schoeler at riscworks

Sep 14, 2010, 3:17 AM

Post #9 of 10 (856 views)
Permalink
Re: Upgrade heartbeat 2.1.3 to 3.0.3 [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thus Florian Haas spake:
> On 2010-09-14 12:13, Nikita Michalko wrote:
>> Hi Florian,
>>
>> thank you very much for the link to webinar - very good work!
>> I have tried that on SLES in the meantime, but facing with the following
>> issue:
>> Download heartbeat 3.0.3_STABLE from http://www.linux-ha.org/wiki/Download
>> starts and then immediately comes error:
>> "Verbindung zu Rechner hg.linux-ha.org ist unterbrochen"
>
> Works just fine for me. Some upstream proxy getting in the way? In case
> anyone else is having this issue, please speak up now.

Works flawlessly for me, too.

> Cheers,
> Florian

Cheers,

Timo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD4DBQFMj0uxfg746kcGBOwRAkh9AJYi+/vcHxLjZ5erQngPsQn3sq7AAJ4ieH/b
7hxI/FI5T93mEZsKQ3W1hA==
=UuKh
-----END PGP SIGNATURE-----
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


michalko.system at a-i-p

Sep 15, 2010, 3:08 AM

Post #10 of 10 (850 views)
Permalink
Re: Upgrade heartbeat 2.1.3 to 3.0.3 [In reply to]

Am Dienstag, 14. September 2010 12:16 schrieb Florian Haas:
> On 2010-09-14 12:13, Nikita Michalko wrote:
> > Hi Florian,
> >
> > thank you very much for the link to webinar - very good work!
> > I have tried that on SLES in the meantime, but facing with the following
> > issue:
> > Download heartbeat 3.0.3_STABLE from
> > http://www.linux-ha.org/wiki/Download starts and then immediately comes
> > error:
> > "Verbindung zu Rechner hg.linux-ha.org ist unterbrochen"
>
> Works just fine for me. Some upstream proxy getting in the way? In case
> anyone else is having this issue, please speak up now.
>
Really - it was the konqueror : with Firefox it's working fine. Sorry for the
noise ...

Cheers,

Nikita

> Cheers,
> Florian
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.