-
Notifications
You must be signed in to change notification settings - Fork 69
/
template.yaml
122 lines (113 loc) · 5.7 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
###############################################################################
# Copyright 2013 - 2018 Software AG, Darmstadt, Germany and/or its licensors
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###############################################################################
alias: sag-cc-tuneup
description: Command Central and SPM tune up configuration
version: 10.2
environments:
default:
# Connect to Platform Manager timeout (seconds)
timeout.spm.connect.seconds: 900
# Read from Platform Manager timeout (seconds)
timeout.spm.read.seconds: 900
# Read product and fix repositories timeout (milliseconds)
timeout.repo.read.seconds: 3600
# Default job timeout (seconds)
timeout.job.seconds: 4800
# Create or refresh mirror repository timeout (minutes)
timeout.job.mirror.minutes: 720
# Bootstrap Platform Manager timeout (minutes)
timeout.job.bootstrap.minutes: 120
# Create bootstrap image and install Platform Manager timeout (minutes)
timeout.job.bootstrap.node.minutes: 120
# Bootstrap one standalone installation timeout (minutes)
timeout.job.bootstrap.platform.manager.minutes: 120
# Bootstrap multiple standalone installations timeout (minutes)
timeout.job.environment.add.nodes.minutes: 120
# Apply composite templates timeout (minutes)
timeout.job.template.minutes: 120
# Maximum concurrent jobs
pool.size.jobs: 50
# Wait for bootstrapped or restarted Platform Manager to come online timeout (seconds)
timeout.status.node.seconds: 2400
# Wait for restarted runtime instance to come online timeout (seconds)
timeout.status.runtime.seconds: 2400
# Enable or disable fix dependency validation when installing fixes (true/false)
fix.dependencies.validation: true
# SPM memory settings
spm.memory.init.size: 32
spm.memory.max.size: 512
# CCE memory settings
cce.memory.init.size: 256
cce.memory.max.size: 512
# List of SPM nodes/hosts to configure
nodes: [local]
layers:
cce:
templates:
- cce-tuneup
- spm-tuneup
spm:
templates:
- spm-tuneup
templates:
cce-tuneup:
products:
CCE:
default:
configuration:
OSGI-CCE:
COMMON-SYSPROPS:
COMMON-SYSPROPS: # CCE system tuneup properties
com.softwareag.platform.management.job.thread.pool.size: ${pool.size.jobs}
com.softwareag.platform.management.job.timeout: ${timeout.job.seconds}000
com.softwareag.platform.management.mirror.job.timeout: ${timeout.job.mirror.minutes}
com.softwareag.platform.management.client.provision.bootstrap.platform.manager.timeout.minutes: ${timeout.job.bootstrap.minutes}
com.softwareag.platform.management.client.provision.bootstrap.node.timeout.minutes: ${timeout.job.bootstrap.node.minutes}
com.softwareag.platform.management.client.provision.bootstrap.node.job.bootstrap.platform.manager.timeout.minutes: ${timeout.job.bootstrap.platform.manager.minutes}
com.softwareag.platform.management.client.provision.environment.add.nodes.job.timeout.minutes: ${timeout.job.environment.add.nodes.minutes}
com.softwareag.platform.management.client.template.composite.apply.job.timeout.minutes: ${timeout.job.template.minutes}
com.softwareag.platform.management.client.template.composite.node.check.online.poll.timeout.milisecond: ${timeout.status.node.seconds}000
com.softwareag.platform.management.client.template.composite.restart.online.status.poll.timeout.miliseconds: ${timeout.status.runtime.seconds}000
com.softwareag.platform.management.client.remote.requests.connect.timeout: ${timeout.spm.connect.seconds}000
com.softwareag.platform.management.client.remote.requests.sync.read.timeout: ${timeout.spm.read.seconds}000
COMMON-MEMORY:
COMMON-MEMORY:
InitSize: ${cce.memory.init.size}
MaxSize: ${cce.memory.max.size}
spm-tuneup:
products:
SPM:
default:
configuration:
OSGI-SPM:
COMMON-SYSPROPS:
COMMON-SYSPROPS: # SPM system tuneup properties
com.softwareag.platform.management.job.timeout: ${timeout.job.seconds}000
com.softwareag.platform.management.mirror.job.timeout: ${timeout.job.mirror.minutes}
org.eclipse.ecf.provider.filetransfer.retrieve.readTimeout: ${timeout.repo.read.seconds}000
org.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout: ${timeout.repo.read.seconds}000
com.softwareag.plm.sum.cc.override.resolve.validation: ${fix.dependencies.validation}
COMMON-MEMORY:
COMMON-MEMORY:
InitSize: ${spm.memory.init.size}
MaxSize: ${spm.memory.max.size}
provision:
default:
cce: local # apply to local CCE
spm: ${nodes} # apply to all SPM's identified by a list of node aliases