Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP

Ben Campbell <ben@nostrum.com> Thu, 20 February 2014 22:30 UTC

Return-Path: <ben@nostrum.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02E701A0326 for <dime@ietfa.amsl.com>; Thu, 20 Feb 2014 14:30:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.036
X-Spam-Level:
X-Spam-Status: No, score=-1.036 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, HOST_MISMATCH_NET=0.311] autolearn=no
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 u2LQhp91DIJQ for <dime@ietfa.amsl.com>; Thu, 20 Feb 2014 14:30:37 -0800 (PST)
Received: from shaman.nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by ietfa.amsl.com (Postfix) with ESMTP id 760211A0324 for <dime@ietf.org>; Thu, 20 Feb 2014 14:30:37 -0800 (PST)
Received: from [10.0.1.29] (cpe-173-172-146-58.tx.res.rr.com [173.172.146.58]) (authenticated bits=0) by shaman.nostrum.com (8.14.3/8.14.3) with ESMTP id s1KMUCXp007679 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 20 Feb 2014 16:30:13 -0600 (CST) (envelope-from ben@nostrum.com)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: Ben Campbell <ben@nostrum.com>
In-Reply-To: <E194C2E18676714DACA9C3A2516265D202669A38@FR712WXCHMBA12.zeu.alcatel-lucent.com>
Date: Thu, 20 Feb 2014 16:30:12 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <04C7D3C5-1113-49A7-85EE-62D0DEF7795F@nostrum.com>
References: <066.b54c2f5aeb31c9b3f88c96008120290d@trac.tools.ietf.org> <087A34937E64E74E848732CFF8354B9209773085@ESESSMB101.ericsson.se> <52FA3CC6.905020 5@usdonovans.com> <17910_1392132298_52FA40CA_17910_2863_1_6B7134B31289DC4FAF731D844122B36E49A28D@PEXCVZYM13.corporate.adroot.infra.ftgroup> <11546_1392132645_52FA4225_11546_3173_1_0aa80fb0-8382-459e-aebf-2ee5d5f70edc@PEXCVZYH02.corporate.adroot.infra.ftgroup> <E194C2E18676714DACA9C3A2516265D2026644D6@FR712WXCHMBA11.zeu.alcatel-lucent.com> <D2D4DD91-8F3D-4C24-9E3A-E2AE3918D468@gmail.com> <52FCBBF7.7000700@usdonovans.com> <D4BE67F7-6D7B-4DB2-8DF0-D430A8FC6582@nostrum.com> <5302351F.6050902@usdonovans.com> <E194C2E18676714DACA9C3A2516265D2026697DE@FR712WXCHMBA12.zeu.alcatel-lucent.com> <087A34937E64E74E848732CFF8354B9209783450@ESESSMB101.ericsson.se> <53035690.1070702@usdonovans.com> <5BCBA1FC2B7F0B4C9D935572D9000668151B3A60@DEMUMBX014.nsn-intra.net> <5303742C.50902@usdonovans.com> <E194C2E18676714DACA9C3A2516265D202669A38@FR7! 12WXCHMBA12.zeu.alcatel-lucent.com>
To: "TROTTIN, JEAN-JACQUES (JEAN-JACQUES)" <jean-jacques.trottin@alcatel-lucent.com>
X-Mailer: Apple Mail (2.1827)
Received-SPF: pass (shaman.nostrum.com: 173.172.146.58 is authenticated by a trusted mechanism)
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/SKFDsPnZASqr-7ohtwA8y8Hxf-Q
Cc: "dime@ietf.org" <dime@ietf.org>
Subject: Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dime/>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Feb 2014 22:30:40 -0000

On Feb 18, 2014, at 12:04 PM, TROTTIN, JEAN-JACQUES (JEAN-JACQUES) <jean-jacques.trottin@alcatel-lucent.com> wrote:

> Hi all
>  
> 1)      I come back on this Steve’s comment : “Define the interaction between realm, realm-routed and host report types.  This is probably the most difficult part that is likely to require some discussion”.

