<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Just go to
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<a href="http://clusterlabs.org/rpm/">http://clusterlabs.org/rpm/</a>
and search for the RPMs for your OS version. If you can shut the nodes
down to perform the upgrade, it would be a lot easier, if it has to be
done without downtime, that is also possible, but requires a careful
planning of what to change and when so that you don't mess up anything
and is closely related to how the cluster is set up.<br>
<br>
How I've done it was as follows:<br>
- 2 node setup, primary - secondary.<br>
- went on secondary node, put it in standby<br>
- shutdown openais<br>
- removed all cluster related RPMs (openais, pacemaker, heartbeat,
etc.) but not the drbd RPMs<br>
- installed the new RPMs, used corosync instead of openais, configured
corosync's /etc/corosync/corosync.conf based on the settings of the old
openais (actually did a meld between the old openais.conf and the new
corosync.conf and saved a unified corosync.conf)<br>
- removed everything from /var/lib/heartbeat/crm/<br>
- started corosync on secondary node<br>
- waited for node joing, then issued an standby on the primary,
everything migrated to the secondary<br>
- went on the primary, removed the RPMs, removed
/var/lib/heartbeat/crm/* configured corosync, started it<br>
<br>
Et voila, it works. BTW, awesome job done to maintain compatibility
between versions, the upgrade was truly seamless.<br>
<br>
Regards,<br>
<br>
Dan<br>
<br>
jiaju liu wrote:
<blockquote cite="mid:770564.73463.qm@web15704.mail.cnb.yahoo.com"
 type="cite">
  <table border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td
 style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;"
 valign="top"><br>
        <br>
        <blockquote
 style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">
          <div class="plainMail">Hi</div>
          <div class="plainMail">
          <div> </div>
          <div>Thank you for your help. I want to upgrade my openais.
Do I need to restall linux and download openais of the latest version?
or any other simple way?Thanks:-). </div>
          <br>
          </div>
          <div class="plainMail"><br>
Hi,<br>
          <br>
Depending on the openais version (please mention it) <br>
?<br>
Hi Thank you for your reply my openais version is openais-0.80.5-15.1<br>
pacemaker version is pacemaker-1.0.5-4.1.<br>
I use restart but it does not work.?I found?it could not stop<br>
?<br>
?<br>
this behavior could <br>
happen, I've seen it as well, on openais-0.8.0. What I've done to fix
it <br>
was to restart the openais process via /etc/init.d/openais restart. And
          <br>
then it worked, however, this was one of the reasons I updated the <br>
packages to the latest versions of corosync, pacemaker, etc. The tricky
          <br>
part was doing the migration procedure for upgrading production servers
          <br>
without service downtime, but that's another story.<br>
          <br>
Regards,<br>
          <br>
Dan<br>
          <br>
jiaju liu wrote:<br>
><br>
><br>
><br>
>?????<br>
          <br>
          <br>
      <br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a moz-do-not-send="true"
 href="http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20101013/2f55034d/attachment-0001.htm"
 target="_blank">http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20101013/2f55034d/attachment-0001.htm</a>><br>
          <br>
------------------------------<br>
          <br>
Message: 4<br>
Date: Wed, 13 Oct 2010 14:37:51 +0300<br>
From: Dan Frincu <<a moz-do-not-send="true"
 href="http://cn.mc157.mail.yahoo.com/mc/compose?to=dfrincu@streamwide.ro"
 ymailto="mailto:dfrincu@streamwide.ro">dfrincu@streamwide.ro</a>><br>
To: The Pacemaker cluster resource manager<br>
    <<a moz-do-not-send="true"
 href="http://cn.mc157.mail.yahoo.com/mc/compose?to=pacemaker@oss.clusterlabs.org"
 ymailto="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a>><br>
Subject: Re: [Pacemaker] problem about move node from one cluster to<br>
    another cluster<br>
Message-ID: <<a moz-do-not-send="true"
 href="http://cn.mc157.mail.yahoo.com/mc/compose?to=4CB59A0F.80601@streamwide.ro"
 ymailto="mailto:4CB59A0F.80601@streamwide.ro">4CB59A0F.80601@streamwide.ro</a>><br>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>
          <br>
Hi,<br>
          <br>
Yes, it sometime needs to be killed manually because the process hangs <br>
and the restart operation never seems to end. Yet another reason to
upgrade.<br>
          <br>
All,<br>
          <br>
Question: given the fact that this type of software usually gets <br>
installed on a platform once and then usually goes into service for
many <br>
years, on servers where downtime should be kept to a minimum (gee, <br>
that's why you use a cluster :)), how does this fit the release
schedule?<br>
          <br>
I mean, there are plenty of users out there with question related to <br>
Heartbeat 2, openais-0.8.0, and so on and so forth, some environments <br>
cannot be changed lightly, others, not at all, so what is the response <br>
to "this feature doesn't work on that version of software?", upgrade?
If <br>
so, at what interval (keeping in mind that you probably want the stable
          <br>
packages on your system)?<br>
          <br>
I'm asking this because when I started working with openais, the latest
          <br>
version available was 0.8.0 on some SUSE repos that aren't available <br>
anymore.<br>
          <br>
Regards,<br>
          <br>
Dan<br>
          <br>
jiaju liu wrote:<br>
> Hi,<br>
><br>
> Depending on the openais version (please mention it)<br>
>  <br>
> Hi<br>
> Thank you for your reply my openais version is openais-0.80.5-15.1<br>
> pacemaker version is pacemaker-1.0.5-4.1.<br>
> I use restart but it does not work. I found it could not stop<br>
>  <br>
>  <br>
> this behavior could<br>
> happen, I've seen it as well, on openais-0.8.0. What I've done to
fix it<br>
> was to restart the openais process via /etc/init.d/openais
restart. And<br>
> then it worked, however, this was one of the reasons I updated the<br>
> packages to the latest versions of corosync, pacemaker, etc. The
tricky<br>
> part was doing the migration procedure for upgrading production
servers<br>
> without service downtime, but that's another story.<br>
><br>
><br>
>   <br>
          <br>
-- <br>
Dan FRINCU<br>
Systems Engineer<br>
CCNA, RHCE<br>
Streamwide Romania<br>
          <br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a moz-do-not-send="true"
 href="http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20101013/9573d51d/attachment-0001.htm"
 target="_blank">http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20101013/9573d51d/attachment-0001.htm</a>><br>
          <br>
------------------------------<br>
          <br>
_______________________________________________<br>
Pacemaker mailing list<br>
          <a moz-do-not-send="true"
 href="http://cn.mc157.mail.yahoo.com/mc/compose?to=Pacemaker@oss.clusterlabs.org"
 ymailto="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
          <a moz-do-not-send="true"
 href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker"
 target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
          <br>
          <br>
End of Pacemaker Digest, Vol 35, Issue 46<br>
*****************************************<br>
          </div>
        </blockquote>
        </td>
      </tr>
    </tbody>
  </table>
  <br>
 
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Pacemaker mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>

Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Dan FRINCU
Systems Engineer
CCNA, RHCE
Streamwide Romania
</pre>
</body>
</html>