accessing devices running on a server with 2 interfaces
|
|
---|---|
Reynald Hi folks, several use case exists to install a server on several subnetworks. I think the good way to do this would be to put an environment variable bind-address in /etc/tangorc, exactly the same way it is done in other services, e.g. MariaDB (https://mariadb.com/kb/en/library/configuring-mariadb-for-remote-client-access/#editing-the-defaults-file). bind-address should allow several addresses. It seems to me backward compatibility could be easily assured by keeping current behaviour by default (publishing on first IP address found). Thus, if bind-address is defined in /etc/tangorc (or elsewhere) TANGO service will publish on this or these addresses. Does this sound OK and feasible to you? Regards.
- Philippe
|
|
|
---|---|
Reynald Hi Reynald, we tested it today and noticed that only the last -ORBendPointPublish is taken into account so it is not possible to publish several IP address.
- Philippe
|
|
|
---|---|
according to omniORB documentation (http://omniorb.sourceforge.net/omni42/omniORB/omniORB006.html, section 6.6.3), it seems possible to publish several endpoints. Please have a look at this documentation and try to find the correct combination that would fit your use case.
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |