[Pacemaker] =?x-gbk?Q?Re=3A_=5BPacemaker=5D_How_can_a_node_join_?= =?x-gbk?Q?another_cluster_safely=A3=BF?=

Andreas Kurz andreas at hastexo.com
Thu Dec 29 00:08:28 CET 2011


On 12/26/2011 01:17 PM, Mars gu wrote:
> Hi All£¬
>     I have two clusters£¬cluster_A   and  cluster_B.
>     A node named node_b was in cluster_B before.
>  
>     And now I want to move the node_b to Cluster_A. Then I changed the
> configfile(corosync.conf) of node_b into the configfile of Cluster_A's node.
>     when I restart corosync. node_a joined cluster_A Successfully, but I
> noticed that the cib.xml in cluster_A  changed just like Cluster_B's.
> Then the resources I defined in cluster_A gone.
>     How can the node_b join cluster_a safely?
>     I find that when i execute this cli before the service started,
> Cluster_A's configfle will not be chaneged.
> ****************        
> 
> cibadmin --modify  --crm_xml '<cib admin_epoch="0">'
> 
> ****************      
> Is this the right way to solve the problem?
> thanks.

completely clean the "/var/run/heartbeat/crm" directory on that node,
before you put it into an other cluster.

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now

> 
> 
> 
> 
> _______________________________________________
> 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: 286 bytes
Desc: OpenPGP digital signature
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20111229/e8b1db55/attachment.sig>


More information about the Pacemaker mailing list