[ClusterLabs] Avoid resources to start in parallel

Jose Manuel Martínez jose.martinez at fcsc.es
Mon Mar 23 13:47:48 UTC 2015


El 19/03/15 a las 11:42, Michael Schwartzkopff escribió:
> Am Donnerstag, 19. März 2015, 11:20:45 schrieb Jose Manuel Martínez:
>> Hello everybody.
>>
>> Trying to resolve many problems with Lustre and corosync/pacemaker, I
>> would like to know if is there any way to delay the start of a resource
>> for a random number of seconds.
>>
>> My resources are "filesystems" and if many of then are started at the
>> same time at the same node, Lustre randomly fails. At this moment I'm
>> trying to work-around it using "Ordering Constraints" in order to
>> serialize the resources start order, but this is only a patch. Is there
>> any other way to avoid resources to start at the same time?.
>>
>> Regards.
> Start the reources ordered.
This one looks to work. There are one collateral effect (resource 
dependencies) but no matter.

Thanks.



>   Or have a took into the Filesystem resource agent
> and add some random delay.
>
> Beware to fix the start timeout in your configuration.
>
> Mit freundlichen Grüßen,
>
> Michael Schwartzkopff
>


-- 

*Jose Manuel Martínez García / Tel. 987 293 174 *

*Coordinador de Sistemas*

Fundación Centro de Supercomputación de Castilla y León

Edificio CRAI-TIC, Campus de Vegazana, s/n

Universidad de León

24071 León, España

www.fcsc.es

logoFCSCL jcyl

_________________________________

Este correo va dirigido, de manera exclusiva, a su destinatario y puede 
contener información confidencial, cuya divulgación no está permitida 
por la ley. Si usted no es su destinatario notifíquelo urgentemente al 
remitente y borre este correo de su sistema.
Proteja el Medio Ambiente. Evite imprimir este mensaje si no es 
estrictamente necesario.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20150323/01e74fee/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jddcfcjc.png
Type: image/png
Size: 11930 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20150323/01e74fee/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbfdigei.png
Type: image/png
Size: 8376 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20150323/01e74fee/attachment-0005.png>


More information about the Users mailing list