[genivi-dlt] use dlt with virtual IP

Lipka, Christoph (ADITJ/SWG) clipka at jp.adit-jv.com
Tue Dec 13 03:16:40 EST 2016


Hi,

For this we implemented "Multi Node" DLT. In this case, we have one DLT Daemon (called "Gateway DLT" which is connected directly to the DLT Viewer. All other DLT Daemons in the system we call "passive DLT". That means, on every OS another DLT Daemon is running.
To configure the Gateway DLT Daemon, you need to enable the Gateway Mode in dlt.conf:

########################################################################
# Gateway Configuration                                                                                                     #
########################################################################
# Enable Gateway mode (Default: 0)
GatewayMode = 1

# Read gateway configuration from another location
# GatewayConfigFile = /etc/dlt_gateway.conf

The Gateway DLT need to have information about passive DLT Daemons and how to connect to them, for this dlt_gatewat.conf is used:

[PassiveNode1]
IPaddress=192.168.2.11
; TCP port. Default 3490 is used if no port is specified.
; Port=3490
; passive nodes ECU identifier. Mandatory.
EcuID=ECU2
; Try connect to passive Node on DLT Daemon startup. Default OnStartup if not specified.
; Connect=OnStartup
; Stop connecting to passive node, if not successful after 10 seconds
Timeout=10
; Send following control messages after connection is established
; SendControl=0x03,0x13
; Send Serial Header with control messages. Value in dlt.conf is used as default if not specified.
; SendSerialHeader=0

; Supported Control messages:
; DLT_SERVICE_ID_GET_LOG_INFO                    0x03
; DLT_SERVICE_ID_GET_SOFTWARE_VERSION            0x13

Important here is to specify the IP Address and EcuID. This EcuID has to match with the EcuID specified in the passive DLT's dlt.conf. As a requirement, this EcuID must be unique. So you cannot have ECU1 (which is the default value) for multiple DLT Daemons in the system.

In the viewer, you can distinguish between logs from several OS by checking the EcuID field.
But be aware, full MultiNode awareness is not implemented in DLT Viewer yet.

If something is still unclear, please let me know.

Best regards

Christoph Lipka
Software Group (ADITJ/SWG)

Tel. +81-(0)566 61-5124

From: genivi-diagnostic-log-and-trace [mailto:genivi-diagnostic-log-and-trace-bounces at mailman1.genivi.org] On Behalf Of Jaiswal Sumit (RBEI/ECP4)
Sent: Friday, December 09, 2016 6:48 PM
To: genivi-diagnostic-log-and-trace at mailman1.genivi.org
Subject: [genivi-dlt] use dlt with virtual IP

Hello All ,
I am using dlt for traces in my prohject , we have multipal OS which is configured with the virtual IP addresses , how can we use Dlt viewer with all the domains
In DLT logs its not mention from which IP address data is coming from.
Please check the test result for DLT , what is the meaning of below logs -
I see some error -

socket connections.
[28007.220183]~DLT~ 6246~INFO     ~Activate connection type: 1
[28007.220227]~DLT~ 6246~WARNING  ~dlt_daemon_client_send: socket send dlt message failed
[28007.220234]~DLT~ 6246~INFO     ~Switched to send buffer state for socket connections.
[28007.220252]~DLT~ 6246~INFO     ~Deactivate connection type: 1
[28007.220287]~DLT~ 6246~INFO     ~Switched to buffer state for socket connections.
[28007.220298]~DLT~ 6246~WARNING  ~dlt_daemon_client_send_all_multiple: send dlt message failed
[28007.236960]~DLT~ 6246~INFO     ~Activate connection type: 1
[28007.237069]~DLT~ 6246~INFO     ~Switched to send buffer state for socket connections.
[28007.237084]~DLT~ 6246~INFO     ~Switched to send direct state.

Addation : what is the use of DLT_GATEWAY.conf ?



Best regards

Sumit Jaiswal
RBEI/ECP4

Tel. +91(80)6657-5422
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-diagnostic-log-and-trace_lists.genivi.org/attachments/20161213/fe9ecb2e/attachment.html>


More information about the genivi-diagnostic-log-and-trace mailing list