Re: [ClusterLabs] Cluster.conf to cib.xml

2015-08-03 Thread Jan Pokorný
On 31/07/15 16:44 -0400, Digimer wrote:
> On 31/07/15 04:26 PM, Streeter, Michelle N wrote:
>> The previous administrator setup our cluster using  the cman version and
>> the cluster.conf file.   I we want to upgrade to pacemaker 1.9 on our
>> rhel 6.6 and so I have been testing this upgrade.   But I noticed that
>> the cib.xml does not reflect what we have in the cluster.conf file.   Is
>> there a tool or something to port the configuration to the cib?  
> 
>   There is a pretty significant change from cman/rgmanager to pacemaker,
> and the cluster.conf doesn't map 1:1. That said, Jan Pokorný from Red
> Hat has been working on a project called 'clufter' that aims to assist
> this transition:
> 
> https://github.com/jnpkrn/clufter

^ should cover most of the conversion process, but indeed, some manual
steps such as recreating surrounding environment (networking, mounts,
resources configuration beyond what one sets directly in respective
cluster-side configuration) are still needed.  It's here simply to ease
the most boring (i.e., automatization-friendly) part.

I would suggest using the version available in RHEL 6.7 release (as of
few days back) if possible, or the latest version packaged in Fedora.

Looking forward to any sort of feedback.

-- 
Jan (Poki)


pgpfB8Gw__6hS.pgp
Description: PGP signature
___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] Cluster.conf to cib.xml

2015-07-31 Thread Digimer
On 31/07/15 04:26 PM, Streeter, Michelle N wrote:
> The previous administrator setup our cluster using  the cman version and
> the cluster.conf file.   I we want to upgrade to pacemaker 1.9 on our
> rhel 6.6 and so I have been testing this upgrade.   But I noticed that
> the cib.xml does not reflect what we have in the cluster.conf file.   Is
> there a tool or something to port the configuration to the cib?  
> 
> Michelle Streeter

Hi Michelle,

  A couple of things; First, please use 1.1.12 that ships with
RHEL/CentOS 6.6.

  There is a pretty significant change from cman/rgmanager to pacemaker,
and the cluster.conf doesn't map 1:1. That said, Jan Pokorný from Red
Hat has been working on a project called 'clufter' that aims to assist
this transition:

https://github.com/jnpkrn/clufter

  If you are relatively new to clustering, this might help provide some
clarity on why things changed:

https://alteeve.ca/w/History_of_HA_Clustering

  If I might suggest, with RHEL 7.1 starting to firm up and given that
pacemaker on RHEL 6 requires the cman plugin (RHEL 7 does not), and
given that you'll want time to learn and understand all this, you might
want to try a fresh build on RHEL 7 with pacemaker 1.1.12 and corosync
v2, which changed a lot from the v1 days (it became the quorum provider,
among other things).

  If you don't have a pressing need to move from rgmanager to pacemaker,
I'd leave the RHEL 6 + cman + rgmanager cluster alone and focus my time
on learning a fresh build. You can then use the production rgmanager
configuration as your template to reproduce in pacemaker.

  In any case, we're here to help so please ask. The #clusterlabs IRC
channel is fairly active as well, though folks span many timezones, so
if you ask a question and no one answers, please hang around. Folks are
good about reading/replying when they come online.

  Welcome to HA!

digimer

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?

___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[ClusterLabs] Cluster.conf to cib.xml

2015-07-31 Thread Streeter, Michelle N
The previous administrator setup our cluster using  the cman version and the 
cluster.conf file.   I we want to upgrade to pacemaker 1.9 on our rhel 6.6 and 
so I have been testing this upgrade.   But I noticed that the cib.xml does not 
reflect what we have in the cluster.conf file.   Is there a tool or something 
to port the configuration to the cib?

Michelle Streeter
ASC2 MCS - SDE/ACL/SDL/EDL OKC Software Engineer
The Boeing Company

___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org