Merge branch '21036-keep-balance-metrics'
[arvados.git] / lib / config / config.default.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 # Do not use this file for site configuration. Create
6 # /etc/arvados/config.yml instead.
7 #
8 # The order of precedence (highest to lowest):
9 # 1. Legacy component-specific config files (deprecated)
10 # 2. /etc/arvados/config.yml
11 # 3. config.default.yml
12
13 Clusters:
14   xxxxx:
15     # Token used internally by Arvados components to authenticate to
16     # one another. Use a string of at least 50 random alphanumerics.
17     SystemRootToken: ""
18
19     # Token to be included in all healthcheck requests. Disabled by default.
20     # Server expects request header of the format "Authorization: Bearer xxx"
21     ManagementToken: ""
22
23     Services:
24
25       # Each of the service sections below specifies InternalURLs
26       # (each with optional ListenURL) and ExternalURL.
27       #
28       # InternalURLs specify how other Arvados service processes will
29       # connect to the service. Typically these use internal hostnames
30       # and high port numbers. Example:
31       #
32       # InternalURLs:
33       #   "http://host1.internal.example:12345": {}
34       #   "http://host2.internal.example:12345": {}
35       #
36       # ListenURL specifies the address and port the service process's
37       # HTTP server should listen on, if different from the
38       # InternalURL itself. Example, using an intermediate TLS proxy:
39       #
40       # InternalURLs:
41       #   "https://host1.internal.example":
42       #     ListenURL: "http://10.0.0.7:12345"
43       #
44       # When there are multiple InternalURLs configured, the service
45       # process will try listening on each InternalURLs (using
46       # ListenURL if provided) until one works. If you use a ListenURL
47       # like "0.0.0.0" which can be bound on any machine, use an
48       # environment variable
49       # ARVADOS_SERVICE_INTERNAL_URL=http://host1.internal.example to
50       # control which entry to use.
51       #
52       # ExternalURL specifies how applications/clients will connect to
53       # the service, regardless of whether they are inside or outside
54       # the cluster. Example:
55       #
56       # ExternalURL: "https://keep.zzzzz.example.com/"
57       #
58       # To avoid routing internal traffic through external networks,
59       # use split-horizon DNS for ExternalURL host names: inside the
60       # cluster's private network "host.zzzzz.example.com" resolves to
61       # the host's private IP address, while outside the cluster
62       # "host.zzzzz.example.com" resolves to the host's public IP
63       # address (or its external gateway or load balancer).
64
65       RailsAPI:
66         InternalURLs: {SAMPLE: {ListenURL: ""}}
67         ExternalURL: ""
68       Controller:
69         InternalURLs: {SAMPLE: {ListenURL: ""}}
70         ExternalURL: ""
71       Websocket:
72         InternalURLs: {SAMPLE: {ListenURL: ""}}
73         ExternalURL: ""
74       Keepbalance:
75         InternalURLs: {SAMPLE: {ListenURL: ""}}
76         ExternalURL: ""
77       GitHTTP:
78         InternalURLs: {SAMPLE: {ListenURL: ""}}
79         ExternalURL: ""
80       GitSSH:
81         InternalURLs: {SAMPLE: {ListenURL: ""}}
82         ExternalURL: ""
83       DispatchCloud:
84         InternalURLs: {SAMPLE: {ListenURL: ""}}
85         ExternalURL: ""
86       DispatchLSF:
87         InternalURLs: {SAMPLE: {ListenURL: ""}}
88         ExternalURL: ""
89       DispatchSLURM:
90         InternalURLs: {SAMPLE: {ListenURL: ""}}
91         ExternalURL: ""
92       Keepproxy:
93         InternalURLs: {SAMPLE: {ListenURL: ""}}
94         ExternalURL: ""
95       WebDAV:
96         InternalURLs: {SAMPLE: {ListenURL: ""}}
97         # Base URL for Workbench inline preview.  If blank, use
98         # WebDAVDownload instead, and disable inline preview.
99         # If both are empty, downloading collections from workbench
100         # will be impossible.
101         #
102         # It is important to properly configure the download service
103         # to migitate cross-site-scripting (XSS) attacks.  A HTML page
104         # can be stored in collection.  If an attacker causes a victim
105         # to visit that page through Workbench, it will be rendered by
106         # the browser.  If all collections are served at the same
107         # domain, the browser will consider collections as coming from
108         # the same origin and having access to the same browsing data,
109         # enabling malicious Javascript on that page to access Arvados
110         # on behalf of the victim.
111         #
112         # This is mitigating by having separate domains for each
113         # collection, or limiting preview to circumstances where the
114         # collection is not accessed with the user's regular
115         # full-access token.
116         #
117         # Serve preview links using uuid or pdh in subdomain
118         # (requires wildcard DNS and TLS certificate)
119         #   https://*.collections.uuid_prefix.arvadosapi.com
120         #
121         # Serve preview links using uuid or pdh in main domain
122         # (requires wildcard DNS and TLS certificate)
123         #   https://*--collections.uuid_prefix.arvadosapi.com
124         #
125         # Serve preview links by setting uuid or pdh in the path.
126         # This configuration only allows previews of public data or
127         # collection-sharing links, because these use the anonymous
128         # user token or the token is already embedded in the URL.
129         # Other data must be handled as downloads via WebDAVDownload:
130         #   https://collections.uuid_prefix.arvadosapi.com
131         #
132         ExternalURL: ""
133
134       WebDAVDownload:
135         InternalURLs: {SAMPLE: {ListenURL: ""}}
136         # Base URL for download links. If blank, serve links to WebDAV
137         # with disposition=attachment query param.  Unlike preview links,
138         # browsers do not render attachments, so there is no risk of XSS.
139         #
140         # If WebDAVDownload is blank, and WebDAV uses a
141         # single-origin form, then Workbench will show an error page
142         #
143         # Serve download links by setting uuid or pdh in the path:
144         #   https://download.uuid_prefix.arvadosapi.com
145         #
146         ExternalURL: ""
147
148       Keepstore:
149         InternalURLs:
150           SAMPLE:
151             ListenURL: ""
152             # Rendezvous is normally empty/omitted. When changing the
153             # URL of a Keepstore service, Rendezvous should be set to
154             # the old URL (with trailing slash omitted) to preserve
155             # rendezvous ordering.
156             Rendezvous: ""
157         ExternalURL: ""
158       Composer:
159         InternalURLs: {SAMPLE: {ListenURL: ""}}
160         ExternalURL: ""
161       WebShell:
162         InternalURLs: {SAMPLE: {ListenURL: ""}}
163         # ShellInABox service endpoint URL for a given VM.  If empty, do not
164         # offer web shell logins.
165         #
166         # E.g., using a path-based proxy server to forward connections to shell hosts:
167         # https://webshell.uuid_prefix.arvadosapi.com
168         #
169         # E.g., using a name-based proxy server to forward connections to shell hosts:
170         # https://*.webshell.uuid_prefix.arvadosapi.com
171         ExternalURL: ""
172       Workbench1:
173         InternalURLs: {SAMPLE: {ListenURL: ""}}
174         ExternalURL: ""
175       Workbench2:
176         InternalURLs: {SAMPLE: {ListenURL: ""}}
177         ExternalURL: ""
178       Health:
179         InternalURLs: {SAMPLE: {ListenURL: ""}}
180         ExternalURL: ""
181
182     PostgreSQL:
183       # max concurrent connections per arvados server daemon
184       ConnectionPool: 32
185       Connection:
186         # All parameters here are passed to the PG client library in a connection string;
187         # see https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS
188         host: ""
189         port: ""
190         user: ""
191         password: ""
192         dbname: ""
193         SAMPLE: ""
194     API:
195       # Limits for how long a client token created by regular users can be valid,
196       # and also is used as a default expiration policy when no expiration date is
197       # specified.
198       # Default value zero means token expirations don't get clamped and no
199       # default expiration is set.
200       MaxTokenLifetime: 0s
201
202       # Maximum size (in bytes) allowed for a single API request.  This
203       # limit is published in the discovery document for use by clients.
204       # Note: You must separately configure the upstream web server or
205       # proxy to actually enforce the desired maximum request size on the
206       # server side.
207       MaxRequestSize: 134217728
208
209       # Limit the number of bytes read from the database during an index
210       # request (by retrieving and returning fewer rows than would
211       # normally be returned in a single response).
212       # Note 1: This setting never reduces the number of returned rows to
213       # zero, no matter how big the first data row is.
214       # Note 2: Currently, this is only checked against a specific set of
215       # columns that tend to get large (collections.manifest_text,
216       # containers.mounts, workflows.definition). Other fields (e.g.,
217       # "properties" hashes) are not counted against this limit.
218       MaxIndexDatabaseRead: 134217728
219
220       # Maximum number of items to return when responding to a APIs that
221       # can return partial result sets using limit and offset parameters
222       # (e.g., *.index, groups.contents). If a request specifies a "limit"
223       # parameter higher than this value, this value is used instead.
224       MaxItemsPerResponse: 1000
225
226       # Maximum number of concurrent requests to process concurrently
227       # in a single service process, or 0 for no limit.
228       #
229       # Note this applies to all Arvados services (controller, webdav,
230       # websockets, etc.). Concurrency in the controller service is
231       # also effectively limited by MaxConcurrentRailsRequests (see
232       # below) because most controller requests proxy through to the
233       # RailsAPI service.
234       #
235       # HTTP proxies and load balancers downstream of arvados services
236       # should be configured to allow at least {MaxConcurrentRequest +
237       # MaxQueuedRequests + MaxGatewayTunnels} concurrent requests.
238       MaxConcurrentRequests: 64
239
240       # Maximum number of concurrent requests to process concurrently
241       # in a single RailsAPI service process, or 0 for no limit.
242       MaxConcurrentRailsRequests: 8
243
244       # Maximum number of incoming requests to hold in a priority
245       # queue waiting for one of the MaxConcurrentRequests slots to be
246       # free. When the queue is longer than this, respond 503 to the
247       # lowest priority request.
248       #
249       # If MaxQueuedRequests is 0, respond 503 immediately to
250       # additional requests while at the MaxConcurrentRequests limit.
251       MaxQueuedRequests: 128
252
253       # Maximum time a "lock container" request is allowed to wait in
254       # the incoming request queue before returning 503.
255       MaxQueueTimeForLockRequests: 2s
256
257       # Maximum number of active gateway tunnel connections. One slot
258       # is consumed by each "container shell" connection. If using an
259       # HPC dispatcher (LSF or Slurm), one slot is consumed by each
260       # running container.  These do not count toward
261       # MaxConcurrentRequests.
262       MaxGatewayTunnels: 1000
263
264       # Fraction of MaxConcurrentRequests that can be "log create"
265       # messages at any given time.  This is to prevent logging
266       # updates from crowding out more important requests.
267       LogCreateRequestFraction: 0.50
268
269       # Maximum number of 64MiB memory buffers per Keepstore server process, or
270       # 0 for no limit. When this limit is reached, up to
271       # (MaxConcurrentRequests - MaxKeepBlobBuffers) HTTP requests requiring
272       # buffers (like GET and PUT) will wait for buffer space to be released.
273       # Any HTTP requests beyond MaxConcurrentRequests will receive an
274       # immediate 503 response.
275       #
276       # MaxKeepBlobBuffers should be set such that (MaxKeepBlobBuffers * 64MiB
277       # * 1.1) fits comfortably in memory. On a host dedicated to running
278       # Keepstore, divide total memory by 88MiB to suggest a suitable value.
279       # For example, if grep MemTotal /proc/meminfo reports MemTotal: 7125440
280       # kB, compute 7125440 / (88 * 1024)=79 and set MaxKeepBlobBuffers: 79
281       MaxKeepBlobBuffers: 128
282
283       # API methods to disable. Disabled methods are not listed in the
284       # discovery document, and respond 404 to all requests.
285       # Example: {"jobs.create":{}, "pipeline_instances.create": {}}
286       DisabledAPIs: {}
287
288       # Interval (seconds) between asynchronous permission view updates. Any
289       # permission-updating API called with the 'async' parameter schedules a an
290       # update on the permission view in the future, if not already scheduled.
291       AsyncPermissionsUpdateInterval: 20s
292
293       # Maximum number of concurrent outgoing requests to make while
294       # serving a single incoming multi-cluster (federated) request.
295       MaxRequestAmplification: 4
296
297       # Maximum wall clock time to spend handling an incoming request.
298       RequestTimeout: 5m
299
300       # Websocket will send a periodic empty event after 'SendTimeout'
301       # if there is no other activity to maintain the connection /
302       # detect dropped connections.
303       SendTimeout: 60s
304
305       WebsocketClientEventQueue: 64
306       WebsocketServerEventQueue: 4
307
308       # Timeout on requests to internal Keep services.
309       KeepServiceRequestTimeout: 15s
310
311       # Vocabulary file path, local to the node running the controller.
312       # This JSON file should contain the description of what's allowed
313       # as object's metadata. Its format is described at:
314       # https://doc.arvados.org/admin/metadata-vocabulary.html
315       VocabularyPath: ""
316
317       # If true, a project must have a non-empty description field in
318       # order to be frozen.
319       FreezeProjectRequiresDescription: false
320
321       # Project properties that must have non-empty values in order to
322       # freeze a project. Example: "property_name": {}
323       FreezeProjectRequiresProperties:
324         SAMPLE: {}
325
326       # If true, only an admin user can un-freeze a project. If false,
327       # any user with "manage" permission can un-freeze.
328       UnfreezeProjectRequiresAdmin: false
329
330       # (Experimental) Use row-level locking on update API calls.
331       LockBeforeUpdate: false
332
333     Users:
334       # Config parameters to automatically setup new users.  If enabled,
335       # this users will be able to self-activate.  Enable this if you want
336       # to run an open instance where anyone can create an account and use
337       # the system without requiring manual approval.
338       #
339       # The params AutoSetupNewUsersWith* are meaningful only when AutoSetupNewUsers is turned on.
340       # AutoSetupUsernameBlacklist is a list of usernames to be blacklisted for auto setup.
341       AutoSetupNewUsers: false
342       AutoSetupNewUsersWithVmUUID: ""
343       AutoSetupNewUsersWithRepository: false
344       AutoSetupUsernameBlacklist:
345         arvados: {}
346         git: {}
347         gitolite: {}
348         gitolite-admin: {}
349         root: {}
350         syslog: {}
351         SAMPLE: {}
352
353       # When NewUsersAreActive is set to true, new users will be active
354       # immediately.  This skips the "self-activate" step which enforces
355       # user agreements.  Should only be enabled for development.
356       NewUsersAreActive: false
357
358       # Newly activated users (whether set up by an admin or via
359       # AutoSetupNewUsers) immediately become visible to other active
360       # users.
361       #
362       # On a multi-tenant cluster, where the intent is for users to be
363       # invisible to one another unless they have been added to the
364       # same group(s) via Workbench admin interface, change this to
365       # false.
366       ActivatedUsersAreVisibleToOthers: true
367
368       # The e-mail address of the user you would like to become marked as an admin
369       # user on their first login.
370       AutoAdminUserWithEmail: ""
371
372       # If AutoAdminFirstUser is set to true, the first user to log in when no
373       # other admin users exist will automatically become an admin user.
374       AutoAdminFirstUser: false
375
376       # Email address to notify whenever a user creates a profile for the
377       # first time
378       UserProfileNotificationAddress: ""
379       AdminNotifierEmailFrom: arvados@example.com
380       EmailSubjectPrefix: "[ARVADOS] "
381       UserNotifierEmailFrom: arvados@example.com
382       UserNotifierEmailBcc: {}
383       NewUserNotificationRecipients: {}
384       NewInactiveUserNotificationRecipients: {}
385
386       # Set AnonymousUserToken to enable anonymous user access. Populate this
387       # field with a random string at least 50 characters long.
388       AnonymousUserToken: ""
389
390       # If a new user has an alternate email address (local@domain)
391       # with the domain given here, its local part becomes the new
392       # user's default username. Otherwise, the user's primary email
393       # address is used.
394       PreferDomainForUsername: ""
395
396       UserSetupMailText: |
397         <% if not @user.full_name.empty? -%>
398         <%= @user.full_name %>,
399         <% else -%>
400         Hi there,
401         <% end -%>
402
403         Your Arvados account has been set up.  You can log in at
404
405         <%= Rails.configuration.Services.Workbench1.ExternalURL %>
406
407         Thanks,
408         Your Arvados administrator.
409
410       # If RoleGroupsVisibleToAll is true, all role groups are visible
411       # to all active users.
412       #
413       # If false, users must be granted permission to role groups in
414       # order to see them. This is more appropriate for a multi-tenant
415       # cluster.
416       RoleGroupsVisibleToAll: true
417
418       # If CanCreateRoleGroups is true, regular (non-admin) users can
419       # create new role groups.
420       #
421       # If false, only admins can create new role groups.
422       CanCreateRoleGroups: true
423
424       # During each period, a log entry with event_type="activity"
425       # will be recorded for each user who is active during that
426       # period. The object_uuid attribute will indicate the user's
427       # UUID.
428       #
429       # Multiple log entries for the same user may be generated during
430       # a period if there are multiple controller processes or a
431       # controller process is restarted.
432       #
433       # Use 0 to disable activity logging.
434       ActivityLoggingPeriod: 24h
435
436       # The SyncUser* options control what system resources are managed by
437       # arvados-login-sync on shell nodes. They correspond to:
438       # * SyncUserAccounts: The user's Unix account on the shell node
439       # * SyncUserGroups: The group memberships of that account
440       # * SyncUserSSHKeys: Whether to authorize the user's Arvados SSH keys
441       # * SyncUserAPITokens: Whether to set up the user's Arvados API token
442       # All default to true.
443       SyncUserAccounts: true
444       SyncUserGroups: true
445       SyncUserSSHKeys: true
446       SyncUserAPITokens: true
447
448       # If SyncUserGroups=true, then arvados-login-sync will ensure that all
449       # managed accounts are members of the Unix groups listed in
450       # SyncRequiredGroups, in addition to any groups listed in their Arvados
451       # login permission. The default list includes the "fuse" group so
452       # users can use arv-mount. You can require no groups by specifying an
453       # empty list (i.e., `SyncRequiredGroups: []`).
454       SyncRequiredGroups:
455         - fuse
456
457       # SyncIgnoredGroups is a list of group names. arvados-login-sync will
458       # never modify these groups. If user login permissions list any groups
459       # in SyncIgnoredGroups, they will be ignored. If a user's Unix account
460       # belongs to any of these groups, arvados-login-sync will not remove
461       # the account from that group. The default is a set of particularly
462       # security-sensitive groups across Debian- and Red Hat-based
463       # distributions.
464       SyncIgnoredGroups:
465         - adm
466         - disk
467         - kmem
468         - mem
469         - root
470         - shadow
471         - staff
472         - sudo
473         - sys
474         - utempter
475         - utmp
476         - wheel
477
478     AuditLogs:
479       # Time to keep audit logs, in seconds. (An audit log is a row added
480       # to the "logs" table in the PostgreSQL database each time an
481       # Arvados object is created, modified, or deleted.)
482       #
483       # Currently, websocket event notifications rely on audit logs, so
484       # this should not be set lower than 300 (5 minutes).
485       MaxAge: 336h
486
487       # Maximum number of log rows to delete in a single SQL transaction.
488       #
489       # If MaxDeleteBatch is 0, log entries will never be
490       # deleted by Arvados. Cleanup can be done by an external process
491       # without affecting any Arvados system processes, as long as very
492       # recent (<5 minutes old) logs are not deleted.
493       #
494       # 100000 is a reasonable batch size for most sites.
495       MaxDeleteBatch: 0
496
497       # Attributes to suppress in events and audit logs.  Notably,
498       # specifying {"manifest_text": {}} here typically makes the database
499       # smaller and faster.
500       #
501       # Warning: Using any non-empty value here can have undesirable side
502       # effects for any client or component that relies on event logs.
503       # Use at your own risk.
504       UnloggedAttributes: {}
505
506     SystemLogs:
507
508       # Logging threshold: panic, fatal, error, warn, info, debug, or
509       # trace
510       LogLevel: info
511
512       # Logging format: json or text
513       Format: json
514
515       # Maximum characters of (JSON-encoded) query parameters to include
516       # in each request log entry. When params exceed this size, they will
517       # be JSON-encoded, truncated to this size, and logged as
518       # params_truncated.
519       MaxRequestLogParamsSize: 2000
520
521       # In all services except RailsAPI, periodically check whether
522       # the incoming HTTP request queue is nearly full (see
523       # MaxConcurrentRequests) and, if so, write a snapshot of the
524       # request queue to {service}-requests.json in the specified
525       # directory.
526       #
527       # Leave blank to disable.
528       RequestQueueDumpDirectory: ""
529
530     Collections:
531
532       # Enable access controls for data stored in Keep. This should
533       # always be set to true on a production cluster.
534       BlobSigning: true
535
536       # BlobSigningKey is a string of alphanumeric characters used to
537       # generate permission signatures for Keep locators. It must be
538       # identical to the permission key given to Keep. IMPORTANT: This
539       # is a site secret. It should be at least 50 characters.
540       #
541       # Modifying BlobSigningKey will invalidate all existing
542       # signatures, which can cause programs to fail (e.g., arv-put,
543       # arv-get, and Crunch jobs).  To avoid errors, rotate keys only
544       # when no such processes are running.
545       BlobSigningKey: ""
546
547       # Enable garbage collection of unreferenced blobs in Keep.
548       BlobTrash: true
549
550       # Time to leave unreferenced blobs in "trashed" state before
551       # deleting them, or 0 to skip the "trashed" state entirely and
552       # delete unreferenced blobs.
553       #
554       # If you use any Amazon S3 buckets as storage volumes, this
555       # must be at least 24h to avoid occasional data loss.
556       BlobTrashLifetime: 336h
557
558       # How often to check for (and delete) trashed blocks whose
559       # BlobTrashLifetime has expired.
560       BlobTrashCheckInterval: 24h
561
562       # Maximum number of concurrent "trash blob" and "delete trashed
563       # blob" operations conducted by a single keepstore process. Each
564       # of these can be set to 0 to disable the respective operation.
565       #
566       # If BlobTrashLifetime is zero, "trash" and "delete trash"
567       # happen at once, so only the lower of these two values is used.
568       BlobTrashConcurrency: 4
569       BlobDeleteConcurrency: 4
570
571       # Maximum number of concurrent "create additional replica of
572       # existing blob" operations conducted by a single keepstore
573       # process.
574       BlobReplicateConcurrency: 4
575
576       # Default replication level for collections. This is used when a
577       # collection's replication_desired attribute is nil.
578       DefaultReplication: 2
579
580       # BlobSigningTTL determines the minimum lifetime of transient
581       # data, i.e., blocks that are not referenced by
582       # collections. Unreferenced blocks exist for two reasons:
583       #
584       # 1) A data block must be written to a disk/cloud backend device
585       # before a collection can be created/updated with a reference to
586       # it.
587       #
588       # 2) Deleting or updating a collection can remove the last
589       # remaining reference to a data block.
590       #
591       # If BlobSigningTTL is too short, long-running
592       # processes/containers will fail when they take too long (a)
593       # between writing blocks and writing collections that reference
594       # them, or (b) between reading collections and reading the
595       # referenced blocks.
596       #
597       # If BlobSigningTTL is too long, data will still be stored long
598       # after the referring collections are deleted, and you will
599       # needlessly fill up disks or waste money on cloud storage.
600       #
601       # Modifying BlobSigningTTL invalidates existing signatures; see
602       # BlobSigningKey note above.
603       #
604       # The default is 2 weeks.
605       BlobSigningTTL: 336h
606
607       # When running keep-balance, this is the destination filename for
608       # the list of lost block hashes if there are any, one per line.
609       # Updated automically during each successful run.
610       BlobMissingReport: ""
611
612       # keep-balance operates periodically, i.e.: do a
613       # scan/balance operation, sleep, repeat.
614       #
615       # BalancePeriod determines the interval between start times of
616       # successive scan/balance operations. If a scan/balance operation
617       # takes longer than BalancePeriod, the next one will follow it
618       # immediately.
619       #
620       # If SIGUSR1 is received during an idle period between operations,
621       # the next operation will start immediately.
622       BalancePeriod: 6h
623
624       # Limits the number of collections retrieved by keep-balance per
625       # API transaction. If this is zero, page size is
626       # determined by the API server's own page size limits (see
627       # API.MaxItemsPerResponse and API.MaxIndexDatabaseRead).
628       BalanceCollectionBatch: 0
629
630       # The size of keep-balance's internal queue of
631       # collections. Higher values may improve throughput by allowing
632       # keep-balance to fetch collections from the database while the
633       # current collection are still being processed, at the expense of
634       # using more memory.  If this is zero or omitted, pages are
635       # processed serially.
636       BalanceCollectionBuffers: 4
637
638       # Maximum time for a rebalancing run. This ensures keep-balance
639       # eventually gives up and retries if, for example, a network
640       # error causes a hung connection that is never closed by the
641       # OS. It should be long enough that it doesn't interrupt a
642       # long-running balancing operation.
643       BalanceTimeout: 6h
644
645       # Maximum number of replication_confirmed /
646       # storage_classes_confirmed updates to write to the database
647       # after a rebalancing run. When many updates are needed, this
648       # spreads them over a few runs rather than applying them all at
649       # once.
650       BalanceUpdateLimit: 100000
651
652       # Maximum number of "pull block from other server" and "trash
653       # block" requests to send to each keepstore server at a
654       # time. Smaller values use less memory in keepstore and
655       # keep-balance. Larger values allow more progress per
656       # keep-balance iteration. A zero value computes all of the
657       # needed changes but does not apply any.
658       BalancePullLimit: 100000
659       BalanceTrashLimit: 100000
660
661       # Default lifetime for ephemeral collections: 2 weeks. This must not
662       # be less than BlobSigningTTL.
663       DefaultTrashLifetime: 336h
664
665       # Interval (seconds) between trash sweeps. During a trash sweep,
666       # collections are marked as trash if their trash_at time has
667       # arrived, and deleted if their delete_at time has arrived.
668       TrashSweepInterval: 60s
669
670       # If true, enable collection versioning.
671       # When a collection's preserve_version field is true or the current version
672       # is older than the amount of seconds defined on PreserveVersionIfIdle,
673       # a snapshot of the collection's previous state is created and linked to
674       # the current collection.
675       CollectionVersioning: true
676
677       #   0s = auto-create a new version on every update.
678       #  -1s = never auto-create new versions.
679       # > 0s = auto-create a new version when older than the specified number of seconds.
680       PreserveVersionIfIdle: 10s
681
682       # If non-empty, allow project and collection names to contain
683       # the "/" character (slash/stroke/solidus), and replace "/" with
684       # the given string in the filesystem hierarchy presented by
685       # WebDAV. Example values are "%2f" and "{slash}". Names that
686       # contain the substitution string itself may result in confusing
687       # behavior, so a value like "_" is not recommended.
688       #
689       # If the default empty value is used, the server will reject
690       # requests to create or rename a collection when the new name
691       # contains "/".
692       #
693       # If the value "/" is used, project and collection names
694       # containing "/" will be allowed, but they will not be
695       # accessible via WebDAV.
696       #
697       # Use of this feature is not recommended, if it can be avoided.
698       ForwardSlashNameSubstitution: ""
699
700       # Include "folder objects" in S3 ListObjects responses.
701       S3FolderObjects: true
702
703       # Managed collection properties. At creation time, if the client didn't
704       # provide the listed keys, they will be automatically populated following
705       # one of the following behaviors:
706       #
707       # * UUID of the user who owns the containing project.
708       #   responsible_person_uuid: {Function: original_owner, Protected: true}
709       #
710       # * Default concrete value.
711       #   foo_bar: {Value: baz, Protected: false}
712       #
713       # If Protected is true, only an admin user can modify its value.
714       ManagedProperties:
715         SAMPLE: {Function: original_owner, Protected: true}
716
717       # In "trust all content" mode, Workbench will redirect download
718       # requests to WebDAV preview link, even in the cases when
719       # WebDAV would have to expose XSS vulnerabilities in order to
720       # handle the redirect (see discussion on Services.WebDAV).
721       #
722       # This setting has no effect in the recommended configuration, where the
723       # WebDAV service is configured to have a separate domain for every
724       # collection and XSS protection is provided by browsers' same-origin
725       # policy.
726       #
727       # The default setting (false) is appropriate for a multi-user site.
728       TrustAllContent: false
729
730       # Cache parameters for WebDAV content serving:
731       WebDAVCache:
732         # Time to cache manifests, permission checks, and sessions.
733         TTL: 300s
734
735         # Block cache entries. Each block consumes up to 64 MiB RAM.
736         MaxBlockEntries: 20
737
738         # Approximate memory limit (in bytes) for session cache.
739         #
740         # Note this applies to the in-memory representation of
741         # projects and collections -- metadata, block locators,
742         # filenames, etc. -- excluding cached file content, which is
743         # limited by MaxBlockEntries.
744         MaxCollectionBytes: 100000000
745
746         # Persistent sessions.
747         MaxSessions: 100
748
749       # Selectively set permissions for regular users and admins to
750       # download or upload data files using the upload/download
751       # features for Workbench, WebDAV and S3 API support.
752       WebDAVPermission:
753         User:
754           Download: true
755           Upload: true
756         Admin:
757           Download: true
758           Upload: true
759
760       # Selectively set permissions for regular users and admins to be
761       # able to download or upload blocks using arv-put and
762       # arv-get from outside the cluster.
763       KeepproxyPermission:
764         User:
765           Download: true
766           Upload: true
767         Admin:
768           Download: true
769           Upload: true
770
771       # Post upload / download events to the API server logs table, so
772       # that they can be included in the arv-user-activity report.
773       # You can disable this if you find that it is creating excess
774       # load on the API server and you don't need it.
775       WebDAVLogEvents: true
776
777     Login:
778       # One of the following mechanisms (Google, PAM, LDAP, or
779       # LoginCluster) should be enabled; see
780       # https://doc.arvados.org/install/setup-login.html
781
782       Google:
783         # Authenticate with Google.
784         Enable: false
785
786         # Use the Google Cloud console to enable the People API (APIs
787         # and Services > Enable APIs and services > Google People API
788         # > Enable), generate a Client ID and secret (APIs and
789         # Services > Credentials > Create credentials > OAuth client
790         # ID > Web application) and add your controller's /login URL
791         # (e.g., "https://zzzzz.example.com/login") as an authorized
792         # redirect URL.
793         ClientID: ""
794         ClientSecret: ""
795
796         # Allow users to log in to existing accounts using any verified
797         # email address listed by their Google account. If true, the
798         # Google People API must be enabled in order for Google login to
799         # work. If false, only the primary email address will be used.
800         AlternateEmailAddresses: true
801
802         # Send additional parameters with authentication requests. See
803         # https://developers.google.com/identity/protocols/oauth2/openid-connect#authenticationuriparameters
804         # for a list of supported parameters.
805         AuthenticationRequestParameters:
806           # Show the "choose which Google account" page, even if the
807           # client is currently logged in to exactly one Google
808           # account.
809           prompt: select_account
810
811           SAMPLE: ""
812
813       OpenIDConnect:
814         # Authenticate with an OpenID Connect provider.
815         Enable: false
816
817         # Issuer URL, e.g., "https://login.example.com".
818         #
819         # This must be exactly equal to the URL returned by the issuer
820         # itself in its config response ("isser" key). If the
821         # configured value is "https://example" and the provider
822         # returns "https://example:443" or "https://example/" then
823         # login will fail, even though those URLs are equivalent
824         # (RFC3986).
825         Issuer: ""
826
827         # Your client ID and client secret (supplied by the provider).
828         ClientID: ""
829         ClientSecret: ""
830
831         # OpenID claim field containing the user's email
832         # address. Normally "email"; see
833         # https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
834         EmailClaim: "email"
835
836         # OpenID claim field containing the email verification
837         # flag. Normally "email_verified".  To accept every returned
838         # email address without checking a "verified" field at all,
839         # use the empty string "".
840         EmailVerifiedClaim: "email_verified"
841
842         # OpenID claim field containing the user's preferred
843         # username. If empty, use the mailbox part of the user's email
844         # address.
845         UsernameClaim: ""
846
847         # Send additional parameters with authentication requests,
848         # like {display: page, prompt: consent}. See
849         # https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
850         # and refer to your provider's documentation for supported
851         # parameters.
852         AuthenticationRequestParameters:
853           SAMPLE: ""
854
855         # Accept an OIDC access token as an API token if the OIDC
856         # provider's UserInfo endpoint accepts it.
857         #
858         # AcceptAccessTokenScope should also be used when enabling
859         # this feature.
860         AcceptAccessToken: false
861
862         # Before accepting an OIDC access token as an API token, first
863         # check that it is a JWT whose "scope" value includes this
864         # value. Example: "https://zzzzz.example.com/" (your Arvados
865         # API endpoint).
866         #
867         # If this value is empty and AcceptAccessToken is true, all
868         # access tokens will be accepted regardless of scope,
869         # including non-JWT tokens. This is not recommended.
870         AcceptAccessTokenScope: ""
871
872       PAM:
873         # Use PAM to authenticate users.
874         Enable: false
875
876         # PAM service name. PAM will apply the policy in the
877         # corresponding config file (e.g., /etc/pam.d/arvados) or, if
878         # there is none, the default "other" config.
879         Service: arvados
880
881         # Domain name (e.g., "example.com") to use to construct the
882         # user's email address if PAM authentication returns a
883         # username with no "@". If empty, use the PAM username as the
884         # user's email address, whether or not it contains "@".
885         #
886         # Note that the email address is used as the primary key for
887         # user records when logging in. Therefore, if you change
888         # PAMDefaultEmailDomain after the initial installation, you
889         # should also update existing user records to reflect the new
890         # domain. Otherwise, next time those users log in, they will
891         # be given new accounts instead of accessing their existing
892         # accounts.
893         DefaultEmailDomain: ""
894
895       LDAP:
896         # Use an LDAP service to authenticate users.
897         Enable: false
898
899         # Server URL, like "ldap://ldapserver.example.com:389" or
900         # "ldaps://ldapserver.example.com:636".
901         URL: "ldap://ldap:389"
902
903         # Use StartTLS upon connecting to the server.
904         StartTLS: true
905
906         # Skip TLS certificate name verification.
907         InsecureTLS: false
908
909         # Mininum TLS version to negotiate when connecting to server
910         # (ldaps://... or StartTLS). It may be necessary to set this
911         # to "1.1" for compatibility with older LDAP servers that fail
912         # with 'LDAP Result Code 200 "Network Error": TLS handshake
913         # failed (tls: server selected unsupported protocol version
914         # 301)'.
915         #
916         # If blank, use the recommended minimum version (1.2).
917         MinTLSVersion: ""
918
919         # Strip the @domain part if a user supplies an email-style
920         # username with this domain. If "*", strip any user-provided
921         # domain. If "", never strip the domain part. Example:
922         # "example.com"
923         StripDomain: ""
924
925         # If, after applying StripDomain, the username contains no "@"
926         # character, append this domain to form an email-style
927         # username. Example: "example.com"
928         AppendDomain: ""
929
930         # The LDAP attribute to filter on when looking up a username
931         # (after applying StripDomain and AppendDomain).
932         SearchAttribute: uid
933
934         # Bind with this username (DN or UPN) and password when
935         # looking up the user record.
936         #
937         # Example user: "cn=admin,dc=example,dc=com"
938         SearchBindUser: ""
939         SearchBindPassword: ""
940
941         # Directory base for username lookup. Example:
942         # "ou=Users,dc=example,dc=com"
943         SearchBase: ""
944
945         # Additional filters to apply when looking up users' LDAP
946         # entries. This can be used to restrict access to a subset of
947         # LDAP users, or to disambiguate users from other directory
948         # entries that have the SearchAttribute present.
949         #
950         # Special characters in assertion values must be escaped (see
951         # RFC4515).
952         #
953         # Example: "(objectClass=person)"
954         SearchFilters: ""
955
956         # LDAP attribute to use as the user's email address.
957         #
958         # Important: This must not be an attribute whose value can be
959         # edited in the directory by the users themselves. Otherwise,
960         # users can take over other users' Arvados accounts trivially
961         # (email address is the primary key for Arvados accounts.)
962         EmailAttribute: mail
963
964         # LDAP attribute to use as the preferred Arvados username. If
965         # no value is found (or this config is empty) the username
966         # originally supplied by the user will be used.
967         UsernameAttribute: uid
968
969       Test:
970         # Authenticate users listed here in the config file. This
971         # feature is intended to be used in test environments, and
972         # should not be used in production.
973         Enable: false
974         Users:
975           SAMPLE:
976             Email: alice@example.com
977             Password: xyzzy
978
979       # The cluster ID to delegate the user database.  When set,
980       # logins on this cluster will be redirected to the login cluster
981       # (login cluster must appear in RemoteClusters with Proxy: true)
982       LoginCluster: ""
983
984       # How long a cached token belonging to a remote cluster will
985       # remain valid before it needs to be revalidated.
986       RemoteTokenRefresh: 5m
987
988       # How long a client token created from a login flow will be valid without
989       # asking the user to re-login. Example values: 60m, 8h.
990       # Default value zero means tokens don't have expiration.
991       TokenLifetime: 0s
992
993       # If true (default) tokens issued through login are allowed to create
994       # new tokens.
995       # If false, tokens issued through login are not allowed to
996       # viewing/creating other tokens.  New tokens can only be created
997       # by going through login again.
998       IssueTrustedTokens: true
999
1000       # Origins (scheme://host[:port]) of clients trusted to receive
1001       # new tokens via login process.  The ExternalURLs of the local
1002       # Workbench1 and Workbench2 are trusted implicitly and do not
1003       # need to be listed here.  If this is a LoginCluster, you
1004       # probably want to include the other Workbench instances in the
1005       # federation in this list.
1006       #
1007       # A wildcard like "https://*.example" will match client URLs
1008       # like "https://a.example" and "https://a.b.c.example".
1009       #
1010       # Example:
1011       #
1012       # TrustedClients:
1013       #   "https://workbench.other-cluster.example": {}
1014       #   "https://workbench2.other-cluster.example": {}
1015       TrustedClients:
1016         SAMPLE: {}
1017
1018       # Treat any origin whose host part is "localhost" or a private
1019       # IP address (e.g., http://10.0.0.123:3000/) as if it were
1020       # listed in TrustedClients.
1021       #
1022       # Intended only for test/development use. Not appropriate for
1023       # production use.
1024       TrustPrivateNetworks: false
1025
1026     Git:
1027       # Path to git or gitolite-shell executable. Each authenticated
1028       # request will execute this program with the single argument "http-backend"
1029       GitCommand: /usr/bin/git
1030
1031       # Path to Gitolite's home directory. If a non-empty path is given,
1032       # the CGI environment will be set up to support the use of
1033       # gitolite-shell as a GitCommand: for example, if GitoliteHome is
1034       # "/gh", then the CGI environment will have GITOLITE_HTTP_HOME=/gh,
1035       # PATH=$PATH:/gh/bin, and GL_BYPASS_ACCESS_CHECKS=1.
1036       GitoliteHome: ""
1037
1038       # Git repositories must be readable by api server, or you won't be
1039       # able to submit crunch jobs. To pass the test suites, put a clone
1040       # of the arvados tree in {git_repositories_dir}/arvados.git or
1041       # {git_repositories_dir}/arvados/.git
1042       Repositories: /var/lib/arvados/git/repositories
1043
1044     TLS:
1045       # Use "file:///var/lib/acme/live/example.com/cert" and
1046       # ".../privkey" to load externally managed certificates.
1047       Certificate: ""
1048       Key: ""
1049
1050       # Accept invalid certificates when connecting to servers. Never
1051       # use this in production.
1052       Insecure: false
1053
1054       ACME:
1055         # Obtain certificates automatically for ExternalURL domains
1056         # using an ACME server and http-01 validation.
1057         #
1058         # To use Let's Encrypt, specify "LE".  To use the Let's
1059         # Encrypt staging environment, specify "LE-staging".  To use a
1060         # different ACME server, specify the full directory URL
1061         # ("https://...").
1062         #
1063         # Note: this feature is not yet implemented in released
1064         # versions, only in the alpha/prerelease arvados-server-easy
1065         # package.
1066         #
1067         # Implies agreement with the server's terms of service.
1068         Server: ""
1069
1070     Containers:
1071       # List of supported Docker Registry image formats that compute nodes
1072       # are able to use. `arv keep docker` will error out if a user tries
1073       # to store an image with an unsupported format. Use an empty array
1074       # to skip the compatibility check (and display a warning message to
1075       # that effect).
1076       #
1077       # Example for sites running docker < 1.10: {"v1": {}}
1078       # Example for sites running docker >= 1.10: {"v2": {}}
1079       # Example for disabling check: {}
1080       SupportedDockerImageFormats:
1081         "v2": {}
1082         SAMPLE: {}
1083
1084       # Include details about job reuse decisions in the server log. This
1085       # causes additional database queries to run, so it should not be
1086       # enabled unless you expect to examine the resulting logs for
1087       # troubleshooting purposes.
1088       LogReuseDecisions: false
1089
1090       # Default value for keep_cache_ram of a container's
1091       # runtime_constraints.  Note: this gets added to the RAM request
1092       # used to allocate a VM or submit an HPC job.
1093       #
1094       # If this is zero, container requests that don't specify RAM or
1095       # disk cache size will use a disk cache, sized to the
1096       # container's RAM requirement (but with minimum 2 GiB and
1097       # maximum 32 GiB).
1098       #
1099       # Note: If you change this value, containers that used the previous
1100       # default value will only be reused by container requests that
1101       # explicitly specify the previous value in their keep_cache_ram
1102       # runtime constraint.
1103       DefaultKeepCacheRAM: 0
1104
1105       # Number of times a container can be unlocked before being
1106       # automatically cancelled.
1107       MaxDispatchAttempts: 10
1108
1109       # Default value for container_count_max for container requests.  This is the
1110       # number of times Arvados will create a new container to satisfy a container
1111       # request.  If a container is cancelled it will retry a new container if
1112       # container_count < container_count_max on any container requests associated
1113       # with the cancelled container.
1114       MaxRetryAttempts: 3
1115
1116       # Schedule all child containers on preemptible instances (e.g. AWS
1117       # Spot Instances) even if not requested by the submitter.
1118       #
1119       # If false, containers are scheduled on preemptible instances
1120       # only when requested by the submitter.
1121       #
1122       # This flag is ignored if no preemptible instance types are
1123       # configured, and has no effect on top-level containers.
1124       AlwaysUsePreemptibleInstances: false
1125
1126       # Automatically add a preemptible variant for every
1127       # non-preemptible entry in InstanceTypes below. The maximum bid
1128       # price for the preemptible variant will be the non-preemptible
1129       # price multiplied by PreemptiblePriceFactor. If 0, preemptible
1130       # variants are not added automatically.
1131       #
1132       # A price factor of 1.0 is a reasonable starting point.
1133       PreemptiblePriceFactor: 0
1134
1135       # When the lowest-priced instance type for a given container is
1136       # not available, try other instance types, up to the indicated
1137       # maximum price factor.
1138       #
1139       # For example, with AvailabilityPriceFactor 1.5, if the
1140       # lowest-cost instance type A suitable for a given container
1141       # costs $2/h, Arvados may run the container on any instance type
1142       # B costing $3/h or less when instance type A is not available
1143       # or an idle instance of type B is already running.
1144       MaximumPriceFactor: 1.5
1145
1146       # PEM encoded SSH key (RSA, DSA, or ECDSA) used by the
1147       # cloud dispatcher for executing containers on worker VMs.
1148       # Begins with "-----BEGIN RSA PRIVATE KEY-----\n"
1149       # and ends with "\n-----END RSA PRIVATE KEY-----\n".
1150       #
1151       # Use "file:///absolute/path/to/key" to load the key from a
1152       # separate file instead of embedding it in the configuration
1153       # file.
1154       DispatchPrivateKey: ""
1155
1156       # Maximum time to wait for workers to come up before abandoning
1157       # stale locks from a previous dispatch process.
1158       StaleLockTimeout: 1m
1159
1160       # The crunch-run command used to start a container on a worker node.
1161       #
1162       # When dispatching to cloud VMs, this is used only if
1163       # DeployRunnerBinary in the CloudVMs section is set to the empty
1164       # string.
1165       CrunchRunCommand: "crunch-run"
1166
1167       # Extra arguments to add to crunch-run invocation
1168       # Example: ["--cgroup-parent-subsystem=memory"]
1169       CrunchRunArgumentsList: []
1170
1171       # Extra RAM to reserve on the node, in addition to
1172       # the amount specified in the container's RuntimeConstraints
1173       ReserveExtraRAM: 550MiB
1174
1175       # Minimum time between two attempts to run the same container
1176       MinRetryPeriod: 0s
1177
1178       # Container runtime: "docker" (default) or "singularity"
1179       RuntimeEngine: docker
1180
1181       # When running a container, run a dedicated keepstore process,
1182       # using the specified number of 64 MiB memory buffers per
1183       # allocated CPU core (VCPUs in the container's runtime
1184       # constraints). The dedicated keepstore handles I/O for
1185       # collections mounted in the container, as well as saving
1186       # container logs.
1187       #
1188       # A zero value disables this feature.
1189       #
1190       # In order for this feature to be activated, no volume may use
1191       # AccessViaHosts, and no writable volume may have Replication
1192       # lower than Collections.DefaultReplication. If these
1193       # requirements are not satisfied, the feature is disabled
1194       # automatically regardless of the value given here.
1195       #
1196       # When an HPC dispatcher is in use (see SLURM and LSF sections),
1197       # this feature depends on the operator to ensure an up-to-date
1198       # cluster configuration file (/etc/arvados/config.yml) is
1199       # available on all compute nodes. If it is missing or not
1200       # readable by the crunch-run user, the feature will be disabled
1201       # automatically. To read it from a different location, add a
1202       # "-config=/path/to/config.yml" argument to
1203       # CrunchRunArgumentsList above.
1204       #
1205       # When the cloud dispatcher is in use (see CloudVMs section) and
1206       # this configuration is enabled, the entire cluster
1207       # configuration file, including the system root token, is copied
1208       # to the worker node and held in memory for the duration of the
1209       # container.
1210       LocalKeepBlobBuffersPerVCPU: 1
1211
1212       # When running a dedicated keepstore process for a container
1213       # (see LocalKeepBlobBuffersPerVCPU), write keepstore log
1214       # messages to keepstore.txt in the container's log collection.
1215       #
1216       # These log messages can reveal some volume configuration
1217       # details, error messages from the cloud storage provider, etc.,
1218       # which are not otherwise visible to users.
1219       #
1220       # Accepted values:
1221       # * "none" -- no keepstore.txt file
1222       # * "all" -- all logs, including request and response lines
1223       # * "errors" -- all logs except "response" logs with 2xx
1224       #   response codes and "request" logs
1225       LocalKeepLogsToContainerLog: none
1226
1227       Logging:
1228         # Periodically (see SweepInterval) Arvados will check for
1229         # containers that have been finished for at least this long,
1230         # and delete their stdout, stderr, arv-mount, crunch-run, and
1231         # crunchstat logs from the logs table.
1232         MaxAge: 720h
1233
1234         # How often to delete cached log entries for finished
1235         # containers (see MaxAge).
1236         SweepInterval: 12h
1237
1238         # These two settings control how frequently log events are flushed to the
1239         # database.  Log lines are buffered until either crunch_log_bytes_per_event
1240         # has been reached or crunch_log_seconds_between_events has elapsed since
1241         # the last flush.
1242         LogBytesPerEvent: 4096
1243         LogSecondsBetweenEvents: 5s
1244
1245         # The sample period for throttling logs.
1246         LogThrottlePeriod: 60s
1247
1248         # Maximum number of bytes that job can log over crunch_log_throttle_period
1249         # before being silenced until the end of the period.
1250         LogThrottleBytes: 65536
1251
1252         # Maximum number of lines that job can log over crunch_log_throttle_period
1253         # before being silenced until the end of the period.
1254         LogThrottleLines: 1024
1255
1256         # Maximum bytes that may be logged as legacy log events
1257         # (records posted to the "logs" table). Starting with Arvados
1258         # 2.7, container live logging has migrated to a new system
1259         # (polling the container request live log endpoint) and this
1260         # value should be 0.  As of this writing, the container will
1261         # still create a single log on the API server, noting for that
1262         # log events are throttled.
1263         LimitLogBytesPerJob: 0
1264
1265         LogPartialLineThrottlePeriod: 5s
1266
1267         # Container logs are written to Keep and saved in a
1268         # collection, which is updated periodically while the
1269         # container runs.  This value sets the interval between
1270         # collection updates.
1271         LogUpdatePeriod: 30m
1272
1273         # The log collection is also updated when the specified amount of
1274         # log data (given in bytes) is produced in less than one update
1275         # period.
1276         LogUpdateSize: 32MiB
1277
1278       ShellAccess:
1279         # An admin user can use "arvados-client shell" to start an
1280         # interactive shell (with any user ID) in any running
1281         # container.
1282         Admin: false
1283
1284         # Any user can use "arvados-client shell" to start an
1285         # interactive shell (with any user ID) in any running
1286         # container that they started, provided it isn't also
1287         # associated with a different user's container request.
1288         #
1289         # Interactive sessions make it easy to alter the container's
1290         # runtime environment in ways that aren't recorded or
1291         # reproducible. Consider the implications for automatic
1292         # container reuse before enabling and using this feature. In
1293         # particular, note that starting an interactive session does
1294         # not disqualify a container from being reused by a different
1295         # user/workflow in the future.
1296         User: false
1297
1298       SLURM:
1299         PrioritySpread: 0
1300         SbatchArgumentsList: []
1301         SbatchEnvironmentVariables:
1302           SAMPLE: ""
1303         Managed:
1304           # Path to dns server configuration directory
1305           # (e.g. /etc/unbound.d/conf.d). If false, do not write any config
1306           # files or touch restart.txt (see below).
1307           DNSServerConfDir: ""
1308
1309           # Template file for the dns server host snippets. See
1310           # unbound.template in this directory for an example. If false, do
1311           # not write any config files.
1312           DNSServerConfTemplate: ""
1313
1314           # String to write to {dns_server_conf_dir}/restart.txt (with a
1315           # trailing newline) after updating local data. If false, do not
1316           # open or write the restart.txt file.
1317           DNSServerReloadCommand: ""
1318
1319           # Command to run after each DNS update. Template variables will be
1320           # substituted; see the "unbound" example below. If false, do not run
1321           # a command.
1322           DNSServerUpdateCommand: ""
1323
1324           ComputeNodeDomain: ""
1325           ComputeNodeNameservers:
1326             "192.168.1.1": {}
1327             SAMPLE: {}
1328
1329           # Hostname to assign to a compute node when it sends a "ping" and the
1330           # hostname in its Node record is nil.
1331           # During bootstrapping, the "ping" script is expected to notice the
1332           # hostname given in the ping response, and update its unix hostname
1333           # accordingly.
1334           # If false, leave the hostname alone (this is appropriate if your compute
1335           # nodes' hostnames are already assigned by some other mechanism).
1336           #
1337           # One way or another, the hostnames of your node records should agree
1338           # with your DNS records and your /etc/slurm-llnl/slurm.conf files.
1339           #
1340           # Example for compute0000, compute0001, ....:
1341           # assign_node_hostname: compute%<slot_number>04d
1342           # (See http://ruby-doc.org/core-2.2.2/Kernel.html#method-i-format for more.)
1343           AssignNodeHostname: "compute%<slot_number>d"
1344
1345       LSF:
1346         # Arguments to bsub when submitting Arvados containers as LSF jobs.
1347         #
1348         # Template variables starting with % will be substituted as follows:
1349         #
1350         # %U uuid
1351         # %C number of VCPUs
1352         # %M memory in MB
1353         # %T tmp in MB
1354         # %G number of GPU devices (runtime_constraints.cuda.device_count)
1355         #
1356         # Use %% to express a literal %. The %%J in the default will be changed
1357         # to %J, which is interpreted by bsub itself.
1358         #
1359         # Note that the default arguments cause LSF to write two files
1360         # in /tmp on the compute node each time an Arvados container
1361         # runs. Ensure you have something in place to delete old files
1362         # from /tmp, or adjust the "-o" and "-e" arguments accordingly.
1363         BsubArgumentsList: ["-o", "/tmp/crunch-run.%%J.out", "-e", "/tmp/crunch-run.%%J.err", "-J", "%U", "-n", "%C", "-D", "%MMB", "-R", "rusage[mem=%MMB:tmp=%TMB] span[hosts=1]", "-R", "select[mem>=%MMB]", "-R", "select[tmp>=%TMB]", "-R", "select[ncpus>=%C]"]
1364
1365         # Arguments that will be appended to the bsub command line
1366         # when submitting Arvados containers as LSF jobs with
1367         # runtime_constraints.cuda.device_count > 0
1368         BsubCUDAArguments: ["-gpu", "num=%G"]
1369
1370         # Use sudo to switch to this user account when submitting LSF
1371         # jobs.
1372         #
1373         # This account must exist on the hosts where LSF jobs run
1374         # ("execution hosts"), as well as on the host where the
1375         # Arvados LSF dispatcher runs ("submission host").
1376         BsubSudoUser: "crunch"
1377
1378       JobsAPI:
1379         # Enable the legacy 'jobs' API (crunch v1).  This value must be a string.
1380         #
1381         # Note: this only enables read-only access, creating new
1382         # legacy jobs and pipelines is not supported.
1383         #
1384         # 'auto' -- (default) enable the Jobs API only if it has been used before
1385         #         (i.e., there are job records in the database)
1386         # 'true' -- enable the Jobs API despite lack of existing records.
1387         # 'false' -- disable the Jobs API despite presence of existing records.
1388         Enable: 'auto'
1389
1390         # Git repositories must be readable by api server, or you won't be
1391         # able to submit crunch jobs. To pass the test suites, put a clone
1392         # of the arvados tree in {git_repositories_dir}/arvados.git or
1393         # {git_repositories_dir}/arvados/.git
1394         GitInternalDir: /var/lib/arvados/internal.git
1395
1396       CloudVMs:
1397         # Enable the cloud scheduler.
1398         Enable: false
1399
1400         # Name/number of port where workers' SSH services listen.
1401         SSHPort: "22"
1402
1403         # Interval between queue polls.
1404         PollInterval: 10s
1405
1406         # Shell command to execute on each worker to determine whether
1407         # the worker is booted and ready to run containers. It should
1408         # exit zero if the worker is ready.
1409         BootProbeCommand: "systemctl is-system-running"
1410
1411         # Minimum interval between consecutive probes to a single
1412         # worker.
1413         ProbeInterval: 10s
1414
1415         # Maximum probes per second, across all workers in a pool.
1416         MaxProbesPerSecond: 10
1417
1418         # Time before repeating SIGTERM when killing a container.
1419         TimeoutSignal: 5s
1420
1421         # Time to give up on a process (most likely arv-mount) that
1422         # still holds a container lockfile after its main supervisor
1423         # process has exited, and declare the instance broken.
1424         TimeoutStaleRunLock: 5s
1425
1426         # Time to give up on SIGTERM and write off the worker.
1427         TimeoutTERM: 2m
1428
1429         # Maximum create/destroy-instance operations per second (0 =
1430         # unlimited).
1431         MaxCloudOpsPerSecond: 10
1432
1433         # Maximum concurrent instance creation operations (0 = unlimited).
1434         #
1435         # MaxConcurrentInstanceCreateOps limits the number of instance creation
1436         # requests that can be in flight at any one time, whereas
1437         # MaxCloudOpsPerSecond limits the number of create/destroy operations
1438         # that can be started per second.
1439         #
1440         # Because the API for instance creation on Azure is synchronous, it is
1441         # recommended to increase MaxConcurrentInstanceCreateOps when running
1442         # on Azure. When using managed images, a value of 20 would be
1443         # appropriate. When using Azure Shared Image Galeries, it could be set
1444         # higher. For more information, see
1445         # https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image
1446         #
1447         # MaxConcurrentInstanceCreateOps can be increased for other cloud
1448         # providers too, if desired.
1449         MaxConcurrentInstanceCreateOps: 1
1450
1451         # The maximum number of instances to run at a time, or 0 for
1452         # unlimited.
1453         #
1454         # If more instances than this are already running and busy
1455         # when the dispatcher starts up, the running containers will
1456         # be allowed to finish before the excess instances are shut
1457         # down.
1458         MaxInstances: 64
1459
1460         # The minimum number of instances expected to be runnable
1461         # without reaching a provider-imposed quota.
1462         #
1463         # This is used as the initial value for the dispatcher's
1464         # dynamic instance limit, which increases (up to MaxInstances)
1465         # as containers start up successfully and decreases in
1466         # response to high API load and cloud quota errors.
1467         #
1468         # Setting this to 0 means the dynamic instance limit will
1469         # start at MaxInstances.
1470         #
1471         # Situations where you may want to set this (to a value less
1472         # than MaxInstances) would be when there is significant
1473         # variability or uncertainty in the actual cloud resources
1474         # available.  Upon reaching InitialQuotaEstimate the
1475         # dispatcher will switch to a more conservative behavior with
1476         # slower instance start to avoid over-shooting cloud resource
1477         # limits.
1478         InitialQuotaEstimate: 0
1479
1480         # Maximum fraction of available instance capacity allowed to
1481         # run "supervisor" containers at any given time. A supervisor
1482         # is a container whose purpose is mainly to submit and manage
1483         # other containers, such as arvados-cwl-runner workflow
1484         # runner.
1485         #
1486         # If there is a hard limit on the amount of concurrent
1487         # containers that the cluster can run, it is important to
1488         # avoid crowding out the containers doing useful work with
1489         # containers who just create more work.
1490         #
1491         # For example, with the default MaxInstances of 64, it will
1492         # schedule at most floor(64*0.50) = 32 concurrent workflow
1493         # runners, ensuring 32 slots are available for work.
1494         SupervisorFraction: 0.50
1495
1496         # Interval between cloud provider syncs/updates ("list all
1497         # instances").
1498         SyncInterval: 1m
1499
1500         # Time to leave an idle worker running (in case new containers
1501         # appear in the queue that it can run) before shutting it
1502         # down.
1503         TimeoutIdle: 1m
1504
1505         # Time to wait for a new worker to boot (i.e., pass
1506         # BootProbeCommand) before giving up and shutting it down.
1507         TimeoutBooting: 10m
1508
1509         # Maximum time a worker can stay alive with no successful
1510         # probes before being automatically shut down.
1511         TimeoutProbe: 10m
1512
1513         # Time after shutting down a worker to retry the
1514         # shutdown/destroy operation.
1515         TimeoutShutdown: 10s
1516
1517         # Worker VM image ID.
1518         # (aws) AMI identifier
1519         # (azure) managed disks: the name of the managed disk image
1520         # (azure) shared image gallery: the name of the image definition. Also
1521         # see the SharedImageGalleryName and SharedImageGalleryImageVersion fields.
1522         # (azure) unmanaged disks (deprecated): the complete URI of the VHD, e.g.
1523         # https://xxxxx.blob.core.windows.net/system/Microsoft.Compute/Images/images/xxxxx.vhd
1524         ImageID: ""
1525
1526         # Shell script to run on new instances using the cloud
1527         # provider's UserData (EC2) or CustomData (Azure) feature.
1528         #
1529         # It is not necessary to include a #!/bin/sh line.
1530         InstanceInitCommand: ""
1531
1532         # An executable file (located on the dispatcher host) to be
1533         # copied to cloud instances at runtime and used as the
1534         # container runner/supervisor. The default value is the
1535         # dispatcher program itself.
1536         #
1537         # Use the empty string to disable this step: nothing will be
1538         # copied, and cloud instances are assumed to have a suitable
1539         # version of crunch-run installed; see CrunchRunCommand above.
1540         DeployRunnerBinary: "/proc/self/exe"
1541
1542         # Install the Dispatcher's SSH public key (derived from
1543         # DispatchPrivateKey) when creating new cloud
1544         # instances. Change this to false if you are using a different
1545         # mechanism to pre-install the public key on new instances.
1546         DeployPublicKey: true
1547
1548         # Tags to add on all resources (VMs, NICs, disks) created by
1549         # the container dispatcher. (Arvados's own tags --
1550         # InstanceType, IdleBehavior, and InstanceSecret -- will also
1551         # be added.)
1552         ResourceTags:
1553           SAMPLE: "tag value"
1554
1555         # Prefix for predefined tags used by Arvados (InstanceSetID,
1556         # InstanceType, InstanceSecret, IdleBehavior). With the
1557         # default value "Arvados", tags are "ArvadosInstanceSetID",
1558         # "ArvadosInstanceSecret", etc.
1559         #
1560         # This should only be changed while no cloud resources are in
1561         # use and the cloud dispatcher is not running. Otherwise,
1562         # VMs/resources that were added using the old tag prefix will
1563         # need to be detected and cleaned up manually.
1564         TagKeyPrefix: Arvados
1565
1566         # Cloud driver: "azure" (Microsoft Azure), "ec2" (Amazon AWS),
1567         # or "loopback" (run containers on dispatch host for testing
1568         # purposes).
1569         Driver: ec2
1570
1571         # Cloud-specific driver parameters.
1572         DriverParameters:
1573
1574           # (ec2) Credentials. Omit or leave blank if using IAM role.
1575           AccessKeyID: ""
1576           SecretAccessKey: ""
1577
1578           # (ec2) Instance configuration.
1579
1580           # (ec2) Region, like "us-east-1".
1581           Region: ""
1582
1583           # (ec2) Security group IDs. Omit or use {} to use the
1584           # default security group.
1585           SecurityGroupIDs:
1586             "SAMPLE": {}
1587
1588           # (ec2) One or more subnet IDs. Omit or leave empty to let
1589           # AWS choose a default subnet from your default VPC. If
1590           # multiple subnets are configured here (enclosed in brackets
1591           # like [subnet-abc123, subnet-def456]) the cloud dispatcher
1592           # will detect subnet-related errors and retry using a
1593           # different subnet. Most sites specify one subnet.
1594           SubnetID: ""
1595
1596           EBSVolumeType: gp2
1597           AdminUsername: debian
1598           # (ec2) name of the IAMInstanceProfile for instances started by
1599           # the cloud dispatcher. Leave blank when not needed.
1600           IAMInstanceProfile: ""
1601
1602           # (ec2) how often to look up spot instance pricing data
1603           # (only while running spot instances) for the purpose of
1604           # calculating container cost estimates. A value of 0
1605           # disables spot price lookups entirely.
1606           SpotPriceUpdateInterval: 24h
1607
1608           # (ec2) per-GiB-month cost of EBS volumes. Matches
1609           # EBSVolumeType. Used to account for AddedScratch when
1610           # calculating container cost estimates. Note that
1611           # https://aws.amazon.com/ebs/pricing/ defines GB to mean
1612           # GiB, so an advertised price $0.10/GB indicates a real
1613           # price of $0.10/GiB and can be entered here as 0.10.
1614           EBSPrice: 0.10
1615
1616           # (azure) Credentials.
1617           SubscriptionID: ""
1618           ClientID: ""
1619           ClientSecret: ""
1620           TenantID: ""
1621
1622           # (azure) Instance configuration.
1623           CloudEnvironment: AzurePublicCloud
1624           Location: centralus
1625
1626           # (azure) The resource group where the VM and virtual NIC will be
1627           # created.
1628           ResourceGroup: ""
1629
1630           # (azure) The resource group of the Network to use for the virtual
1631           # NIC (if different from ResourceGroup)
1632           NetworkResourceGroup: ""
1633           Network: ""
1634           Subnet: ""
1635
1636           # (azure) managed disks: The resource group where the managed disk
1637           # image can be found (if different from ResourceGroup).
1638           ImageResourceGroup: ""
1639
1640           # (azure) shared image gallery: the name of the gallery
1641           SharedImageGalleryName: ""
1642           # (azure) shared image gallery: the version of the image definition
1643           SharedImageGalleryImageVersion: ""
1644
1645           # (azure) unmanaged disks (deprecated): Where to store the VM VHD blobs
1646           StorageAccount: ""
1647           BlobContainer: ""
1648
1649           # (azure) How long to wait before deleting VHD and NIC
1650           # objects that are no longer being used.
1651           DeleteDanglingResourcesAfter: 20s
1652
1653           # Account (that already exists in the VM image) that will be
1654           # set up with an ssh authorized key to allow the compute
1655           # dispatcher to connect.
1656           AdminUsername: arvados
1657
1658     InstanceTypes:
1659
1660       # Use the instance type name as the key (in place of "SAMPLE" in
1661       # this sample entry).
1662       SAMPLE:
1663         # Cloud provider's instance type. Defaults to the configured type name.
1664         ProviderType: ""
1665         VCPUs: 1
1666         RAM: 128MiB
1667         IncludedScratch: 16GB
1668         AddedScratch: 0
1669         # Hourly price ($), used to select node types for containers,
1670         # and to calculate estimated container costs. For spot
1671         # instances on EC2, this is also used as the maximum price
1672         # when launching spot instances, while the estimated container
1673         # cost is computed based on the current spot price according
1674         # to AWS. On Azure, and on-demand instances on EC2, the price
1675         # given here is used to compute container cost estimates.
1676         Price: 0.1
1677         Preemptible: false
1678         # Include this section if the node type includes GPU (CUDA) support
1679         CUDA:
1680           DriverVersion: "11.0"
1681           HardwareCapability: "9.0"
1682           DeviceCount: 1
1683
1684     StorageClasses:
1685
1686       # If you use multiple storage classes, specify them here, using
1687       # the storage class name as the key (in place of "SAMPLE" in
1688       # this sample entry).
1689       #
1690       # Further info/examples:
1691       # https://doc.arvados.org/admin/storage-classes.html
1692       SAMPLE:
1693
1694         # Priority determines the order volumes should be searched
1695         # when reading data, in cases where a keepstore server has
1696         # access to multiple volumes with different storage classes.
1697         Priority: 0
1698
1699         # Default determines which storage class(es) should be used
1700         # when a user/client writes data or saves a new collection
1701         # without specifying storage classes.
1702         #
1703         # If any StorageClasses are configured, at least one of them
1704         # must have Default: true.
1705         Default: true
1706
1707     Volumes:
1708       SAMPLE:
1709         # AccessViaHosts specifies which keepstore processes can read
1710         # and write data on the volume.
1711         #
1712         # For a local filesystem, AccessViaHosts has one entry,
1713         # indicating which server the filesystem is located on.
1714         #
1715         # For a network-attached backend accessible by all keepstore
1716         # servers, like a cloud storage bucket or an NFS mount,
1717         # AccessViaHosts can be empty/omitted.
1718         #
1719         # Further info/examples:
1720         # https://doc.arvados.org/install/configure-fs-storage.html
1721         # https://doc.arvados.org/install/configure-s3-object-storage.html
1722         # https://doc.arvados.org/install/configure-azure-blob-storage.html
1723         AccessViaHosts:
1724           SAMPLE:
1725             ReadOnly: false
1726           "http://host1.example:25107": {}
1727         ReadOnly: false
1728         # AllowTrashWhenReadOnly enables unused and overreplicated
1729         # blocks to be trashed/deleted even when ReadOnly is
1730         # true. Normally, this is false and ReadOnly prevents all
1731         # trash/delete operations as well as writes.
1732         AllowTrashWhenReadOnly: false
1733         Replication: 1
1734         StorageClasses:
1735           # If you have configured storage classes (see StorageClasses
1736           # section above), add an entry here for each storage class
1737           # satisfied by this volume.
1738           SAMPLE: true
1739         Driver: S3
1740         DriverParameters:
1741           # for s3 driver -- see
1742           # https://doc.arvados.org/install/configure-s3-object-storage.html
1743           IAMRole: aaaaa
1744           AccessKeyID: aaaaa
1745           SecretAccessKey: aaaaa
1746           Endpoint: ""
1747           Region: us-east-1
1748           Bucket: aaaaa
1749           LocationConstraint: false
1750           V2Signature: false
1751           IndexPageSize: 1000
1752           ConnectTimeout: 1m
1753           ReadTimeout: 10m
1754           RaceWindow: 24h
1755           PrefixLength: 0
1756
1757           # For S3 driver, potentially unsafe tuning parameter,
1758           # intentionally excluded from main documentation.
1759           #
1760           # Enable deletion (garbage collection) even when the
1761           # configured BlobTrashLifetime is zero.  WARNING: eventual
1762           # consistency may result in race conditions that can cause
1763           # data loss.  Do not enable this unless you understand and
1764           # accept the risk.
1765           UnsafeDelete: false
1766
1767           # for azure driver -- see
1768           # https://doc.arvados.org/install/configure-azure-blob-storage.html
1769           StorageAccountName: aaaaa
1770           StorageAccountKey: aaaaa
1771           StorageBaseURL: core.windows.net
1772           ContainerName: aaaaa
1773           RequestTimeout: 30s
1774           ListBlobsRetryDelay: 10s
1775           ListBlobsMaxAttempts: 10
1776           MaxGetBytes: 0
1777           WriteRaceInterval: 15s
1778           WriteRacePollTime: 1s
1779
1780           # for local directory driver -- see
1781           # https://doc.arvados.org/install/configure-fs-storage.html
1782           Root: /var/lib/arvados/keep-data
1783
1784           # For local directory driver, potentially confusing tuning
1785           # parameter, intentionally excluded from main documentation.
1786           #
1787           # When true, read and write operations (for whole 64MiB
1788           # blocks) on an individual volume will queued and issued
1789           # serially.  When false, read and write operations will be
1790           # issued concurrently.
1791           #
1792           # May possibly improve throughput if you have physical spinning disks
1793           # and experience contention when there are multiple requests
1794           # to the same volume.
1795           #
1796           # Otherwise, when using SSDs, RAID, or a shared network filesystem, you
1797           # should leave this alone.
1798           Serialize: false
1799
1800     Mail:
1801       MailchimpAPIKey: ""
1802       MailchimpListID: ""
1803       SendUserSetupNotificationEmail: true
1804
1805       # Bug/issue report notification to and from addresses
1806       IssueReporterEmailFrom: "arvados@example.com"
1807       IssueReporterEmailTo: "arvados@example.com"
1808       SupportEmailAddress: "arvados@example.com"
1809
1810       # Generic issue email from
1811       EmailFrom: "arvados@example.com"
1812     RemoteClusters:
1813       "*":
1814         Host: ""
1815         Proxy: false
1816         Scheme: https
1817         Insecure: false
1818         ActivateUsers: false
1819       SAMPLE:
1820         # API endpoint host or host:port; default is {id}.arvadosapi.com
1821         Host: sample.arvadosapi.com
1822
1823         # Perform a proxy request when a local client requests an
1824         # object belonging to this remote.
1825         Proxy: false
1826
1827         # Default "https". Can be set to "http" for testing.
1828         Scheme: https
1829
1830         # Disable TLS verify. Can be set to true for testing.
1831         Insecure: false
1832
1833         # When users present tokens issued by this remote cluster, and
1834         # their accounts are active on the remote cluster, activate
1835         # them on this cluster too.
1836         ActivateUsers: false
1837
1838     Workbench:
1839       # Workbench1 configs
1840       Theme: default
1841       ActivationContactLink: mailto:info@arvados.org
1842       ArvadosDocsite: https://doc.arvados.org
1843       ArvadosPublicDataDocURL: https://playground.arvados.org/projects/public
1844       ShowUserAgreementInline: false
1845
1846       # Set this configuration to true to avoid providing an easy way for users
1847       # to share data with unauthenticated users; this may be necessary on
1848       # installations where strict data access controls are needed.
1849       DisableSharingURLsUI: false
1850
1851       # Below is a sample setting of user_profile_form_fields config parameter.
1852       # This configuration parameter should be set to either false (to disable) or
1853       # to a map as shown below.
1854       # Configure the map of input fields to be displayed in the profile page
1855       # using the attribute "key" for each of the input fields.
1856       # This sample shows configuration with one required and one optional form fields.
1857       # For each of these input fields:
1858       #   You can specify "Type" as "text" or "select".
1859       #   List the "Options" to be displayed for each of the "select" menu.
1860       #   Set "Required" as "true" for any of these fields to make them required.
1861       # If any of the required fields are missing in the user's profile, the user will be
1862       # redirected to the profile page before they can access any Workbench features.
1863       UserProfileFormFields:
1864         SAMPLE:
1865           Type: select
1866           FormFieldTitle: Best color
1867           FormFieldDescription: your favorite color
1868           Required: false
1869           Position: 1
1870           Options:
1871             red: {}
1872             blue: {}
1873             green: {}
1874             SAMPLE: {}
1875
1876         # exampleTextValue:  # key that will be set in properties
1877         #   Type: text  #
1878         #   FormFieldTitle: ""
1879         #   FormFieldDescription: ""
1880         #   Required: true
1881         #   Position: 1
1882         # exampleOptionsValue:
1883         #   Type: select
1884         #   FormFieldTitle: ""
1885         #   FormFieldDescription: ""
1886         #   Required: true
1887         #   Position: 1
1888         #   Options:
1889         #     red: {}
1890         #     blue: {}
1891         #     yellow: {}
1892
1893       # Use "UserProfileFormMessage to configure the message you want
1894       # to display on the profile page.
1895       UserProfileFormMessage: 'Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.'
1896
1897       SiteName: Arvados Workbench
1898
1899       # Workbench2 configs
1900       FileViewersConfigURL: ""
1901
1902       # Idle time after which the user's session will be auto closed.
1903       # This feature is disabled when set to zero.
1904       IdleTimeout: 0s
1905
1906       # UUID of a collection.  This collection should be shared with
1907       # all users.  Workbench will look for a file "banner.html" in
1908       # this collection and display its contents (should be
1909       # HTML-formatted text) when users first log in to Workbench.
1910       BannerUUID: ""
1911
1912       # Workbench welcome screen, this is HTML text that will be
1913       # incorporated directly onto the page.
1914       WelcomePageHTML: |
1915         <img src="/arvados-logo-big.png" style="width: 20%; float: right; padding: 1em;" />
1916         <h2>Please log in.</h2>
1917
1918         <p>If you have never used Arvados Workbench before, logging in
1919         for the first time will automatically create a new
1920         account.</p>
1921
1922         <i>Arvados Workbench uses your information only for
1923         identification, and does not retrieve any other personal
1924         information.</i>
1925
1926       # Workbench screen displayed to inactive users.  This is HTML
1927       # text that will be incorporated directly onto the page.
1928       InactivePageHTML: |
1929         <img src="/arvados-logo-big.png" style="width: 20%; float: right; padding: 1em;" />
1930         <h3>Hi! You're logged in, but...</h3>
1931         <p>Your account is inactive.</p>
1932         <p>An administrator must activate your account before you can get
1933         any further.</p>
1934
1935       # Connecting to Arvados shell VMs tends to be site-specific.
1936       # Put any special instructions here. This is HTML text that will
1937       # be incorporated directly onto the Workbench page.
1938       SSHHelpPageHTML: |
1939         <a href="https://doc.arvados.org/user/getting_started/ssh-access-unix.html">Accessing an Arvados VM with SSH</a> (generic instructions).
1940         Site configurations vary.  Contact your local cluster administrator if you have difficulty accessing an Arvados shell node.
1941
1942       # Sample text if you are using a "switchyard" ssh proxy.
1943       # Replace "zzzzz" with your Cluster ID.
1944       #SSHHelpPageHTML: |
1945       # <p>Add a section like this to your SSH configuration file ( <i>~/.ssh/config</i>):</p>
1946       # <pre>Host *.zzzzz
1947       #  TCPKeepAlive yes
1948       #  ServerAliveInterval 60
1949       #  ProxyCommand ssh -p2222 turnout@switchyard.zzzzz.arvadosapi.com -x -a $SSH_PROXY_FLAGS %h
1950       # </pre>
1951
1952       # If you are using a switchyard ssh proxy, shell node hostnames
1953       # may require a special hostname suffix.  In the sample ssh
1954       # configuration above, this would be ".zzzzz"
1955       # This is added to the hostname in the "command line" column
1956       # the Workbench "shell VMs" page.
1957       #
1958       # If your shell nodes are directly accessible by users without a
1959       # proxy and have fully qualified host names, you should leave
1960       # this blank.
1961       SSHHelpHostSuffix: ""
1962
1963 # (Experimental) Restart services automatically when config file
1964 # changes are detected. Only supported by `arvados-server boot` in
1965 # dev/test mode.
1966 AutoReloadConfig: false