-
Notifications
You must be signed in to change notification settings - Fork 9
/
complete_config.yaml
174 lines (162 loc) · 5.13 KB
/
complete_config.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
### url of schema
schema: https://raw.githubusercontent.com/WLCG-Lightweight-Sites/simple_grid_site_repo/master/simple_base_schema.yaml
### Variable declaration:
global_variables:
- &lightweight_component01_ip_address 192.168.0.4
- &lightweight_component02_ip_address 192.168.0.5
cream_runtime_variables:
- &cream_runtime_var_ce_host lightweight_component01.cern.ch
pbs_runtime_variables:
- &pbs_runtime_var_ce_host lightweight_component01.cern.ch
site:
name: 'simple-dev-site'
email: 'mayank.sharma@cern.ch'
latitude: 46.3
longitude: 6.2
location: CERN, Geneva, Switzerland
description: 'A demo site demonstrating the SIMPLE framework for site setup'
website: 'https://home.cern'
support_website: 'https://groups.google.com/forum/#!forum/wlcg-lightweight-sites'
support_email: 'mayank.sharma@cern.ch'
security_email: 'mayank.sharma@cern.ch'
grid: 'wlcg' #site_other_grid: str(), wlcg, egi,osg
tier: 3
bdii_host: bdii.cern.ch
use_argus: false
preferred_tech_stack:
level_1_configuration: puppet
level_2_configuration: puppet
container_orchestration: docker-swarm
container: docker
site_infrastructure:
- fqdn: lightweight_component01.cern.ch
ip_address: *lightweight_component01_ip_address
- fqdn: lightweight_component02.cern.ch
ip_address: *lightweight_component02_ip_address
lightweight_components:
- type: compute_element
name: Cream-CE
repository_url: "https://github.com/WLCG-Lightweight-Sites/wlcg_lightweight_site_ce_cream"
repository_revision: "master"
execution_id: 0
lifecycle_hooks:
pre_config:
- /etc/simple_grid/lifecycle/ce_pre_config.sh
pre_init:
- /etc/simple_grid/lifecycle/ce_pre_inst1.sh
post_init:
- /etc/simple_grid/lifecycle/ce_post_inst1.sh
deploy:
- node: lightweight_component01.cern.ch
container_count: 1
preferred_tech_stack:
level_2_configuration: yaim
config:
mysql_password: fteu5746hg
ce_cpu_model: *cream_default_var_ce_cpu_model
ce_cpu_speed: 3000
ce_cpu_vendor: Intel
ce_os_arch: str() #move back to node definitions?
ce_physcpu: 0
blparser_with_updater_notifier: true
cream_db_user: str()
cream_db_password: str()
apel_db_password: str()
queues:
alice:
- voms_fqan: '/alice'
pool_accounts:
- *default_pool_accounts_alice
vo: *default_vo_alice
- voms_fqan: '/alice/ROLE=lcgadmin'
pool_accounts:
- *default_pool_accounts_alice
- *default_pool_accounts_alicesgm
vo: *default_vo_alice
supplemental_config:
some_additional_parameter: some_value
- name: WN-Pbs
type: worker_node
repository_url: "https://github.com/WLCG-Lightweight-Sites/wlcg_lightweight_site_wn_pbs"
repository_revision: "master"
execution_id: 1
lifecycle_hooks:
pre_config:
- /etc/simple_grid/lifecycle/wn_pre_config.sh
pre_init:
- /etc/simple_grid/lifecycle/wn_pre_inst1.sh
post_init:
- /etc/simple_grid/lifecycle/wn_post_inst1.sh
deploy:
- node: lightweight_component02.cern.ch
container_count: 2
preferred_tech_stack:
level_2_configuration: yaim
config:
ce_host: *pbs_runtime_var_ce_host
batch_server: pbs
supplemental_config:
some_additional_parameter: some_value
supported_virtual_organizations:
- *default_vo_alice
- *default_vo_dteam
- *default_vo_ops
voms_config:
- voms_fqan: '/alice'
pool_accounts:
- *default_pool_accounts_alice
vo: *default_vo_alice
- voms_fqan: '/alice/ROLE=lcgadmin'
pool_accounts:
- *default_pool_accounts_alice
- *default_pool_accounts_alicesgm
vo: *default_vo_alice
comment: sgm
- voms_fqan: '/dteam'
pool_accounts:
- *default_pool_accounts_dteam
vo: *default_vo_dteam
- voms_fqan: '/dteam/ROLE=lcgadmin'
pool_accounts:
- *default_pool_accounts_dteamsgm
- *default_pool_accounts_dteam
vo: *default_vo_dteam
comment: sgm
- voms_fqan: '/ops'
vo: *default_vo_ops
pool_accounts:
- *default_pool_accounts_ops
- voms_fqan: '/ops/ROLE=lcgadmin'
pool_accounts:
- *default_pool_accounts_opssgm
- *default_pool_accounts_ops
vo: *default_vo_ops
comment: sgm
# - gid: 1395
# name: *default_group_alice_name
# accepted_voms_extensions:
# vo: 'alice' # add_vo_name_in_default_config
# group: ''
# role: ''
# category: ''
# - gid: 1397
# name: *default_group_alicesgm_name
# priority_group: sgm
# accepted_voms_extensions: '/alice/ROLE=lcgadmin'
# - *default_group_dteam
# - *default_group_dteamsgm
# - *default_group_ops
# - <<: *default_group_opssgm
# gid: 2018
#pool_accounts:
# - base_name: 'alice'
# initial_uid: '10417'
# users_num: '5'
# primary_group: *default_group_alice_name
# - base_name: 'sgmali'
# initial_uid: '60101'
# users_num: '10'
# primary_group: *default_group_alicesgm_name
# secondary_group: *default_group_alice_name
# - *default_pool_account_dteam
# - *default_pool_account_ops