[Pacemaker] Disabling failover for a resource
Michael Schwartzkopff
misch at clusterbau.com
Mon May 27 07:28:10 UTC 2013
Am Montag, 27. Mai 2013, 09:19:41 schrieb Angel L. Mateo:
> Hello,
>
> I have configured a active/passive cluster for my dovecot server. Now I
> want to add to it a resource for running the backup service. I want this
> resource to be run on the same node that the dovecot resource, but I
> don't want it to produce any failover. I mean, if dovecot resource is
> move to another node, then it should be moved too; but it the backup
> resource fails, then nothing has to be done with other resources.
>
> Is it enough for this just disabling monitoring in the resource?
No. Do it proper.
1) Make a colocation for the backup resource to dovecot:
col col_backup_dovecot inf: res_Backup res_Dovecot
2) Prevent the backup resource running on node2:
loc loc_Backup resBackup -inf: node2
--
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München
Tel: (0163) 172 50 98
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130527/18d682e1/attachment.htm>
More information about the Pacemaker
mailing list