Configuring Digital Event Services Using Composite Templates : Configuring DES for a Set of Installations
Configuring DES for a Set of Installations
The composite template in this example configures Digital Event Services for the Integration Server instance IS_Default in two different installations.
This template defines two layers, with aliases is1 and is2, which in the provision section map to the nodes local and local2, respectively.
The templates applied to the is1 and is2 layers are is1-des-messaging-configuration and is2-des-messaging-configuration, respectively. The templates configure 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.
OSGI-IS_default-DigitalEventServices is the ID of the run-time component 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 component OSGI-IS_default-DigitalEventServices, thus creating and configuring Universal Messaging for multiple instances in multiple installations.
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-multi-install
description: Configure DES for multiple instances in multiple installations
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:
default:
configuration:
OSGI-IS_default-DigitalEventServices: *DES-MESSAGING-CONFIG
                         
nodes:
default:
default:
secure: true
credentials:
username: Administrator
password: manage
local:
host: localhost
port: 8093
local2:
host: localhost
port: 9815
                    
provision:
default:
is1: local
is2: local2
Copyright © 2016-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback