• Klaus Aehlig's avatar
    Add a function to find a suitable secondary · aa7ca650
    Klaus Aehlig authored
    On disk conversion to DRBD, a new secondary node has to be found.
    Add a function doing this search in a way similar to what instance
    allocation does: all possible placements are considered and the
    one resulting in the best cluster metrics is taken.
    To have a uniform interface, use the same signature as all allocation
    functions, even though the group list is not needed (we have to take
    the group of the primary node anyway).
    Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
    Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
Makefile.am 92.1 KB