I don't think that's necessarily hard as long as you aren't mixing algorithms. I think you will get close enough for our purposes if you apply the "most restrictive" active report to any requests that fall into the overlap of more than one active report. You could get into cross-set calculations, but I don't think the gain in precision would be enough to make it worth the complexity.

OTOH, I don't know what it means to have an overlap between "loss" and "rate". I'd lean towards forbidding that sort of thing, but I'm not sure if it can really be prevented.
 

> This joins one of  my remarks about the overlapping between different reports in a previous mail and drives to the use cases regarding realm overload:
>  
> -          If realm overload is due to server overload, I would think that  our current  mechanism dealing with host report and realm (alias realm-routed) report will address / solve server overload  and in consequence indirectly  address / solve  this overload realm  case
> -          if realm overload is due to the overload of Diameter agents, we have discussion and a Steve’s  proposal   about  Agent overload. I would also think that by addressing / solving the DA overload, it would also address and solve this overload realm  case.
> -          About an underlying  network congestion (eg due to network outage), here REQ 13 mentions that “The solution MUST NOT interfere with the congestion control mechanisms of underlying transport protocols”. So here I am also questioning if  we may have  duplication or overlapping, and what to do .

Nothing proposed so far would _interfere_ with with transport congestion control mechanisms. 


> -          Have we other realm overload use cases?
>  
> So my current thinking is  we have first  to identify the various realm  overload use cases and see those actually justifying to add new mechanisms.
>  

I think Steve has offered reasonable justification, especially if 3GPP already has this requirement.

I also think this is important for cross-realm cases, where one realm may not want to share any more detail than "reduce traffic to my entire realm".


> 2)      I share Ulrich’s questions  on how to deal with realm overload. Steve’s  answer introduces a high complexity about detecting , evaluate the realm overload  and then which DA are acting etc. The fact to consider many of these points out of the scope does not suppress this complexity (which in addition occurs in an overloaded environment…) . So  I come back to my point 1 about the use cases to address  and the use of the mechanisms for server and DA overload  

Steve's answers do the opposite--he basically says that those details are out of scope for the IETF. (That doesn't prevent 3GPP from coming up with some.) There are lots of ways one might determine the overload for a realm. It's completely unnecessary to standardize them.

>  
> Best regards
>  
> JJacques
>  
>  
> De : DiME [mailto:dime-bounces@ietf.org] De la part de Steve Donovan
> Envoyé : mardi 18 février 2014 15:55
> À : Wiehe, Ulrich (NSN - DE/Munich); dime@ietf.org
> Objet : Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP
>  
> Ulrich,
> 
> All good questions.
> 
> I mapped out the use case in a previous email with discussing the realm-routed overload report type.  
> 
> Maria Cruz also indicated that this is a 3GPP DOC requirement.  I'm hoping someone involved in the discussions that lead to that requirement can speak up on the use case driving the need for realm reports.
> 
> The means of detection is out of scope for the DOIC draft, just as it is for host and realm-routed report types.  We should, however, include wording to explain how it might be done.  
> 
> A few bullet points outlining a proposed solution.  I can put together a couple of slides explaining this if it would be helpful.
> 
> - The method of detection can be based on the collected status of Diameter nodes in the realm.  It can also be based on the status of the underlying network.  For instance, if there is a network outage that reduces the effective throughput of the signaling network, the best method for handling this might be to signal a realm overload report.
> 
> - The network element detecting the realm status is out of scope for the DOIC document.
> 
> - The Diameter node that reports realm overload can be any Diameter node and is up to the service provider to define.  Assuming we are using Diameter answer messages to transport the realm reports, it would need to be either all agents or all servers.  This is to guarantee that all reacting nodes get the report.
> 
> - The method that the reporting node is told that the realm is overloaded, triggering the realm overload report, is out of scope for this document.
> 
> - Reacting nodes should listen to only one realm overload reporting node.  It is up to the implementation of the realm overload detection element to make sure that all reporting nodes have the same state.
> 
> One way to model this is for an external element being responsible for detecting realm overload and signaling the realm overload reporting nodes of the status using an out of bands mechanism.  All realm overload reporting nodes would be responsible for sending realm overload reports.  Reacting nodes would only listen to one of the reporting nodes.
> 
> There are also security considerations similar to host reports, except that an attack using realm overload reports has a much bigger impact than an attack using host reports.
> 
> Steve
> 
> On 2/18/14 7:41 AM, Wiehe, Ulrich (NSN - DE/Munich) wrote:
> Steve,
>  
> first of all I would like to better understand the usecase especially on the reporting side.
> Which node would act as a reporting node generating new realm-type reports?
> How would this node detect that the complete realm is in overload (and what does that mean? All servers in the realm, also clients? Agents? )?
> Would this node be (logically) a single node? If not, how to synchronize different new-realm-type reporting nodes so that they don’t report different things to the same reacting node?
>  
> Ulrich
>  
> From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of ext Steve Donovan
> Sent: Tuesday, February 18, 2014 1:48 PM
> To: dime@ietf.org
> Subject: Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP
>  
> It shouldn't be much work to add realm overload to the draft.  We would need to do the following (at a minimum):
> 
> - Change that name of the current realm report to something like "realm-routed".
> - Create a new report type of name realm that applies to all traffic routed to the realm.
> - Add a few words in the reporting node section about generation of realm reports.
> - Define the interaction between realm, realm-routed and host report types.  This is probably the most difficult part that is likely to require some discussion.
> 
> Other then the section on interactions between report types, I don't think this impacts the existing text so it should fold in pretty cleanly.
> 
> I'd be happy to take the first shot at this to be included in the -02 version of the draft if there is consensus to add it.
> 
> Steve
> 
> On 2/18/14 4:11 AM, Maria Cruz Bartolome wrote:
> Hello all,
>  
> Overload of the realm is one of the use cases that is required by 3GPP applications.
> And I think this should be part of the basic mechanism, or?
>  
> Best regards
> /MCruz
>  
> From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of TROTTIN, JEAN-JACQUES (JEAN-JACQUES)
> Sent: lunes, 17 de febrero de 2014 18:53
> To: dime@ietf.org
> Subject: Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP
>  
> Hi
>  
> I share the view to analyze the overload of the realm as a whole in a separate extension  and see if this lead to another report type.
>  
> Best regards
>  
> JJacques
>   
>  
> De : DiME [mailto:dime-bounces@ietf.org] De la part de Steve Donovan
> Envoyé : lundi 17 février 2014 17:13
> À : Ben Campbell
> Cc : dime@ietf.org list
> Objet : Re: [Dime] [dime] #34: Semantics of OC-Report-Type AVP
>  
> I do think it would be a new report type, as it would require different behavior from reacting nodes.
> 
> I'm ok with this being in a separate extension if the group thinks this is the correct approach.  We are creating a good number of relatively small extensions.  It might lead to the need to pull them all together in a future version of the DOIC draft/RFC.
> 
> Steve
> 
> On 2/14/14 4:21 PM, Ben Campbell wrote:
> (Apologies for coming late to this thread)
>  
> On Feb 13, 2014, at 6:35 AM, Steve Donovan <srdonovan@usdonovans.com> wrote:
>  
> Ok, Ok, no reason to gang up on me. :-)
> What we have here is an overload report to reduce realm routed requests.  I think we should be explicit in the draft to define it as such.
>  
>  
> At the risk of joining the anti-Steve gang, I feel the need to belatedly mention that my personal intent way back when we talked about the mixed-state problem was that realm reports applied to realm-routed requests. 
>  
> I am still concerned that we do not have a way to indicate overload of the realm as a whole.  I'll enter a new trouble ticket to capture this issue.
>  
>  
> I do not object to adding that ability. Would it be a new OLR type? If so, would it need to go in the base draft or could it be an extension?
>  
> Steve
>  
>  
>  
> 
> 
> 
> 
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime
>  
>  
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime