question

Upvotes
Accepted
148 2 3 9

Not able to connect to remote sink daemon

I have a RFA application which i want to connect to a remote sink daemon.
I have set the following environment on my application:

setenv DACSMUXNAME "dacs_lib.sink"
setenv DACSMUXPING "true"

Also, i have set the following the dacs envs file:

DACS_SNKD_P2P_USAGE=/export/home/vsharma/Config/RFA/;export DACS_SNKD_P2P_USAGE
DACS_SNKD_P2P_USAGE_SIZE="65534"; export DACS_SNKD_P2P_USAGE_SIZE

Next, i have created the ipcroute file in the directory where my RFA application is running. Please find

below the content of the file:

dacs_lib.sink:10.11.32.11:10.11.32.12

where 10.11.32.11 is the ip of the localhost, and 10.11.32.12 is the ip of the remote host.
Still my RFA application is not able to connect to the remote sink daemon.
Can anybody let me know what i need to fix in order for this to work.

Thanks,
Varun Sharma

DACSopen-dacs
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
47.2k 110 44 60

You can use the following method to connect to remote sink daemon.

1. Add the following entry in the services database, /etc/services for UNIX or C:\WINDOWS\system32\drivers\etc\services for Windows

dacs_lib 8211/tcp

2. Set the DACSMUXNAME environment variable to <hostname of dacs_snkd>:dacs_lib, e.g.:

On UNIX (bash): export DACSMUXNAME=10.11.32.12:dacs_lib
On Windows: set DACSMUXNAME=10.11.32.12:dacs_lib

[Assuming that 10.11.32.12 is a host on which DACS sink daemon is running]

You can use telnet connect to verify a connection to remote sink daemon.

telnet 10.11.32.12 8211
icon clock
10 |1500

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