-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathtemplate.yaml
141 lines (122 loc) · 7.25 KB
/
template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#########################################################################
# #
# Copyright (C) 2018 - 2019 Software AG, Darmstadt, Germany and/or #
# Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries #
# and/or its affiliates and/or their licensors. #
# #
# The name Software AG and all Software AG product names are either #
# trademarks or registered trademarks of Software AG and/or #
# Software AG USA Inc. and/or its subsidiaries and/or its affiliates #
# and/or their licensors. Other company and product names mentioned #
# herein may be trademarks of their respective owners. #
# #
# Detailed information on trademarks and patents owned by Software AG #
# and/or its subsidiaries is located at http://softwareag.com/licenses. #
# #
#########################################################################
alias: sag-exx-net-rpc-server
dslVersion: "1.2"
description: Create and configure EntireX rpc server for .NET
version: 2.1
changes:
- 1.0 First published version
- 2.0 Reworked version for version 10.3
- 2.1 Tested with 10.5 and adapted Admin Port
- 2.2 Added runtimes.skip.start property
environments:
default:
exx.server.name: NetRpcSrv # Instance name of the RPC Server
runtimes.skip.start: EntireXCore-RpcServerNet-NetRpcSrv # Set this flag if you do not want the
# newly created instance started automatically
# comment it out if you wish autostart after
# creation
exx.server.install.service: false # Install as Windows service true/false
exx.server.broker.transport: TCP # Connection type to Broker TCP/SSL
exx.server.broker.host: localhost # Broker Host
exx.server.broker.port: 1971 # Broker Port
exx.server.broker.user: exxuser # User ID for Broker when running with security
exx.server.broker.password: exxpasswd # Password for Broker when running with security
exx.server.address: RPC/SRVNET/CALLNET # Server Address
exx.server.adminport: 3094 # Administration port for Command Central
exx.server.reconnect.attempts: 3 # Number of recconect tries to Broker
exx.server.worker.scalability: false # Worker Scalability dynamic true/false
exx.server.broker.ssl.truststore: "" # File Name for Trust Store
exx.server.broker.ssl.serververify: false # Verify Server true/false
exx.server.broker.encoding: Cp1252 # Encoding used between RPC Server and Broker
exx.server.reconnect.attempts: 3 # Number of recconect tries to Broker
exx.server.worker.scalability: false # Worker Scalability dynamic true/false
exx.server.fixnumber: 5 # Fix number of workers
exx.server.minworkers: 2 # Minimum number of workers
exx.server.maxworkers: 10 # Maximum number of workers
exx.server.tracelevel: 1 # Trace Level
exx.server.dotnet.idllibrary1: Calculator # IDL Library Name
# Full path of DLL
exx.server.dotnet.assembly1: C:\assemblies\calc\calc.dll
exx.server.dotnet.idllibrary2: Terminator # IDL Library Name
# Full path of DLL
exx.server.dotnet.assembly2: C:\assemblies\terminator\terminator.dll
exx.server.license.key: "*_EXX_10.*_*_*" # license key, alias name of license key in
# license repository
exx.server.fixes: # minimal recommended set of fixes to apply
- ALL
templates:
net.server:
licenses:
"EntireX/config/license.xml": "${exx.server.license.key}" # license key
#fixes: ${exx.server.fixes}
products:
EntireXCore:
create.server:
type: RPCSERVERNET
instance.name: ${exx.server.name}
install.service: ${exx.server.install.service}
broker.transport: ${exx.server.broker.transport}
broker.host: ${exx.server.broker.host}
broker.port: ${exx.server.broker.port}
broker.user: ${exx.server.broker.user}
broker.password: ${exx.server.broker.password}
server.address: ${exx.server.address}
server.adminport: ${exx.server.adminport}
classpath: ${exx.server.classpath}
idllibrary: ${exx.server.dotnet.idllibrary}
assembly: ${exx.server.dotnet.assembly}
configuration:
EntireXCore-RpcServerNet-${exx.server.name}:
BROKER:
BROKER:
BrokerHost: ${exx.server.broker.host}
BrokerPort: ${exx.server.broker.port}
BrokerTransport: ${exx.server.broker.transport}
BrokerUser: ${exx.server.broker.user}
BrokerPassword: ${exx.server.broker.password}
BrokerEncoding: ${exx.server.broker.encoding}
BrokerSslTrustStore: ${exx.server.broker.ssl.truststore}
BrokerSslVerifyServer: ${exx.server.broker.ssl.serververify}
SERVER:
SERVER:
ServerAddress: ${exx.server.address}
ServerAdminport: ${exx.server.adminport}
ReconnectionAttempts: ${exx.server.reconnect.attempts}
WorkerScalability: ${exx.server.worker.scalability}
FixNumber: ${exx.server.fixnumber}
MinWorkers: ${exx.server.minworkers}
MaxWorkers: ${exx.server.maxworkers}
TRACE:
TRACE:
TraceLevel: ${exx.server.tracelevel}
NET:
NET:
AssemblyList:
- IdlLibrary: ${exx.server.dotnet.idllibrary1}
Assembly: ${exx.server.dotnet.assembly1}
- IdlLibrary: ${exx.server.dotnet.idllibrary2}
Assembly: ${exx.server.dotnet.assembly2}
layers:
runtime:
productRepo: ${repo.product} # default repository to install products from
#fixRepo: ${repo.fix} # default repository to install products from
templates:
- net.server # template to apply
provision: # PROVISION layers to nodes
default: # default environment type
runtime: ${nodes}