[Pacemaker] update openais

jiaju liu liujiaju86 at yahoo.com.cn
Fri Oct 15 03:48:17 UTC 2010





Hi Thank you ,by the way do I need to install latest version of openais then install corosync?

Hi,

Just go to http://clusterlabs.org/rpm/ 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.

How I've done it was as follows:
- 2 node setup, primary - secondary.
- went on secondary node, put it in standby
- shutdown openais
- removed all cluster related RPMs (openais, pacemaker, heartbeat, etc.) 
but not the drbd RPMs
- 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)
- removed everything from /var/lib/heartbeat/crm/
- started corosync on secondary node
- waited for node joing, then issued an standby on the primary, 
everything migrated to the secondary
- went on the primary, removed the RPMs, removed 
/var/lib/heartbeat/crm/* configured corosync, started it

Et voila, it works. BTW, awesome job done to maintain compatibility 
between versions, the upgrade was truly seamless.

Regards,

Dan

jiaju liu wrote:
>
>
>     Hi
>      
>     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:-). 
>
>
>     Hi,
>
>     Depending on the openais version (please mention it)
>     ?
>     Hi Thank you for your reply my openais version is openais-0.80.5-15.1
>     pacemaker version is pacemaker-1.0.5-4.1.
>     I use restart but it does not work.?I found?it could not stop
>     ?
>     ?
>     this behavior could
>     happen, I've seen it as well, on openais-0.8.0. What I've done to
>     fix it
>     was to restart the openais process via /etc/init.d/openais
>     restart. And
>     then it worked, however, this was one of the reasons I updated the
>     packages to the latest versions of corosync, pacemaker, etc. The
>     tricky
>     part was doing the migration procedure for upgrading production
>     servers
>     without service downtime, but that's another story.
>
>     Regards,
>
>     Dan
>
>     jiaju liu wrote:
>     >
>     >
>     >
>     >?????
>
>
>          



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101015/d4c10e44/attachment-0001.html>


More information about the Pacemaker mailing list