Application network properties for Teracloud® Streams domains and instances

Use the domain.applicationNetwork and instance.applicationNetwork properties to specify the subnetworks that are used by the Teracloud® Streams data transport mechanism for instance jobs and PEs.

By default, Teracloud® Streams uses the IP address that is configured in the Domain Name System (DNS) or in the /etc/hosts file.

To specify the domain.applicationNetwork or instance.applicationNetwork property value, use Classless Inter-Domain Routing (CIDR) notation, which includes the combination of both an IP address and a mask bit value in the following format:
IP-address/mask-bit-value
In the following example, the IP address is 192.0.2.0 and the mask bit value is 24, which converts to a subnet mask of 255.255.255.0:
instance.applicationNetwork=192.0.2.0/24
To specify multiple CIDR values, separate the values with a comma as show in the following example:
instance.applicationNetwork=192.0.2.0/24,198.51.100.0/24
For jobs and PEs, Teracloud® Streams checks the CIDR values in the order specified, and uses the first match that is found for the connection. If no match is found, Teracloud® Streams uses the IP address that is configured in the DNS or in the /etc/hosts file.
For system services, Teracloud® Streams checks the CIDR values in the order specified, and attempts to select an alternate interface with a subnetwork that is not in the subnetworks that are specified by the application network properties.
  • Domain services use the domain.applicationNetwork property.
  • Instance services use the instance.applicationNetwork property.
If an alternate interface cannot be found, Teracloud® Streams uses the IP address that is configured in the DNS or in the /etc/hosts file.
To display or set property values for domains and instances, use the following streamtool commands:
  • For the domain.applicationNetwork property, use the streamtool getdomainproperty command to display the property value and the streamtool setdomainproperty command to update the value.
  • For the instance.applicationNetwork property, use the streamtool getproperty command to display the property value and the streamtool setproperty command to update the value.