cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2840
Views
0
Helpful
4
Comments
nmanicka
Cisco Employee
Cisco Employee

 

There are a couple of ways to connect EFM with DCM:

  1. DCM DSLink
  2. Using MQTT DSLink

The MQTT method is outlined here.

  • Install and start MQTT DSLink on EFM node

MQTT_Install.jpg

 

 

MQTT_Start.jpg

 

 

  • From dataflow editor page: Configure the MQTT link to connect to DCM

MQTT_DCM_Configure.jpg

 

name <Any Name>
URL ssl://us.ciscokinetic.io (or ssl://eu.ciscokinetic.io ... depending on which Kinetic cluster the gateway is managed from)
username <Gateway user ID from Kinetic> see Kinetic screenshot below
password  <Gateway password from Kinetic> see Kinetic screenshot below
clientID  <Any unique ID>
cert  <cert file from Kinetic> (see attached file)

 

 

GW_Details.jpg

  • Once the MQTT connection is configured. You can right click on the mqtt connection and choose "publish" operation (or click and drag the publish operation onto to the dataflow) to publish to DCM
  • The MQTT topic to be used is also listed in the above picture with gateway details. (Use the observation topic)
  • When using the MQTT Publish block in a dataflow, remember to set the "autorun" property to "true", so that any value/input change triggers a publish.

PublishDataflow1.jpg

 

 

PublishDataflow2.jpg

Comments
CSebok
Level 1
Level 1

@nmanicka wrote:

 

name<Any Name>
URLssl://us.ciscokinetic.io (or ssl://eu.ciscokinetic.io ... depending on which Kinetic cluster the gateway is managed from)
username<Gateway user ID from Kinetic> see Kinetic screenshot below
password <Gateway password from Kinetic> see Kinetic screenshot below
clientID <Any unique ID>
cert <cert file from Kinetic> (see attached file)

 


Where is this attached file? I'm working in the Cisco Kinetic EFM Lab and can't get EFM talking to DCM via MQTT.

nmanicka
Cisco Employee
Cisco Employee

Updated the article with the cert file. (Had to change file extension)

jeremypng
Level 4
Level 4

What if I am trying to publish data from my regional or central EFM node that is not a Kinetic gateway? For instance, regional Kinetic gateways w/ EFM app stream to an EFM node on CentOS in my datacenter via site-to-site VPN. Now I want to do some processing there, log to Parstream, do local visualization, and send a subset of that data up to DCM. It doesn't seem to make sense to register the regional EFM node w/ the gateway ID of one of my edge routers. So what creds do I use in the MQTT link between the regional EFM node and DCM so that it will recognize the correct source?

 

Thanks!

nmanicka
Cisco Employee
Cisco Employee

Hi Jeremy, 

Lets start with what you will do with the data published to DCM.

Is it for re-direct to a cloud service (Azure, IBM).

 

We currently dont have a non-gateway endpoint in the kinetic portal.

But you could use the "Devices" under an existing gateway, create new devices (this will create a new MQTT topic), 

You can use the new device MQTT topic to differentiate between you different non-gateway end points.

 

--Naveen

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links