Hi,

On Thu, Jun 17, 2010 at 02:20:09AM -0700, Robinson, Eric wrote:
>  
> I have a 2-node cluster with nodes named HA05 and HA06. HA06 being the
> active node. When I create a new MySQL resource, it always initially
> shows as started on HA05, but that is not true. The MySQL instance is
> actually started in HA06.

That really shouldn't be happening. What is "it" that shows that
it's running on the node where it's not running. You can create a
hb_report for this.

> So I have to manually do 'crm resource migrate
> p_MySQL_XXX ha06'. Then it shows correctly, but I read somewhere that
> when you manually migrate a resource like that, then it won't
> automatically failover when the node fails. Is that true?

No, this command ties the resource using the +INFINITY location
constraint. But if that node fails, the resource would be able to
start on the other node.

> Also, is there a "best practices" way to backup the cib and restore it?

The current CIB is stored and updated on change in a file
/var/lib/heartbeat/crm/cib.xml on all nodes. Your regular backup
would do. If pacemaker is not running you can restore it by
copying the file to one of the nodes. Otherwise, use "crm
configure load xml replace" or cibadmin -R. Didn't use cibadmin in a
while, but I think that -R is the right option.

Thanks,

Dejan

> 
> --
> Eric Robinson
> 
> 
> Disclaimer - June 17, 2010 
> This email and any files transmitted with it are confidential and intended 
> solely for General Linux-HA mailing list. If you are not the named addressee 
> you should not disseminate, distribute, copy or alter this email. Any views 
> or opinions presented in this email are solely those of the author and might 
> not represent those of . Warning: Although  has taken reasonable precautions 
> to ensure no viruses are present in this email, the company cannot accept 
> responsibility for any loss or damage arising from the use of this email or 
> attachments. 
> This disclaimer was added by Policy Patrol: http://www.policypatrol.com/
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to