Petals ESB Hazelcast Registry Node configuration

Introduction

The Petals ESB Hazelcast Registry node configuration is divided into several parts:

  • an environment configuration to set the right options of the JVM running the Petals ESB Hazelcast Registry node,
  • a node configuration to set all parameters that are internal to the Petals ESB Hazelcast Registry node (ie. that are not used by other nodes),
  • a logging configuration to configure the logging systems of the Petals ESB Hazelcast Registry node,
  • the [cluster configuration] in which the Petals ESB Hazelcast Registry node is running, to define other nodes of the Petals ESB Hazelcast Registry cluster.
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 Hazelcast Registry 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 Hazelcast Registry 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 Hazelcast Registry node. MUST match a member identifier in the [cluster]
petals.registry.overlay.member.listening.interface localhost The network interface Petals will listen to communicate with other members of 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 Hazelcast Registry
Cluster    
petals.registry.overlay.cluster-definition cluster.xml1 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.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.