Assigning host tags
The Lookup Manager application requires following host tags, where <lm-namespace> is the namespace of the Lookup Manager application:
<lm-namespace>_lookup_writer
<lm-namespace>_lookup_host_writer
The ITE application requires the following host tags with the <ite-namespace> being the namespace of the ITE application:
<ite-namespace>_ingest
<ite-namespace>_controller
<ite-namespace>_chain (Variant A and B only)
<ite-namespace>_chain_<id> (Variant C only)
<ite-namespace>_context_<id> (Variant B and C only)
The core of the Lookup Manager application runs on the host that has the <lm-namespace>_lookup_writer host tag. The <lm-namespace>_lookup_host_writer host tag must be assigned to every host that must have access to the enrichment data that is stored in shared memory. Normally, you assign the <lm-namespace>_lookup_host_writer host tag to the hosts that run ITE jobs and have the ITE-related <ite-namespace>_chain_<id> or <ite-namespace>_chain host tags assigned.
The number of hosts that are specified in the global.multiHost.numberOfHosts parameter must be identical to the number of hosts that have the <namespace>_lookup_host_writer host tag assigned.
During their build process, Lookup Manager and ITE applications create a list of required host tags that is stored in the <project-base>/<application-folder>/config/hosttags.txt file. Assign these host tags to the appropriate hosts.
About this task
Assign host tags from the generated hosttags.txt files to the hosts of your cluster system.
Procedure
- Build the application
-
Open the <project-base>/<application-folder>/config/hosttags.txt file.
-
Assign the host tags to the hosts by copying the host tag names to the command line behind the --tags option of the streamtool chhost command.
Example
You have an instance with <host_1>, <host_2>, and <host_3>:
streamtool chhost --add --tags <ite-namespace>_ingest,<ite-namespace>_controller,<lm-namespace>_lookup_writer <host_1>
streamtool chhost --add --tags <lm-namespace>_lookup_host_writer,<ite-namespace>_chain <host_2>
streamtool chhost --add --tags <lm-namespace>_lookup_host_writer,<ite-namespace>_chain <host_3>