[Sigtran] M3UA: Synchronizing DPC availability state between ASPs in the same AS

Dan Gora <dan.gora@gmail.com> Sat, 08 April 2017 04:43 UTC

Return-Path: <dan.gora@gmail.com>
X-Original-To: sigtran@ietfa.amsl.com
Delivered-To: sigtran@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C77E6129483 for <sigtran@ietfa.amsl.com>; Fri, 7 Apr 2017 21:43:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SBNVMFsJ1VYM for <sigtran@ietfa.amsl.com>; Fri, 7 Apr 2017 21:43:07 -0700 (PDT)
Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E946129451 for <sigtran@ietf.org>; Fri, 7 Apr 2017 21:43:07 -0700 (PDT)
Received: by mail-wr0-x231.google.com with SMTP id c55so46166567wrc.3 for <sigtran@ietf.org>; Fri, 07 Apr 2017 21:43:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Qv7Q2Z020Q65Hxv58QLugTGEuHmOrgGXTI5dHG1pz7s=; b=kRb2le0eoqTS8NkCXxNUF73ybqVV43CdV8KsOobGy0FFa4aCjGFMSOUZktF81eO1g3 cynBD4rafyELfAnymIG+21XQXRR2xfAECRNGoKh9Nzfp9/eVND1WYyP6s8IBMymKV3zg BjexHP5ITUsyv31JRBd9GkUJQtf+L8Wkp/t7fcfxO/ugndr+/pLSs+AyKE0PqZsdEGvz vCUe0OKCluc+wK1bMpCvItoq0+CPVWRu3yAiB2DKIQX+g1heZi9RKbEI9bC+RWrkNQ3z UkyLZsoo5IfrmIGHP26WjapCekW9CELP1mVoPe7CsuY3OBikABFlE+vLQdK743Jd92DT PMZg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Qv7Q2Z020Q65Hxv58QLugTGEuHmOrgGXTI5dHG1pz7s=; b=U/xtQnGCcJkiJdpCtuGpsxBvg6DKjqBPUpWKo7m//KY07giatbiLvmegni/DNrTC7V eqfWJT/J7OJ6wqSSzduJfshmDxuu+ADbdbCh6k7KeEyBV6GZuKVD+Cuj7uSw6IK6vWd5 bGzMetAsQ4wXSrFmVv/RbklwOp9L49j5CfJVTg57VjzEoo09UBKebhzJCBx9J9Tm/h0+ dDhqJTBW+94iQ6R+wRbe/P8U3ZkoE30kMEUp6C2VR6x16n953zqQhsYJIMMe7qupWJ4O XB1BcyUouMkqlpRo44+O9pf6/DTF+3dyPFiyTU8z1sjvJCV8UN2lXqyFi6+9QJpuYKPK H+ZA==
X-Gm-Message-State: AN3rC/56z78UA8fAx9zT/EigoiCXhUtBSHQBRTPOq2GjT5T22CGbppTPRa5RoszI/QholuR9t63sQFJSl7LWuw==
X-Received: by 10.223.182.155 with SMTP id j27mr666839wre.152.1491626585682; Fri, 07 Apr 2017 21:43:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.175.212 with HTTP; Fri, 7 Apr 2017 21:42:25 -0700 (PDT)
From: Dan Gora <dan.gora@gmail.com>
Date: Sat, 08 Apr 2017 01:42:25 -0300
Message-ID: <CAGyogRaee9yuT8geSBPfPkWoyntQRtsftXZnrtTcQrXb_Qxr1A@mail.gmail.com>
To: sigtran@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sigtran/GmNcxy2YWVs8b_3BIE_vfdMb-mc>
X-Mailman-Approved-At: Mon, 10 Apr 2017 08:21:22 -0700
Subject: [Sigtran] M3UA: Synchronizing DPC availability state between ASPs in the same AS
X-BeenThere: sigtran@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Signaling Transport <sigtran.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sigtran>, <mailto:sigtran-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sigtran/>
List-Post: <mailto:sigtran@ietf.org>
List-Help: <mailto:sigtran-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sigtran>, <mailto:sigtran-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Apr 2017 04:45:10 -0000

Hi All,

We have a distributed M3UA implementation with two ASPs on different
physical hosts servicing a single AS talking to a single SGP in a
single SG:

SG1       AS1
---      -----
SGP1 --- ASP 1
     +-- ASP 2

It's unknown who the SGP/SG vendor is, but our customer is claiming
that when we start ASP 1 and ASP 2 that both will enter the ASP-Active
state with SGP1, then both ASP 1 and ASP 2 will each send a DAUD
message to SGP1.  However the problem is that the SGP will only reply
with a DAVA/DUNA to ASP 1.  Subsequent DAUD messages from ASP2 to
SGP1 are "replied to" by the SGP1 by sending the DAVA/DUNA to ASP
1, not ASP 2.  They also claim that this "should be sufficient".
They also claim that we should not need to send DAUD from ASP 2 at
all, that we should "coordinate" the DAUD sending so that only one
ASP sends a DAUD message.

Now this feels wrong to me.  There is nothing in the spec which
specifically states that the ASPs have to synchronize the destination
states between themselves just because they belong to the same AS.

There is also numerous places (RFC 4666: 3.4.1 (DUNA) and 3.4.2)
where it says that the DUNA/DAVA message is sent to "all concerned
ASPs" and in 4.5.1 where it says:

   The SGP M3UA layer determines the set of concerned ASPs to be
   informed based on the specific SS7 network for which the primitive
   indication is relevant.  In this way, all ASPs configured to
   send/receive traffic within a particular Network Appearance
   are informed.  If the SGP operates within a single SS7 Network
   Appearance, then all ASPs are informed.


Also it seems pretty clear from the specification that an ASP can
send a DAUD pretty much any time it wants and I've never seen anything
where a message can be "responded to" via a different association (ie
a different ASP).  There is certainly no description of any mechanism
by which sending DAUD has to be coordinated among the ASPs in an AS.

On the other hand...

I cannot find anything definitive about this.

Reading through the mailing list archives
there are notions where "SSNM messages are "per-AS""
(https://www.ietf.org/mail-archive/web/sigtran/current/msg00725.html)
and there is also the "philosophical" notion that an AS is the SAP
though which an MTP3 User accesses the MTP3 network and in this case
the AS is serviced via two (distributed) ASPs, which seems to imply
that the ASPs should have a synchronized view of the DPC status.

So, what should I think about this?  Are we required to synchronize
the destination state for an AS across all the ASPs automatically
(ie by sending a DAUD or receiving a DAVA/DUNA on only one ASP in
the group of ASPs serving this AS)?  If so, where does this appear
(or is even implied) in the spec?

Can I definitely tell the customer that either the SG is totally
broken or else something is misconfigured?

What might possibly be misconfigured to cause the SG to behave this
way? (I realize that this is totally a shot in the dark, we are
supposedly getting more information from the customer...)

Any tips would be most welcome.

thanks,
dan