[Pacemaker] moving from corosync.conf to cluster.conf

Andrew Beekhof andrew at beekhof.net
Mon Feb 24 09:54:51 UTC 2014


On 24 Feb 2014, at 7:18 pm, Parveen Jain <parveenjain at live.com> wrote:

> Hi All,
>   Following was my problem:
> 1)      My RHEL 6.3 is using CRM shell and corosync.conf.
> 2)      Wanted to move to RHEL6.5 and hence the underlying cluster. Also wanted to move to recommended way of using cluster with CMAN using “cluster.conf”.
> 
> (Before executing this document I first upgraded my O/S to RHEL6.5.)
> To solve this problem , found following link:
> http://floriancrouzat.net/2013/04/rhel-6-4-pacemaker-1-1-8-adding-cman-support-and-getting-rid-of-the-plugin/
> (Also got another link which has more or less same thing explain in a documented way:
> http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Clusters_from_Scratch/_configuring_cman.html)
> 
> This document is written well and I could execute all of the commands successfully without disturbing my cluster, but I found some issue after executing this last line:
> crm configure property maintenance-mode=false
> After executing this command, I lost my VIP.

That is unexpected.

> I need to execute this upgrade on my production environment and can’t afford to go “offline” in this way.

Sure. Can you send us a crm_report that starts just before you set maintenance-mode=false and ends after the VIP was lost?
(No need to reproduce, just run give it the times from when you already had it happen.)

> 
> Few are my questions to execute this upgrade in a more convenient way:
> 1)      What can be the reason of this VIP removal (if someone has already tested with this approach)?
> 2)      Is it right approach, if I do directly assign my VIP (after moving my cluster to maintenance mode) to one of my Ethernet interface and then run the commands given in this document.
> 3)      Is not there some command line option to upgrade from corosync.conf to cluster.conf directly(ideally I felt that we should be able to generate an ).
> 4)      How will I move to the usage of “pcs commands”. This article is given with using “ccs” commands. Shall I assume that once I finish with “ccs”, I can do rest of my configuration using “pcs” commands.

Right, once cman is running, everything is done with pcs.
It sounds like you're used to crmsh, there is a conversion document available at:

   https://github.com/ClusterLabs/pacemaker/blob/master/doc/pcs-crmsh-quick-ref.md

> 
> Regards,
> Parveen Jain
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140224/036f69e6/attachment-0004.sig>


More information about the Pacemaker mailing list