-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgromacs-inputs.yaml.m4
178 lines (125 loc) · 4.92 KB
/
gromacs-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
---
define(SQ,')
############################################
# 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
############################################
# Main node (portal, batch server) deployment parameters
# OS template
olin_occi_os_tpl: 'uuid_enmr_centos_7_cerit_sc_187'
# sizing
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: 30
# list of filter tags for the Host-pool
olin_hostpool_tags: ['olin']
############################################
# Worker node deployment parameters
# OS template
worker_occi_os_tpl: 'uuid_enmr_centos_7_cerit_sc_187'
# sizing
worker_occi_resource_tpl: 'extra_large'
# 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: 30
# 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_, 2)dnl # initial workers count
define(_WORKERS_MIN_, 1)dnl # minimum workers with autoscaling
define(_WORKERS_MAX_, 3)dnl # maximum workers with autoscaling
############################################
# Application
# version of CUDA Toolkit deployed on GPU workers
cuda_release: '7.0'
# portal servername for redirects, SSL certificates, defaults to portal FQDN
gromacs_portal_servername: NULL
# enable https:// only access on the web portal secured by Let's Encrypt
gromacs_portal_ssl_enabled: False # if True, setup valid admin e-mail below
# your valid contact e-mail address
gromacs_portal_admin_email: 'root@localhost'
# user options
gromacs_portal_user_storetime: 30 #days
gromacs_portal_user_maxjob: 5
gromacs_portal_user_simtime: 10.0
# Gromacs options
gromacs_portal_gromacs_cpu_nr: -1 # -1=node exclusive
# DynDNS: connection parameters for frontend registration via dyndns API
gromacs_portal_dyndns_enabled: False
gromacs_portal_dyndns_hostname: ''
gromacs_portal_dyndns_server: ''
gromacs_portal_dyndns_login: ''
gromacs_portal_dyndns_password: ''
gromacs_portal_dyndns_ssl: "yes" # "yes" or "no"
# user SAML authentication via mod_auth_mellon
gromacs_portal_auth_enabled: False # if True, SSL needs to be enabled
gromacs_portal_auth_service_key_b64: 'esyscmd(base64 -w0 service.key)'
gromacs_portal_auth_service_cert_b64: 'esyscmd(base64 -w0 service.cert)'
gromacs_portal_auth_service_meta_b64: 'esyscmd(base64 -w0 service.xml)'
# SSH public key of the unprivileged gromacs user used for the computation
gromacs_user_public_key: 'include(`resources/ssh_gromacs/id_rsa.pub')'
# SSH private key of the gromacs user
gromacs_user_private_key_b64: 'esyscmd(base64 -w0 resources/ssh_gromacs/id_rsa)'ifelse(sysval, `0', `', `m4exit(`1')')
# vim: set syntax=yaml