[Pacemaker] Disabling failover for a resource

Angel L. Mateo amateo at um.es
Mon May 27 08:40:21 UTC 2013


El 27/05/13 09:28, Michael Schwartzkopff escribió:
> 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
>
	But I want the backup resource to be run on node2 when dovecot resource 
is running on node2. Is it possible with this configuration?


-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337




More information about the Pacemaker mailing list