Service Context

This section describes the different properties that you can use in the STR to configure SCs.

Property
Description
mz.servicehost.port.range

This property determines the port range for each SC. will bind to ports in the provided ranges. The values must not overlap for SCs that running on the same host.

mz.servicehost.natures

This property contains one or more service specific identifiers that sets behaviors of the the SC. These behaviors, referred to as natures, are required by the services to function.

mz.servicehost.address

This property determines the IP address or hostname to expose when starting services. By default, the IP address is the same as that used to connect to the Platform.

pico.type

Default value: ""

This property specifies the type of pico instance and should always be set to sc.


The following SC is configured during installation of the Platform container.

SC
Default Values
Typical Use
psc1

mz.servicehost.port.range: 5801-5850 
mz.servicehost.natures: platform
mz.servicehost.address:

Standard services required by the system


If you set the property install.str.config-script to str-template/basic.sh in install.xml during the installation, the following SCs will be available in STR.

SC
Default Values
Typical Use
sc1

mz.servicehost.port.range: 5501-5550 
mz.servicehost.natures: default,c1
mz.servicehost.address:

Kafka

sc2

mz.servicehost.port.range: 5551-5600 
mz.servicehost.natures: default,c2
mz.servicehost.address:

Kafka
sc3

mz.servicehost.port.range: 5601-5650 
mz.servicehost.natures: default,c3
mz.servicehost.address:

Kafka
zk1

mz.servicehost.port.range: 5651-5700 
mz.servicehost.natures: coordination,c4
mz.servicehost.address:

ZooKeeper
zk2

mz.servicehost.port.range: 5701-5750 
mz.servicehost.natures: coordination,c5
mz.servicehost.address:

ZooKeeper
zk3

mz.servicehost.port.range: 5751-5800 
mz.servicehost.natures: coordination,c6
mz.servicehost.address:


ZooKeeper

Â