Hi David
I am not sure, I understand your question.
But a generic suggestion is to  keep OpenSAF and applications communication
separately.


Thanks & Regards
Mohan Kanakam | +91-8333082448
Software Engineer
High Availability Solutions

www.GetHighAvailability.com
Get High Availability Today !
NJ, USA: +1 508-422-7725    |    Hyderabad, India: +91 798-992-5293


-----Original Message-----
From: Hoyt, David [mailto:dh...@rbbn.com] 
Sent: Saturday, April 25, 2020 12:40 AM
To: Opensaf-users@lists.sourceforge.net
Subject: [users] alias IP causing issues

Hi all,

I have a 2-node system (SC-1, SC-2) that requires an alias IP (points to the
active application that's also runs on these nodes).
If SC-1 is up and running, as well as the application, the alias IP has been
added to eth0.

When an application si-swap is performed, the application deletes the alias
IP on SC-1.
Likewise, when it goes active on SC-2, it will add the alias IP to SC-2's
device (eth0).

The issue I have, is when SC-2 comes up, I found that the connection between
SC-2's TCP port 6700 is to SC-1's alias IP.
So, when the si-swap is performed, the alias IP gets deleted as part of the
application being stopped on SC-1.
As a result, the connection between the 2 nodes is gone: osafdtmd generates
a log stating a loss of connection. End result is split-brain.

Now, if SC-2 comes up without the application enabled on SC-1, the alias IP
has yet to be added, so the connection between the nodes' port 6700 is
actually with the node's IP address.  I can enforce this on the initial
setup, but if one of the opensaf processes on a nodes goes for a restart or
if a node reboots, since the alias IP exists, upon coming up, the newly
started opensaf will have a connection to the alias IP.

Long story short, is there anything within the DTM area that could help me
in preventing opensaf sending outbound messages over the alias IP instead of
the node IP?


Setup:
2 nodes: SC-1,SC-2
Running opensaf-5.19.10

Virtualization: kvm
Operating System: Red Hat Enterprise Linux Server 7.8 (Maipo)
Kernel: Linux 3.10.0-1127.el7.x86_64
Architecture: x86-64

Regards,
David


----------------------------------------------------------------------------
-------------------------------------------
Notice: This e-mail together with any attachments may contain information of
Ribbon Communications Inc. that is confidential and/or proprietary for the
sole use of the intended recipient.  Any review, disclosure, reliance or
distribution by others or forwarding without express permission is strictly
prohibited.  If you are not the intended recipient, please notify the sender
immediately and then delete all copies, including any attachments.
----------------------------------------------------------------------------
-------------------------------------------

_______________________________________________
Opensaf-users mailing list
Opensaf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-users



_______________________________________________
Opensaf-users mailing list
Opensaf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to