<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<DIV class=plainMail>Hi Thank you ,by the way do I need to install latest version of openais then install corosync?<BR></DIV>
<DIV class=plainMail>Hi,<BR><BR>Just go to <A href="http://clusterlabs.org/rpm/" target=_blank>http://clusterlabs.org/rpm/</A> and search for the RPMs for your <BR>OS version. If you can shut the nodes down to perform the upgrade, it <BR>would be a lot easier, if it has to be done without downtime, that is <BR>also possible, but requires a careful planning of what to change and <BR>when so that you don't mess up anything and is closely related to how <BR>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.) <BR>but not the drbd RPMs<BR>- installed the new RPMs, used corosync instead of openais, configured <BR>corosync's /etc/corosync/corosync.conf based on the settings of the old <BR>openais (actually did a meld between the old openais.conf and the new
<BR>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, <BR>everything migrated to the secondary<BR>- went on the primary, removed the RPMs, removed <BR>/var/lib/heartbeat/crm/* configured corosync, started it<BR><BR>Et voila, it works. BTW, awesome job done to maintain compatibility <BR>between versions, the upgrade was truly seamless.<BR><BR>Regards,<BR><BR>Dan<BR><BR>jiaju liu wrote:<BR>><BR>><BR>> Hi<BR>> <BR>> Thank you for your help. I want to upgrade my openais. Do I need<BR>> to restall linux and download openais of the latest version? or<BR>> any other simple way?Thanks:-). <BR>><BR>><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<BR>> fix it<BR>> was to restart the openais process via /etc/init.d/openais<BR>> 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<BR>> tricky<BR>> part was doing the migration procedure for upgrading production<BR>> 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></DIV></BLOCKQUOTE></td></tr></table><br>