Configuration of the Inner System‌

1. Lobster_data needs to know the server name respectively IP address and message port of DMZ the machine. This is done using the configuration file ./etc/startup.xml von Lobster_data. The following listing shows the entry in section DataWizard in file ./etc/startup.xml:


...
<Set name="dmzHost">your_ip_of_dmz_host</Set>
<Set name="dmzPort">port_of_the_message_service_of_dmz_server</Set>
...

2. The Message Service needs to be started (this is governed by its section in ./etc/message.xml) and its remote interface needs to be activated.

<Configure class="com.ebd.hub.services.message.MessageService">
<Call name="enableRemoteInterface">
<Arg>0.0.0.0</Arg><Arg type="int">8020</Arg>
</Call>
...

Once the Message Service of the inner server is started, its remote interface listens on all IP addresses of the inner server (0.0.0.0) on port 8020.

3. The inner Authentication Service needs to be ready to receive messages from the DMZ. Therefore, it needs to be registered as a Message Consumer for a certain Message Queue at the Message Service of the inner server in the configuration file ./etc/auth.xml.

<Configure class="com.ebd.hub.services.auth.AuthenticationService">
<!-- The Message Queue for receiving from DMZ . Default if not set: System : AuthCall
<Set name="messageContext">System</Set>
<Set name="messageQueue">AuthCall</Set>
-->
<!-- Allow consumption of messages received from Message Authentication Service in DMZ. Default: false -->
< Set name="consumeMessages">True</Set>
...

If there is no explicit configuration in file ./etc/auth.xml (of the inner server) for Message Context and Message Queue, the service uses the queue System:AuthCall.

Recommendation: Use the standard name: (leave section commented out).

Warning: Do not use the queue for other purposes.

If consumeMessages has the value True, the Authentication Service is registered as a Message Consumer with the Message Service. If the Message Queue does not yet exist, it is generated during startup.

4. The inner Communication Log Service uses same-named parameters in the file ./etc/commlog.xml, the default for the Message Queue there is System:CommlogCall.