forked from projectvacuum/vcycle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.vcycle.conf
73 lines (58 loc) · 2.61 KB
/
example.vcycle.conf
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
#
# Example /etc/vcycle.conf file for Vcycle
#
# See http://www.gridpp.ac.uk/vcycle/ and the Vcycle Admin Guide in
# /var/lib/vcycle/doc/ for more about Vcycle and how to use this file.
#
# [email protected] April 2015
#
[space vcycle01.example.com]
# Name of this vcycle space. Should be a DNS-like name, and will be needed to
# when referring to this vac space as a virtual CE in other systems.
# Selects the OpenStack plugin
api = openstack
# The KeyStone endpoint for the OpenStack service.
url = https://openstack.example.com/
# Your tenancy/project and account details
tenancy_name = Vcycle 01
username = example
password = ExAMplE
[machinetype vcycle01.example.com example]
# The name of the machinetype within the space, consisting only of lowercase
# letters, numbers, and hyphens.
# The name of a flavor previously defined in the IaaS system which represents
# a particular CPU, memory, and disk geometry.
flavor_name = small
# Timings, see vcycle.conf(5)
backoff_seconds=600
fizzle_seconds=600
max_wallclock_seconds=86400
# An optional X.509 DN which will be used by the vcycle-cgi script on the
# Vcycle httpd server to control writing to the joboutputs directories
# of each VM. If this option is not given, then the heartbeat mechanism and
# joboutputs logs cannot be used.
x509dn = /DC=com/DC=example/DC=example-vm
# This ssh key will be enabled in authorized_keys inside the VMs so you can
# get in as root with ssh.
root_public_key = /root/.ssh/id_rsa.pub
# Only one VM type defined so this value doesn't matter. If more than one
# machinetype section exists then the shares will be normalized to total 100%
# by Vcycle anyway.
target_share = 1.0
# Copy the contents of $JOBOUTPUTS to subdirectories
# of /var/lib/vcycle/joboutputs/ when the VM finishes.
log_joboutputs=True
# Vcycle will download and install images for you. Alternatively, you can
# do this yourself with your own choice of images if the experiment asks
# you. You can get CERNVM images from http://cernvm.cern.ch/portal/downloads
# The same images can be used for Vac or Vcycle.
root_image = https://www.gridpp.ac.uk/vac/example/cernvm3.iso
# The user_data file contextualizes the VM and tells it what to do
# The same file can be used for Vac or Vcycle.
user_data = https://www.gridpp.ac.uk/vac/example/user_data
# The value of this option is included in the user_data file given to the
# VM. It must be set to the URL of an HTTP cache you have access to. If
# you are already using cvmfs for grid worker nodes, you can use the same
# value. See vcycle.conf(5) for more about substitutions.
#
user_data_option_cvmfs_proxy = http://squid-cache.example.com:3128