On 20 Feb 2014, at 7:34 pm, Dan Markhasin <minimi...@gmail.com> wrote:

> Hi,
> 
> I am wondering if it is possible to configure complex/custom migration rules, 
> so resources would migrate in case there is a problem with the current node 
> it is running on.
> 
> i.e.
> 
> If the node has a bad disk, or high load, the resource should be migrated to 
> a different node.

If you write a resource agent that monitors any or all of the above conditions 
and add it to the cluster as an unmanaged clone resource, then you can colocate 
things with it.
At the point the disk goes bad, the resource appears to have stopped and the 
real resources will be moved somewhere else.

> I didn't find any examples for such custom rules in the documentation. Is it 
> possible ?
> 
> Thanks,
> Dan
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to