Hi Dominik, I just have tried again : "service corosync stop" on both nodes node1 & node2 remove the cib.xml on node2 vi cib.xml on node1 set the property maintenance-mode=true (<nvpair id="cib-bootstrap-options-maintenance-mode" name="maintenance-mode" value="true"/>) wq! start Pacemaker on node1 and on node2 On node1 : both nodes remain UNCLEAN(offline) at vitam eternam On node2 : crm_mon : Attempting connection to the cluster..... at vitam eternam Moreover , the added line for maintenance-mode=true has been removed by Pacemaker/corosync in the cib.xml
I tried long time ago to do vi and change some values in the cib.xml, and each time I did that, Pacemaker never start correctly again and I had to reconfigure all the things from scratch so that it start again... Alain Dominik Klein a écrit : > Correct me if I'm wrong but I strongly think the following would work: > > Since you want to _start_ pacemaker in unmanaged mode, I expect all your > nodes to be offline. Then delete cib.xml on all nodes but one. > > On the one remaining, edit cib.xml and put your configuration > is_managed=false there. > > Then start all nodes. Don't see why this shouldn't work. > > Regards > Dominik > > On 05/10/2011 05:08 PM, Alain.Moulle wrote: > >> I don't think it is authorized at all, we must never "write" directly >> in cib.xml , I tried for other needs and it systematically disturbs >> Pacemaker a lot ! >> We always have to go through some crm commands or similar >> (crm_attributes, etc.) >> but they are not taken in account before the 60s are ended. >> >> Alain >> >> Dominik Klein a écrit : >> >>> Just write it to the xml on all nodes? >>> >>> On 05/10/2011 01:23 PM, Alain.Moulle wrote: >>> >>> >>>> Sorry I meant "directly with is_managed=false" of course ! >>>> Alain >>>> >>>> >>> _______________________________________________ >>> Linux-HA mailing list >>> Linux-HA@lists.linux-ha.org >>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>> See also: http://linux-ha.org/ReportingProblems >>> >>> >>> >>> >> _______________________________________________ >> Linux-HA mailing list >> Linux-HA@lists.linux-ha.org >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems >> >> > > _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems