[Pacemaker] Get group behaviour with Master slave or clones envolved

Néstor C. xalabin at gmail.com
Tue Jan 21 06:50:51 EST 2014


Hello.

When you need that some primitives switch in block you can use a group.

There is a manner to get this when you have a clone or a master/slave
involved?

For example:

Imagine a drbd disk (DR), a filesystem over ti (FS) and a service over all
(SRV).
The first one is a ms resource, and the other, primitives.

The colocation rules are:
colocation fs_on_dr inf: FS DR:Master
colocation srv_on_fs inf: SRV FS

The order rules are:
order fs_after_dr inf: DR:promote FS:start
order srv_after_fs inf: FS:start SRV:start

How can switch the entire cluster to other node if SRV fails? (like if all
was in a group)

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140121/e6c77983/attachment-0002.html>


More information about the Pacemaker mailing list