Introduction
The Petals ESB Registry node configuration is divided into several parts:
|
Table of contents Contributors
No contributors found for: authors on selected page(s)
|
Node environment configuration
The environment configuration aims to set the right options of the JVM. For example, it is in this configuration that you set the memory size of the JVM running your Petals ESB Regsitry node.
Each installation archive comes with a default environment configuration:
Installation archive | Default environment configuration file |
---|---|
ZIP archive | $PETALS_REGISTRY_HOME/conf/env.sh |
Debian package | /etc/petals-registry/default-env.sh |
For all installation, the default environment configuration file can be updated to adjust parameters to your environment. But for a Debian-based installation, it is recommended to create your own environment configuration and define it in the configuration of your Petals ESB Regsitry node through the property petals.environment.config.file.
Node configuration reference
The node configuration is located into the file member.properties and expressed as property (key/value).
A property value can be set using the value of another property as a variable using a placeholder mechanism, and you can add your own properties:
my-identifier = sample-member-0 petals.registry.overlay.member.logging-cfg-file=/etc/petals-registry/member-available/${my-identifier}/logging.properties
The property petals.environment.config.file does not accept placeholder. |
Node configuration reference
Parameter/Property name | Default value | Description |
---|---|---|
petals.registry.overlay.member.local-identifier | - | Name of the Petals ESB Registry node. MUST match a member identifier in the [cluster] |
Paths | ||
petals.registry.overlay.member.logging-cfg-file | The file 'logging.properties' located in the same path than the local node configuration, ie. member.properties. | Configuration file of the logging system. See [Logging in Petals ESB Registry] |
Cluster | ||
petals.registry.overlay.cluster-definition | cluster.xml[1] | URL of the [cluster definition]. |
JMX | ||
petals.registry.overlay.member.jmx.server.connector.disable | false | If false, the JMX API will be disabled. Recommended value: true. |
petals.registry.overlay.member.jmx.port | 7750 | The listening port of the JMX API. |
petals.registry.overlay.member.jmx.username | petals | Username part of the JMX API credentials |
petals.registry.overlay.member.jmx.password | petals | Password part of the JMX API credentials |
Note 1: If the node configuration, ie. member.properties, is defined by a file-based URL, the default value is cluster.xml in the same directory than the node configuration. Otherwise, no default value is defined and a value MUST be provided.