DPSS with multiple routers

Document created by cdnadmin on Jan 25, 2014
Version 1Show Document
  • View in full screen mode
This document was generated from CDN thread

Created by: Gildas Le Peron on 03-12-2013 09:08:53 AM
Hi,
I'd like to get packets from multiple routers in the same application. Can you give me some advice to do this?
Thanks in advance,
Best regards,

Subject: RE: DPSS with multiple routers
Replied by: Gildas Le Peron on 03-12-2013 10:12:06 AM
Ok I made it, you can close this post.
1. set up routers configuration :
router 1 :
configure terminal
    onep
        datapath transport gre sender-id 23420
router 2 :

configure terminal
    onep
        datapath transport gre sender-id 23421
router 3 :

configure terminal
    onep
        datapath transport gre sender-id 23422

2. set up dpss configuration
dpss1.conf :
LOCAL_PORT 9990
SHM_NAME /dpss-pak-buf0
ONEP_SENDER_ID 23420

dpss2.conf :
LOCAL_PORT 9991
SHM_NAME /dpss-pak-buf1
ONEP_SENDER_ID 23421

dpss3.conf :
LOCAL_PORT 9992
SHM_NAME /dpss-pak-buf2
ONEP_SENDER_ID 23422

3. start 3 dpss_mp session :
sudo ./dpss_mp -c dpss1.conf
sudo ./dpss_mp -c dpss2.conf
sudo ./dpss_mp -c dpss3.conf

Best regards,

Subject: RE: DPSS with multiple routers
Replied by: Joseph Clarke on 03-12-2013 01:06:37 PM
You don't need to do all of this.  You can have one dpss_mp collect packets from multiple sources.  Just make sure your sender-ids are unique across all elements in the domain.  For example, in dpss.conf, use ONEP_SENDER_ID of 23420, then on router 1 use 23421, router 2 use 23422, router 3 use 23423.  We have a project right now doing this successfully.

The idea of unique sender-ids is unfortunately not well-documented.  While things work with dups today, I am told that might always not be the case.  The idea is to make sure they are unique.

Subject: RE: DPSS with multiple routers
Replied by: Gildas Le Peron on 04-12-2013 10:49:33 AM
Ok it works that way.
Thanks

Attachments

    Outcomes