-
Notifications
You must be signed in to change notification settings - Fork 0
/
scipion-inputs.yaml.m4
185 lines (130 loc) · 4.88 KB
/
scipion-inputs.yaml.m4
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
175
176
177
178
179
180
181
182
183
184
185
---
define(SQ,')
ifdef(`_PROVISIONER_',`',`
############################################
# Provisioner
#
# Note: Uncomment one of the following provisioners
# to choose between OCCI or Host-pool
define(_PROVISIONER_, occi)dnl
# define(_PROVISIONER_, hostpool)dnl
')
############################################
# OCCI authentication options
# OCCI server URL, defaults to the CESNET's FedCloud site
occi_endpoint: 'https://carach5.ics.muni.cz:11443'
# OCCI authentication method, valid options: x509, token, basic, digest, none
occi_auth: 'x509'
# OCCI username for basic or digest authentication, defaults to "anonymous"
occi_username: ''
# OCCI password for basic, digest and x509 authentication
occi_password: ''
# OCCI path to user's x509 credentials
occi_user_cred: '/tmp/x509up_u1000'
# OCCI path to CA certificates directory
occi_ca_path: ''
# OCCI using VOMS credentials; modifies behavior of the X509 authN module
occi_voms: True
############################################
# Host-pool plugin options
# Host-pool service endpoint
hostpool_service_url: 'http://127.0.0.1:8080'
# Host-pool nodes remote user
hostpool_username: 'root'
# Host-pool nodes remote user
hostpool_private_key: | ifelse(_PROVISIONER_,`hostpool',`
esyscmd(`/bin/bash -c 'SQ`set -o pipefail; cat resources/ssh_hostpool/id_rsa | sed -e "s/^/ /"'SQ)
ifelse(sysval, `0', `', `m4exit(`1')')dnl
',`')
############################################
# Contextualization
# remote user for accessing the portal instances
cc_username: 'cfy'
# SSH public key for remote user
cc_public_key: |
esyscmd(`/bin/bash -c 'SQ`set -o pipefail; cat resources/ssh_cfy/id_rsa.pub | sed -e "s/^/ /"'SQ)
ifelse(sysval, `0', `', `m4exit(`1')')dnl
# SSH private key (filename or inline) for remote user
cc_private_key: |
esyscmd(`/bin/bash -c 'SQ`set -o pipefail; cat resources/ssh_cfy/id_rsa | sed -e "s/^/ /"'SQ)
ifelse(sysval, `0', `', `m4exit(`1')')dnl
# custom cloud-init configuration
cc_data:
packages:
- python
############################################
# Main node (portal, batch server) deployment parameters
# OS template
#olin_occi_os_tpl: 'uuid_enmr_centos_7_cerit_sc_187'
#olin_occi_os_tpl: 'uuid_enmr_egi_ubuntu_server_14_04_lts_cerit_sc_161'
#olin_occi_os_tpl: 'uuid_enmr_gpgpu_egi_ubuntu_server_16_04_lts_cerit_sc_269'
olin_occi_os_tpl: 'uuid_gputestmc_gpgpu_egi_ubuntu_server_16_04_lts_cerit_sc_269'
#olin_occi_os_tpl: 'uuid_gputestmc_egi_ubuntu_server_16_04_lts_cerit_sc_270'
#olin_occi_os_tpl: 'uuid_enmr_egi_ubuntu_server_16_04_lts_cerit_sc_271'
# sizing
olin_occi_resource_tpl: 'medium'
#olin_occi_resource_tpl: 'large'
# availability zone
olin_occi_availability_zone: 'uuid_fedcloud_cerit_sc_103'
# network
olin_occi_network: ''
# network pool
olin_occi_network_pool: ''
# scratch size (in GB)
olin_occi_scratch_size: 2
#olin_occi_scratch_size: 30
# list of filter tags for the Host-pool
olin_hostpool_tags: ['scipion-worker']
############################################
# Worker node deployment parameters
# OS template
#worker_occi_os_tpl: 'uuid_enmr_centos_7_cerit_sc_187'
#worker_occi_os_tpl: 'uuid_enmr_egi_ubuntu_server_14_04_lts_cerit_sc_161'
#worker_occi_os_tpl: 'uuid_enmr_gpgpu_egi_ubuntu_server_16_04_lts_cerit_sc_268'
worker_occi_os_tpl: 'uuid_enmr_egi_ubuntu_server_16_04_lts_cerit_sc_271'
# sizing
worker_occi_resource_tpl: 'medium'
# availability zone
worker_occi_availability_zone: 'uuid_fedcloud_cerit_sc_103'
# network
worker_occi_network: ''
# network pool
worker_occi_network_pool: ''
# scratch size (in GB)
worker_occi_scratch_size: 2
# list of filter tags for the Host-pool
worker_hostpool_tags: ['worker']
############################################
# Worker nodes count (autoscaling)
#
# Note: Following parameters are specified as m4 macros, because
# in the blueprint where they are required, inputs can't be used for
# on that place :( Please, respect the different syntax.
#
# In the m4 processed files, these parameters are hidden
#
define(_WORKERS_, 1)dnl # initial workers count
define(_WORKERS_MIN_, 1)dnl # minimum workers with autoscaling
define(_WORKERS_MAX_, 3)dnl # maximum workers with autoscaling
############################################
# Application
# VNC password
olin_vnc_password: 'Scipion4All'
# version of CUDA Toolkit deployed on GPU workers
cuda_release: '8.0'
# version of NVIDIA drivers
cuda_version_drivers: '390.30-1'
# enable SSL secured access to the VNC secured by Let's Encrypt
websockify_ssl_enabled: True # if True, setup valid admin e-mail below
# your valid contact e-mail address
websockify_ssl_email: 'root@localhost'
# Onedata Version
onedata_version: 'latest'
#onedata_version: '17.06.0.rc2-1'
# REQUIRED: Onedata Remote Host
onedata_host: 'onedata_host_2_change'
# REQUIRED: Onedata Token
onedata_token: 'onedata_token_2_change'
# REQUIRED: Onedata Workspace (relative directory inside Onedata mount)
onedata_workspace: 'onedata_workspace_2_change'
# vim: set syntax=yaml