Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • Open DACS /
avatar image
Question by sarvesh.singh · Oct 20, 2021 at 08:18 AM · DACSopen-dacs

Do we require to set the 'DACSMUXNAME' and 'DACSMUXPING' variables if we are using OPEN DACS API to connect DACS server

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

4 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Jirapongse · Oct 20, 2021 at 09:46 AM

@sarvesh.singh

Actually, the Open DACS API connects to a DACS server through a DACS Daemon. A DACS Daemon can be installed on a local machine or remote machine.

According to the DACS Installation Guide:

DACSMUXNAME
This environment variable is used to inform the DACS Library that the DACS Daemon is located on a different machine than the DACS Library. This can be useful in cases where installing a local DACS Daemon is not appropriate with the understanding that performance is degraded and that in some configurations usage is not generated.

For example:
export DACSMUXNAME=192.168.27.50:dacs_lib

dacs_lib is 8211/tcp defined in the /etc/services file. 

DACSMUXPING
This environment variable is used to inform the DACS Library that heartbeat messages should be sent between the DACS Library and the DACS Daemon. This option should only be used when the DACSMUXNAME option is being used.


Therefore, these environment variables are used when you would like to connect to a remort DACS Daemon.

However, the Open DACS API allows you to specify a setting to connect to a remote Dacs Daemon. For example, with the Open DACS C++, you can specify it in the authorizationOptions parameter.

rfa::dacs::AuthorizationSystem::acquire(const rfa::common::RFA_String& authorizationName = “DACS”, const AUTH_SYSTEM_OPTION_VEC *authorizationOptions = NULL) throw (AuthorizationException) 

The authorizationOptions parameter is an RFA_Vector that contains type AUTH_SYSTEM_OPTION_ELEMENT. The options are used to inform the API ‘how’ to connect to the DACS daemon and how usage should be logged. For example:

1634722840013.png



1634722840013.png (89.6 KiB)
Comment
umer.nalla

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by umer.nalla · Oct 20, 2021 at 09:35 AM

Hi @sarvesh.singh

You would need to use those ENV variables if you are using a remote Dacs Daemon

Please see the existing post for details:

Not able to connect to remote sink daemon - Forum | Refinitiv Developer Community

Is it possible to configure a RFAC++ application using the MD interface to connect to a remote dacs_snkd? - Forum | Refinitiv Developer Community


Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by sarvesh.singh · Oct 25, 2021 at 12:07 PM

@Jirapongse ,

In our application we use "acquire" and "createAuthorizationAgent" API of rfa::dacs::AuthorizationSystem class to connect to remote DACS Daemon. and we are able to connect without configuring above env variables.

So are these variables not required to set if we connect using above methods ?

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by umer.nalla · Oct 25, 2021 at 12:17 PM

Hi @sarvesh.singh

I believe that is exactly the point @Jirapongse is making.


When I posted my reply - I was not aware of the programmatic option and was just answering your question about the ENV vars - I am not a DACS API specialist ;)


Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

How to obtain permissions from a given RIC with openDACS

AuthorizationMCSystem vs. AuthorizationSystem

Open Dacs LOGOUT FORCED

How do I set up Dacs Daemon on windows machine? From where can I download dacs_snkd file?

How to read out users DACS configuration?

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges