Integrate Software AG Products Using Digital Event Services : Using Digital Event Services to Communicate between Software AG Products : Configuring Digital Event Services Using Composite Templates : Configuring DES for Multiple Runtime Instances within a Single Installation
Configuring DES for Multiple Runtime Instances within a Single Installation
The composite template in this example creates and configures a Digital Event Services messaging service of type Universal Messaging for two Integration Server instances named IS_default and IS_default2.
The template defines two layers, with aliases is1 and is2. Both layers map to the local node in the provision section.
The inline template applied to the is1 layer is is1-des-messaging-configuration. The template configures the run-time component OSGI-IS_default-DigitalEventServices by referring to DES-MESSAGING-CONFIG, which defines the parameters for the COMMON-WMMESSAGING-DES configuration type.
The inline template applied to the is2 layer is is2-des-messaging-configuration. The template configures the run-time component OSGI-IS_default2-DigitalEventServices by referring to DES-MESSAGING-CONFIG, which defines the parameters for the COMMON-WMMESSAGING-DES configuration type.
OSGI-IS_default-DigitalEventServices and OSGI-IS_default2-DigitalEventServices are the IDs of the run-time components to be configured. You can obtain the component ID of a runtime by using the sagcc list inventory components CLI command.
COMMON-WMMESSAGING-DES is the configuration type ID, and MyUM is the configuration instance ID. The alias parameter should be the same as the configuration instance ID, in this case: "@alias": MyUM.
Command Central applies the DES-MESSAGING-CONFIG configuration to the run-time components OSGI-IS_default-DigitalEventServices and OSGI-IS_default2-DigitalEventServices. Applying DES-MESSAGING-CONFIG creates and configures a Universal Messaging service for both components.
For more information about working with composite templates and the sagcc list inventory components command, see Software AG Command Central Help.
alias: multiple-des-config-single-install
description: Configure DES for multiple instances in a single installation
version: 0.1
            
layers:
is1:
templates:
- is1-des-messaging-configuration
                
is2:
templates:
- is2-des-messaging-configuration
                
DES-MESSAGING-CONFIG: &DES-MESSAGING-CONFIG
COMMON-WMMESSAGING-DES:
MyUM:
Messaging:
"@alias": MyUM
Description: NewUM
Enabled: true
Provider:
"@type": UM
URL: nsp://localhost:1234
                        
templates:
is1-des-messaging-configuration:
products:
integrationServer:
default:
configuration:
OSGI-IS_default-DigitalEventServices: *DES-MESSAGING-CONFIG
                        
is2-des-messaging-configuration:
products:
integrationServer:
default2:
configuration:
OSGI-IS_default2-DigitalEventServices: *DES-MESSAGING-CONFIG
                    
provision:
default:
is1: local
is2: local
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback