Configuration File ./etc/startup.xml

(1) These following settings have to be identical to the ones of the node controller (here with 'round-robin').
<!-- configuration for load balance systems -->
<
Call
name
=
"enableLoadBalance"
><
Arg
type
=
"boolean"
>true</
Arg
></
Call
>
<
Call
name
=
"useLoadInformation"
><
Arg
type
=
"boolean"
>false</
Arg
></
Call
>
(2) A Lobster_data node - and only a node - has to have the address of the node controller set. The port is the port of the Message Service of the node controller (default is 8020). In this example, the node controller is accessible via the local URL neptun.local on port 8020.
<
Call
name
=
"setMasterNode"
><
Arg
>
<
New
class
=
"com.ebd.hub.services.message.Target"
>
<
Arg
>neptun.local</
Arg
><
Arg
type
=
"int"
>8020</
Arg
></
New
></
Arg
></
Call
>
(3) If the node controller uses the backup directory ./datawizard/backup (default), you have to configure how this installation is able to access that directory.
<
Call
name
=
"replacePath"
><
Arg
>./datawizard/</
Arg
><
Arg
>/shared/Hub/datawizard/</
Arg
></
Call
>
This configures that the node controller directory ./datawizard can be accessed via path /shared/Hub/datawizard. It is important that there is at least one subfolder! The path / or Z:/ would not be valid! Additionally, please do not forget to set the correct path (here /shared/Hub/datawizard) in the following entry.
<
Set
name
=
"backupDir"
>/shared/datawizard/backup/</
Set
>
Note: Under Windows, and when Lobster_data is started as a service, do not work with //<server_name>/d$/ld/backup because it is not recognised by the service. Please work with proper shared folders here.
Note: Make sure to set the same database instance in configuration file ./etc/database.xml that is used as the repository by the node controller! If you adjust the name (id) in file ./etc/factory.xml, the configuration of the Lobster_data node is completed.