Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread Lars Marowsky-Bree
On 2013-10-15T17:05:39, Robert Lindgren wrote: > Worked like a charm, except: > > crm(live)configure# simulate actions nograph > > which I guess is only is available in newer versions. If you have an older version, you can run "ptest" instead of "simulate". ("ptest" of course still works in ne

Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread Robert Lindgren
Worked like a charm, except: crm(live)configure# simulate actions nograph which I guess is only is available in newer versions. So big thanks Lars! On Tue, Oct 15, 2013 at 12:43 PM, Robert Lindgren wrote: > Excellent, thanks Lars, this looks the proper way forward! Cheers > > > On Tue, Oct 1

Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread Robert Lindgren
Excellent, thanks Lars, this looks the proper way forward! Cheers On Tue, Oct 15, 2013 at 12:38 PM, Lars Marowsky-Bree wrote: > On 2013-10-15T09:39:25, Robert Lindgren wrote: > > What I'd do is to backup, then wipe the cluster configuration > (/var/lib/pacemaker/cib/*), restart with the empty

Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread Lars Marowsky-Bree
On 2013-10-15T09:39:25, Robert Lindgren wrote: What I'd do is to backup, then wipe the cluster configuration (/var/lib/pacemaker/cib/*), restart with the empty configuration (which will also help with ids that have changed etc). And then: # crm configure crm(live)configure# load xml replace /pat

Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread emmanuel segura
Backup your current cib.xml and modify by hand and after that, try to start the cluster 2013/10/15 Robert Lindgren > Yeah it's a nice idea, but servers are at datacenter, some hours away. > > > On Tue, Oct 15, 2013 at 10:42 AM, Florian Crouzat < > gen...@floriancrouzat.net> wrote: > >> Le 15/1

Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread Robert Lindgren
Yeah it's a nice idea, but servers are at datacenter, some hours away. On Tue, Oct 15, 2013 at 10:42 AM, Florian Crouzat wrote: > Le 15/10/2013 09:39, Robert Lindgren a écrit : > > I have a cluster that is offline, and I can't start it to do edits >> (since IPs and so will conflict with old cl

Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread emmanuel segura
+1 2013/10/15 Florian Crouzat > Le 15/10/2013 09:39, Robert Lindgren a écrit : > > I have a cluster that is offline, and I can't start it to do edits >> (since IPs and so will conflict with old cluster). What is the preferred >> way of doing the edits (change IPs) so that I can start the clust

Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread Florian Crouzat
Le 15/10/2013 09:39, Robert Lindgren a écrit : I have a cluster that is offline, and I can't start it to do edits (since IPs and so will conflict with old cluster). What is the preferred way of doing the edits (change IPs) so that I can start the cluster? Can't you start only one of the node un

Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread Robert Lindgren
All my virtual IPs are surely in the cib.xml, trust me on that. On Tue, Oct 15, 2013 at 10:12 AM, emmanuel segura wrote: > Why modify the cib.xml? in cib.xml there is no reference to ip, i think > you have hostname there, i think you need to edit /etc/hosts and try to > start the cluster again >

Re: [Pacemaker] Offline Cluster edit

2013-10-15 Thread emmanuel segura
Why modify the cib.xml? in cib.xml there is no reference to ip, i think you have hostname there, i think you need to edit /etc/hosts and try to start the cluster again 2013/10/15 Robert Lindgren > Hi, > > I have a cluster that is offline, and I can't start it to do edits (since > IPs and so wil

[Pacemaker] Offline Cluster edit

2013-10-15 Thread Robert Lindgren
Hi, I have a cluster that is offline, and I can't start it to do edits (since IPs and so will conflict with old cluster). What is the preferred way of doing the edits (change IPs) so that I can start the cluster? Will a normal vim edit on cib.xml be good enough, I read that wasn't an option in th