To specify on which hostname, interface or port the Carte slave server runs, you should specify a slave_server element:
<name>slave server name</name>
Optionally you can also add the networking_interface option instead of the hostname. The IP-address to run on will then be automatically determined by looking at the IP-address of the specified interface. For example, if you have an eth0 interface containing IP-address 192.168.1.3, then that's the address that will be taken.
You can place the following elements under the root element:
Integer value indicating the maximum number of log lines kept in memory
When set to 0 all log lines are kept in memory until a job or transformation is removed from memory. This value is not exact. A few hundred extra rows might be kept in memory for performance reason.
Integer value configuring the longest time a log line is kept in memory.
When set to 0 all log lines are kept in memory until a job or transformation is removed from memory. This value is not exact. The log buffer will only be verified periodically (every minute).
Integer value configuring the longest time a transformation or a job is kept in memory.
While it is nice to be able to verify if a transformation or a job ran correctly by asking Carte or the DI Server, there usually isn't a need to keep execution history around indefinitely. With this parameter you can specify the number of minutes after which the object in question is removed from memory. A value of 0 means that all objects will be kept forever or until they are manually removed. This value is not exact. The execution history or transformations and jobs will only be cleaned periodically.
If you want your slave server to be part of a dynamic cluster you need tell it which master to report to. You can do this by specifying a masters element and by adding a report_to_master element set to Y. For example:
Note: If a DI Server will be the master, an additional "webAppName" element must be included under the "slaveserver" element.
Defining a repository connection
Starting from PDI version 5 you can specify a connection to a repository. This connection will typically be used for the following reasons:
to automatically find transformations that can act as a service (SQL/JDBC table), see also the Thin JDBC driver page.
to allow jobs defined in the repository to be executed through a servlet. You can for execute a job in the repository by using the following URL format: http://hostname:port/kettle/runJob/?job=/path/to/jobname&level=DebugLevel&ParameterName=ParameterValue*
to allow transformations defined in the repository to be executed through a servlet. You can for execute a transformation in the repository by using the following URL format: http://hostname:port/kettle/runTrans/?trans=/path/to/transname&level=DebugLevel&ParameterName=ParameterValue*
To define a repository, simply add a repository element to the root. Please keep in mind that "Username and password refers to the repository, not the carte server:
<name>Repository Name (id)</name>
Carte is also capable of handing out sequence ranges for usage in a clustering world. One usecase is the Get ID from slave server step. You can configure this by using the sequences element: <sequences>