question

Upvotes
Accepted
301 6 17 27

Is it possible to configure a RFAC++ application using the MD interface to connect to a remote dacs_snkd?

Is it possible to configure a RFAC++ application using the MD interface to connect to a dacs_snkd on another system for permissioning. I believe this can be configured using the DACSMUXNAME environment variable and an ipcroute file. Can you provide the instructions how to do this?

treprfarfa-apiDACSpermissioning
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
7.6k 15 6 9

@Rupert Schilling

Applications can configure to connect to a DACS Sink Daemon (dacs.snkd) that does not reside on the localhost with the application. This is useful in cases where installing a local DACS daemon is not appropriate, with the understanding that performance will be degraded.

Ensure that you have configured RFA to use a remote DACS daemon. This requires the following steps:

1.Add the following to the services file:

dacs_lib 8211/tcp

2.Two environment variables must be set correctly.

  • The DACSMUXNAME environment variable is used to inform the DACS Library that the DACS daemon is located on a different machine then the DACS Library. Define this variable and set it equal to "dacs_lib.sink" so that it may be used in the ipcroute file to specify the location of the DACS daemon.

For example (on a UNIX machine)

DACSMUXNAME="dacs_lib.sink"

  • The DACSMUXPING 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.

DACSMUXPING="true"

3. Once the above variables have been successfully configured, add the following line to your ipcroute file to complete the configuration. (If the ipcroute file doesn't already exist, you will need to create one.)

dacs_lib.sink:<localhost>:<host_with_dacs_daemon>

Note that this line can contain a space separated list of <host_with_dacs_daemon> just like when listing multiple Sink Distributors to which an SSL application can connect.

dacs_lib.sink:local_hostname:remote_dacs_hostname1, remote_dacs_hostname2

The ipcroute file should be in the working directory of the application, or in another location where it will be found by SSL lib used by RFA.

If the connection to remote_dacshostname1 fails, RFA will attempt a connection to remote_dacs_hostname2.

icon clock
10 |1500

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

Thanks for the information. I have this working.

Click below to post an Idea Post Idea