Ends up that simply deleting cib.xml.sig and editing cib.xml works fine. 
HA fired right up with the new IPs.


On 12-06-19 11:40 AM, Dan Frincu wrote:
> Hi,
>
> On Tue, Jun 19, 2012 at 5:16 PM, mike<mgbut...@nbnet.nb.ca>  wrote:
>> Thanks Dan but I think the cluster has to be up and running to do a load
>> replace doesn't it? Maybe if I create a bogus empty cib configuration
>> first? Perhaps then I could fire it up and replace it.
> Up and running would mean in this case that your communication layer
> is working (Heartbeat/Corosync) and Pacemaker is started. At best the
> configuration would hold the nodes' information about each other.
> That's when you can jump in with the crm configure load replace.
>
> There's also a cibadmin --md5-sum, maybe in your case this would work better.
>
> HTH,
> Dan
>
>>
>> On 12-06-19 10:41 AM, Dan Frincu wrote:
>>> Hi,
>>>
>>> On Tue, Jun 19, 2012 at 4:31 PM, mike<mgbut...@nbnet.nb.ca>    wrote:
>>>> We're setting up a DR type of situation where we have restored our HA
>>>> servers and MySQL successfully. Typically I would fire up HA, use
>>>> cibadmin to dump the cib to a temp file and then change the VIP to the
>>>> one on the DR site. Here's the problem though. The two networks are able
>>>> to talk to one another (a mistake by network folks - can't be corrected
>>>> now) and so I cannot start HA because it will cause a problem with
>>>> production. I have read that you cannot edit the cib.xml directly but
>>>> was wondering how true that is. All I need to do is change the one VIP
>>>> in the configuration file and start HA. What are the ramifications of
>>>> editing it by hand and will HA allow me to do that?
>>> How about crm configure save file.crm then edit file.crm then crm load
>>> replace file.crm on the other side?
>>>
>>> HTH,
>>> Dan
>>>> Thanks
>>>> -mike
>>>>
>>>> _______________________________________________
>>>> 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

Reply via email to