TWiki> LCG Web>WebPreferences>VCycleEGI (revision 1)EditAttachPDF

VCycle on EGI


Create/Use a machine with a recent version of SL6 and where you have root access. Create a host certificate for this machine and ensure that both the hostkey.pem and hostcert.pem are available in /etc/grid-security. Communicate the DN to the VO if it is required to be known to the experiment framework in order to run the pilot job or job wrapper.


wget -O /etc/yum.repos.d/rocci-cli.repo
yum localinstall python-novaclient-2012.1-1.el6.noarch.rpm 
yum install -y rpm-build git httpd mod_ssl python-novaclient occi-cli  ca-policy-egi-core voms-clients

git clone
cd vcycle; make rpm; cd ..
yum localinstall /root/vcycle/trunk/RPMTMP/RPMS/noarch/vcycle-0.3.0-1.noarch.rpm


Add each tennat to /etc/vcycle.conf.

[tenancy xyz]
tenancy_name = egi
url = https://host-invalid:8787/
proxy = /tmp/x509up_u0
max_machines = 16
type = occi 
[vmtype xyz queue]
ce_name =
max_machines = 16
backoff_seconds = 600
fizzle_seconds = 400
max_wallclock_seconds = 14400
image_name = 1b06a044-024d-43ce-97df-8fb14d1fea6c
flavor_name = small-1core3gb50gb
x509dn = /DC=ch/DC=cern/OU=computers/CN=host-invalid
heartbeat_file = vm-heartbeat
heartbeat_seconds = 14400 
network = /network/public

The DN is the DN of the host certificate. The proxy should be the user proxy of a user from the VO who is able to start VMs on the EGI Federated Cloud. The site specific peramters can be found in the EGI APP DB.

Create the userdata file for the site and place it in /var/lib/vcycle/user_data with the naming convention xzy:queue

###Copy the vcycle-httpd.conf file (in the git directory) to "/etc/httpd/conf/httpd.conf"####

service httpd restart

service vcycle restart

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2014-12-16 - LaurenceField
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback