Re: [Dime] Alternate (secondary) peers in diameter commands

Krishna Prasad <kprasad@sandvine.com> Tue, 21 February 2012 11:23 UTC

Return-Path: <kprasad@sandvine.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8540C21F871D for <dime@ietfa.amsl.com>; Tue, 21 Feb 2012 03:23:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EGPYsq2ErT5s for <dime@ietfa.amsl.com>; Tue, 21 Feb 2012 03:23:22 -0800 (PST)
Received: from mail1.sandvine.com (Mail1.sandvine.com [64.7.137.134]) by ietfa.amsl.com (Postfix) with ESMTP id D8B4621F8606 for <dime@ietf.org>; Tue, 21 Feb 2012 03:23:21 -0800 (PST)
Received: from blr-exch-1.sandvine.com (10.30.4.60) by WTL-EXCH-1.sandvine.com (192.168.196.31) with Microsoft SMTP Server (TLS) id 14.1.339.1; Tue, 21 Feb 2012 06:23:19 -0500
Received: from BLR-EXCH-1.sandvine.com ([fe80::b896:bd62:3a8d:e51d]) by blr-exch-1.sandvine.com ([fe80::b896:bd62:3a8d:e51d%16]) with mapi id 14.01.0289.001; Tue, 21 Feb 2012 16:53:17 +0530
From: Krishna Prasad <kprasad@sandvine.com>
To: Vineet Vashishth <vin.vashishth@gmail.com>
Thread-Topic: [Dime] Alternate (secondary) peers in diameter commands
Thread-Index: Aczvzw0CgqsVIiAwQY++YjYwNZzTE////1eA//6RNbA=
Date: Tue, 21 Feb 2012 11:23:17 +0000
Message-ID: <BD10179EF7D5DF49986CE3BD4FFF14E62EC34BA6@blr-exch-1.sandvine.com>
References: <BD10179EF7D5DF49986CE3BD4FFF14E62EC3367A@blr-exch-1.sandvine.com> <CAJz0M+gqJWaj-dO4eOoc--vDY8b2OKyyKPo5qDbWJjEXEOkx0Q@mail.gmail.com>
In-Reply-To: <CAJz0M+gqJWaj-dO4eOoc--vDY8b2OKyyKPo5qDbWJjEXEOkx0Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.30.10.45]
Content-Type: multipart/alternative; boundary="_000_BD10179EF7D5DF49986CE3BD4FFF14E62EC34BA6blrexch1sandvin_"
MIME-Version: 1.0
Cc: "dime@ietf.org" <dime@ietf.org>
Subject: Re: [Dime] Alternate (secondary) peers in diameter commands
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.12
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: Tue, 21 Feb 2012 11:23:26 -0000

Hi Vineet,
   The secondary/failover peer should always be pre-decided; just selecting a peer supporting same application is not enough and we can't randomly pick a peer and start failover to that peer. The key question here is, do we need to learn the secondary peers thru configuration ( this how it happens today) or via diameter messaging. My opinion is, as diameter already attempts to standardize the failover/failback procedure why not complete this feature by defining the list of secondary peers to be learnt on diameter signaling. If this information is exchanged via diameter messaging, especially runtime/dynamically this will simplify lot of OAM aspects for the operators in real deployments.


Krishna Prasad.

From: Vineet Vashishth [mailto:vin.vashishth@gmail.com]
Sent: Monday, February 20, 2012 11:54 PM
To: Krishna Prasad
Cc: dime@ietf.org
Subject: Re: [Dime] Alternate (secondary) peers in diameter commands


Hi Krishna,

Yes, diameter protocol does not talk about the implementation of failover and failvack.  But I believe its not a good idea to have a pre-decided set of secondary peers, as the peers which are configured might not be up at exact time, when a diameter node wants to do failover. It should be dynamic selection.

Instead a simpler implementation would be, to select a peer from the list of the locally configured peers (that are up) and which supports same application.

Regards,
Vineet
On Feb 20, 2012 6:26 PM, "Krishna Prasad" <kprasad@sandvine.com<mailto:kprasad@sandvine.com>> wrote:
Diameter experts,
          Diameter base protocol addresses some level of redundancy mechanisms by defining failover and failback procedures and Device Watchdog messages etc. For sure, this simplified or standardized the failover procedures across different implementations which we claim one of the benefits of diameter over RADIUS.
Though the diameter base protocol supports facilities for when to trigger failover/failback procedures, retransmissions  etc..but it does not exactly specify to which alternate peer a diameter node should failover in case of primary peer failure. This is because a diameter node does not know who is secondary for a given primary peer and this is completely left to the implementations choice (probably as a configuration or DNS etc...). What I mean here is, we can left it open for the users to configure secondary peers for a given primary peer. So is it not a good idea to support for diameter nodes to exchange the secondary peers identities also during CER/CEA?
For example client sends CER with its list of secondary peers and server responds with its list of secondary peers in CEA. If there is any change in this list of secondary peers the peers can dynamically exchange this information using 'Diameter Capabilities Update' application. (draft-ietf-dime-capablities-update-07).

I am not sure if this option is already discussed in the working group earlier, if not I would like to know the experts opinion  on this. Does it make sense, completely useless , out of diameter scope, too late to incorporate this in base etc...?


Prasad.
Sandvine Networks

_______________________________________________
DiME mailing list
DiME@ietf.org<mailto:DiME@ietf.org>
https://www.ietf.org/mailman/listinfo/dime