Skip to content

Failover without fail recovery #9

@oleksiiprokhorenko

Description

@oleksiiprokhorenko

Hello,

We have a stateful app that is running on two VMs:
VM1 ( /usr/local/bin/lelastic -dcid XX -primary &)
VM2 (/usr/local/bin/lelastic -dcid XX -secondary &)

When VM1 is down, the elastic IP is moved to VM2 and that is a session interruption for customers, but that's OK.
Once VM1 is up, the elastic IP is moved back to VM1 and that's another session interruption for customers.
Is this possible to run lelastic in some way (both with -primary flag?) that prevent fail recovery mechanism?
If the IP is failed back to VM2, lets it running from VM2 until tthe VM2 is up, even VM1 become online as well?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions